Climate warming and summer droughts alter soil microbial activity, affecting greenhouse gas (GHG) emissions in Arctic and alpine regions. However, the long-term effects of warming, and implications for future microbial resilience, are poorly understood. Using one alpine and three Arctic soils subjected to in situ long-term experimental warming, we simulated drought in laboratory incubations to test how microbial functional-gene abundance affects fluxes in three GHGs: carbon dioxide, methane, and nitrous oxide. We found that responses of functional gene abundances to drought and warming are strongly associated with vegetation type and soil carbon. Our sites ranged from a wet, forb dominated, soil carbon-rich systems to a drier, soil carbon-poor alpine site. Resilience of functional gene abundances, and in turn methane and carbon dioxide fluxes, was lower in the wetter, carbon-rich systems. However, we did not detect an effect of drought or warming on nitrous oxide fluxes. All gene–GHG relationships were modified by vegetation type, with stronger effects being observed in wetter, forb-rich soils. These results suggest that impacts of warming and drought on GHG emissions are linked to a complex set of microbial gene abundances and may be habitat-specific.