Hub gene and TNF signaling pathway are helpful to elucidate the molecular mechanism of the bidirectional relationship between periodontitis and diabetes. This evidence concerns the gene TNF and periodontitis.