In our study, patients with DP or DNP showed correlations between butyrate metabolism-related metabolites and periodontal clinical index (BI, PD, AL), Th17%, Treg/Th17 ratio, CD4+ PDL1%, and CD8+ PD1%, indicative of the relationship between the severity and immunological state of periodontitis. This evidence concerns the gene CD4 and periodontitis.