Litter decomposition determines carbon (C) backflow to the atmosphere and ecosystem nutrient cycling. Although sunlight provides the indispensable energy for terrestrial biogeochemical processes, the role of photodegradation in decomposition has been relatively neglected in productive mesic ecosystems. To quantify the effects of this variation, we conducted a factorial experiment in the understorey of a temperate deciduous forest and an adjacent gap, using spectral-attenuation-filter treatments. Exposure to the full spectrum of sunlight increased decay rates by nearly 120% and the effect of blue light contributed 75% of this increase. Scaled-up to the whole forest ecosystem, this translates to 13% loss of leaf-litter C through photodegradation over the year of our study for a scenario of 20% gap. Irrespective of the spectral composition, herbaceous and shrub litter lost mass faster than tree litter, with photodegradation contributing the most to surface litter decomposition in forest canopy gaps. Across species, the initial litter lignin and polyphenolic contents predicted photodegradation by blue light and UV-B radiation, respectively. We concluded that photodegradation, modulated by litter quality, is an important driver of decomposition, not just in arid areas, but also in mesic ecosystems such as temperate deciduous forests following gap opening.