Hub gene and TNF signaling pathway are helpful to elucidate the molecular mechanism of the bidirectional relationship between periodontitis and diabetes. Here, TNF is linked to diabetes mellitus.