The drying‐rewetting of soil can increase the release of greenhouse gases over a short time period and is one of the key pathways for greenhouse gas emissions in many terrestrial ecosystems, particularly in drylands. The mechanisms underlying this pulse of greenhouse gas emissions remain nearly unknown. Here, we conducted simulated soil rewetting experiments using typical cover of dryland soils (bareland, cyanobacteria/lichen‐covered soil, and moss‐covered soil). The <jats:sup>13</jats:sup>C, <jats:sup>15</jats:sup>N, and <jats:sup>18</jats:sup>O labeling techniques allowed to explore the intrinsic mechanisms of rapid carbon (C) and nitrogen (N) release from the soils following rewetting. We found that the hydroxyl radical (˙OH) was produced after soil rewetting via the rapid activation of microorganisms. The carbon dioxide (CO<jats:sub>2</jats:sub>) and nitrous oxide (N<jats:sub>2</jats:sub>O) production strongly decreased after ˙OH removal, whereas the methane (CH<jats:sub>4</jats:sub>) production was not affected. The synergistic action between ˙OH oxidation and microbial enzymatic reactions increased CO<jats:sub>2</jats:sub> production. The ˙OH also stimulated the oxidation of NH<jats:sub>4</jats:sub><jats:sup>+</jats:sup> to NO<jats:sub>3</jats:sub><jats:sup>−</jats:sup> and dominated the N<jats:sub>2</jats:sub>O production. Our results confirm the role of ˙OH in the production of greenhouse gases and indicate that microbially mediated ˙OH oxidation mechanisms are an overlooked key pathway for the emission of greenhouse gases during the soil rewetting. In the context of climate change, the extreme weather‐induced drying‐rewetting cycles in soils are becoming more frequent, making greenhouse gas emissions via the ˙OH oxidation pathway increasingly important.