Although the effects of fertilization on the abundance and diversity of soil nematodes have been widely studied, the impact of fertilization on soil nematode microbiomes remains largely unknown. Here, we investigated how different fertilizers: no fertilizer, mineral fertilizer, clean slurry (pig manure with a reduced antibiotic burden) and dirty slurry (pig manure with antibiotics) affect the microbiome of a dominant soil nematode and its associated antibiotic resistance genes (ARGs). The results of 16S rRNA gene high throughput sequencing showed that the microbiome of the soil nematode Dorylaimus stagnalis is diverse (Shannon index: 9.95) and dominated by Proteobacteria (40.3%). Application of mineral fertilizers significantly reduced the diversity of the nematode microbiome (by 28.2%; P < 0.05) but increased the abundance of Proteobacteria (by 70.1%; P = 0.001). Microbial community analysis, using a null hypothesis model, indicated that microbiomes associated with the nematode are not neutrally assembled. Organic fertilizers also altered the diversity of the nematode microbiome, but had no impact on its composition as illustrated by principal coordinates analysis (PCoA). Interestingly, although no change of total ARGs was observed in the nematode microbiome and no significant relationship existed between nematode microbiome and resistome, the abundance of 48 out of a total of 75 ARGs was enriched in the organic fertilizer treatments. Thus, the data suggests that ARGs in the nematode microbiome still had a risk of horizontal gene transfer under fertilization and nematodes might be a potential refuge for ARGs.