We compared methane (CH4) and carbon dioxide (CO2) fluxes in samples collected from the aboveground parts of wood ant nests and in the organic and mineral layer of the surrounding forest floor. Gas fluxes were measured during a laboratory incubation, and microbial properties (abundance of fungi, bacteria and methanotrophic bacteria) and nutrient contents (total and available carbon and nitrogen) were also determined. Both CO2 and CH4 were produced from ant nest samples, indicating that the aboveground parts of wood ant nests act as sources of both gases; in comparison, the forest floor produced about four times less CO2 and consumed rather than produced CH4. Fluxes of CH4 and CO2 were positively correlated with contents of available carbon and nitrogen. The methanotrophic community was represented by type II methanotrophic bacteria, but their abundance did not explain CH4 flux. Fungal abundance was greater in ant nest samples than in forest floor samples, but bacterial abundance was similar in both kinds of samples, suggesting that the organic materials in the nests may have been too recalcitrant for bacteria to decompose. The results indicate that the aboveground parts of wood ant nests are hot spots of CO2 and CH4 production in the forest floor.