This study examined the spatial and temporal variability of soil N2O and CH4 fluxes along a degradation gradient in a palm swamp peat forest in the Peruvian Amazon. The researchers measured fluxes monthly for 3 years at intact, medium degradation, and high degradation sites. At the microscale, N2O and CH4 fluxes varied between hummocks and hollows and between live and cut palm trees depending on the degradation level. At the macroscale, annual N2O fluxes were similar across sites but annual CH4 fluxes increased with precipitation. Water table level, temperature, and soil nitrification rates influenced the fluxes. While degradation altered microscale emissions, site-scale emissions were homogeneous. Climate change may increase CH4