ABSTRACT: Anaerobic gut fungi (Neocallimastigomycetes) live in the digestive tract of large herbivores, where they are vastly outnumbered by bacteria. It has been suggested that anaerobic fungi challenge growth of bacteria owing to the wealth of biosynthetic genes in fungal genomes, although this relationship has not been experimentally tested. Here, we cocultivated the rumen bacteria Fibrobacter succinogenes strain UWB7 with the anaerobic gut fungi Anaeromyces robustus or Caecomyces churrovis on a range of carbon substrates and quantified the bacterial and fungal transcriptomic response. Synthetic cocultures were established for at least 24 h, as verified by active fungal and bacterial transcription. A. robustus upregulated components of its secondary metabolism in the presence of Fibrobacter succinogenes strain UWB7, including six nonribosomal peptide synthetases, one polyketide synthase-like enzyme, and five polyketide synthesis O-type methyltransferases. Both A. robustus and C. churrovis cocultures upregulated S-adenosyl-l-methionine (SAM)-dependent methyltransferases, histone methyltransferases, and an acetyltransferase. Fungal histone 3 lysine 27 trimethylation marks were more abundant in coculture, and heterochromatin protein-1 was downregulated. Together, these findings suggest that fungal chromatin remodeling occurs when bacteria are present. F. succinogenes strain UWB7 upregulated four genes in coculture encoding drug efflux pumps, which likely protect the cell against toxins. Furthermore, untargeted nonpolar metabolomics data revealed at least one novel fungal metabolite enriched in coculture, which may be a defense compound. Taken together, these data suggest that A. robustus and C. churrovis produce antimicrobials when exposed to rumen bacteria and, more broadly, that anaerobic gut fungi are a source of novel antibiotics. IMPORTANCE Anaerobic fungi are outnumbered by bacteria by 4 orders of magnitude in the herbivore rumen. Despite their numerical disadvantage, they are resilient members of the rumen microbiome. Previous studies mining the genomes of anaerobic fungi identified genes encoding enzymes to produce natural products, which are small molecules that are often antimicrobials. In this work, we cocultured the anaerobic fungus Anaeromyces robustus or Caecomyes churrovis with rumen bacteria Fibrobacter succinogenes strain UWB7 and sequenced fungal and bacterial active genes via transcriptome sequencing (RNA-seq). Consistent with production of a fungal defense compound, bacteria upregulated genes encoding drug efflux pumps, which often export toxic molecules, and fungi upregulated genes encoding biosynthetic enzymes of natural products. Furthermore, tandem mass spectrometry detected an unknown fungal metabolite enriched in the coculture. Together, these findings point to an antagonistic relationship between anaerobic fungi and rumen bacteria resulting in the production of a fungal compound with potential antimicrobial activity.