The concentration of major odor-causing compounds including phenols, indoles, short-chain fatty acids (SCFAs) and branched chain fatty acids (BCFAs) in response to the addition of powdered horse radish (PHR) and spent mushroom compost (SMC) was compared with control nontreated slurry (CNS) samples. A total of 97,465 rDNAs sequence reads were generated from three different samples (CNS, n = 2; PHR, n = 3; SMC, n = 3) using bar-coded pyrosequencing. The number of operational taxonomic units (OTUs) was lower in the PHR slurry compared with the other samples. A total of 11 phyla were observed in the slurry samples, while the phylogenetic analysis revealed that the slurry microbiome predominantly comprised members of the Bacteroidetes, Firmicutes, and Proteobacteria phyla. The rarefaction analysis showed the bacterial species richness varied among the treated samples. Overall, at the OTU level, 2,558 individual genera were classified, 276 genera were found among the three samples, and 1,832 additional genera were identified in the individual samples. A principal component analysis revealed the differences in microbial communities among the CNS, PHR, and SMC pig slurries. Correlation of the bacterial community structure with the Kyoto Encyclopedia of Genes and Genomes (KEGG) predicted pathways showed that the treatments altered the metabolic capabilities of the slurry microbiota. Overall, these results demonstrated that the PHR and SMC treatments significantly reduced the malodor compounds in pig slurry (P < 0.05).