Abstract. Streams are important sources of carbon to the atmosphere, though whether they merely outgas terrestrially derived 10 carbon dioxide or mineralize terrestrial inputs of dissolved organic matter (DOM) is still a big challenge in ecology. The objective of this study was to investigate the influence of riparian groundwater (GW) and in-stream processes on the temporal pattern of stream DOM concentrations and quality in a forested headwater stream, and whether this influence differed between the leaf litter fall period (LLF) and the remaining part of the year (no-LLF). The spectroscopic indexes (fluorescence index, biological index, humification index, and PARAFAC components) indicated that DOM had an eminently protein-like character 15 and was most likely originated from microbial sources and recent biological activity in both stream water and riparian GW.However, paired samples of stream water and riparian GW showed that dissolved organic carbon (DOC) and nitrogen (DON) concentrations as well as the spectroscopic character of DOM differed between the two compartments throughout the year. A simple mass balance approach indicated that in-stream processes along the reach contributed to reduce DOC and DON fluxes by 50% and 30%, respectively. Further, in-stream DOC and DON uptake were unrelated to each other, suggesting that these 20 two compounds underwent different biogeochemical pathways. During the LLF period, stream DOC and DOC:DON ratios were higher than during the no-LLF period, and spectroscopic indexes suggested a major influence of terrestrial vegetation on stream DOM. Our study highlights that stream DOM is not merely a reflex of riparian GW entering the stream and that headwater streams have the capacity to internally produce, transform, and consume DOM.