Patients with Crohn's disease (CD) have higher incidences of oral diseases such as dental caries and periodontitis than healthy people. Studies indicate that the interaction between gut and oral microbiota is an important factor. To compare the composition and diversity of the oral microbiome in periodontitis and CD-associated periodontitis, subgingival plaque and saliva samples from patients with these diseases were collected for 16S rRNA gene sequencing analyses. In CD-associated periodontitis, the subgingival plaque had greater microbial diversity than saliva. Subgingival plaque had decreased abundances of Firmicutes, Streptococcus, and Haemophilus and increased abundances of Bacteroidetes, Actinomyces, Treponema_2, Capnocytophaga, and Porphyromonas relative to saliva. The microbial composition in subgingival plaque was similar between the two diseases. Both red complex (Porphyromonas, Tannerella, and Treponema) and orange complex (Fusobacteria) bacteria were abundant in periodontitis subgingival plaque, while orange complex bacteria (Prevotella_2 and Prevotella) were abundant in CD-associated periodontitis subgingival plaque. Pocket depth was significantly positively correlated with multiple periodontal pathogens, including Porphyromonas, Tannerella, and Treponema. This study reveals the similarities and differences in the oral microbiome between periodontitis and CD-associated periodontitis, which provides a foundation to further explore the associations between CD and periodontitis.