Therefore, our data suggest that SNPs across DEFB1 may be associated with individual variation in DEFB1 levels and variation in host–microbiome interaction, which could result in altered KYN biosynthesis and MDD symptom severity. Here, DEFB1 is linked to major depressive disorder.