Ice-free areas are expanding on the Tibetan Plateau and in its surroundings, and these recently exposed lands are typically deficient in nitrogen (N). Free-living N fixation (FLNF) represents a vital source of N input, especially when symbiotic N-fixing plants are absent. However, we know little about how FLNF changes with ecosystem succession after glacier retreat. In 2018, we measured the potential rates of FLNF in soil profiles at four sites (exposed since 2012, 1980, 1970 and 1930, respectively) along the Hailuogou glacier chronosequence and at a reference site with well-developed Podosols. We also tested the role of nifH gene abundance and resource availability in regulating FLNF rates. The results showed that photosynthetic cyanobacteria likely contributed the majority of FLNF in the biological soil crusts (exposed since 2012), while heterotrophic FLNF may prevail at later successional stages with closed canopies. FLNF rates were the highest in the litter layer of the soil profiles and decreased with soil depth. In the litter layer, FLNF rates were lower at the site dominated by N-fixing shrubs (exposed since 1980) than at the older sites dominated by non-N-fixing trees (exposed since 1970 and 1930, and the reference site). Carbon (C) availability was the major factor explaining variation in heterotrophic FLNF rates measured in the lab without light, while the effect of nifH gene abundance was nonsignificant. Overall, our results highlighted the energetic control on heterotrophic FLNF rates in relatively young ecosystems, which likely resulted in the poor relationship between nifH gene abundance and heterotrophic FLNF rates. The findings will help in understanding and modeling the coupled C and N cycles in glacier forefield ecosystems which are being exposed at accelerated rates.