BackgroundThe relationship between type 2 diabetes mellitus (T2DM) and osteoporosis (OP) has been widely recognized in recent years, but the mechanism of interaction remains unknown. The aim of this study was to investigate the genetic features and signaling pathways that are shared between T2DM and OP.MethodsWe analyzed the GSE76894 and GSE76895 datasets for T2DM and GSE56815 and GSE7429 for OP from the Gene Expression Omnibus (GEO) database to identify shared genes in T2DM and OP, and we constructed coexpression networks based on weighted gene coexpression network analysis (WGCNA). Shared genes were then further analyzed for functional pathway enrichment. We selected the best common biomarkers using the least absolute shrinkage and selection operator (LASSO) algorithm and validated the common biomarkers, followed by RT-PCR, immunofluorescence, Western blotting, and enzyme-linked immunosorbent assay (ELISA) to validate the expression of these hub genes in T2DM and OP mouse models and patients.ResultsWe found 8,506 and 2,030 DEGs in T2DM and OP, respectively. Four modules were identified as significant for T2DM and OP using WGCNA. A total of 19 genes overlapped with the strongest positive and negative modules of T2DM and OP. Kyoto Encyclopedia of Genes and Genomes (KEGG) analysis showed these genes may be involved in pantothenate and CoA biosynthesis and the glycosaminoglycan biosynthesis-chondroitin sulfate/dermatan sulfate and renin-angiotensin system signaling pathway. The LASSO algorithm calculates the six optimal common biomarkers. RT-PCR results show that LTB, TPBG, and VNN1 were upregulated in T2DM and OP. Immunofluorescence and Western blot show that VNN1 is upregulated in the pancreas and bones of T2DM model mice and osteoporosis model mice. Similarly, the level of VNN1 in the sera of patients with T2DM, OP, and T2DM and OP was higher than that in the healthy group.ConclusionBased on the WGCNA and LASSO algorithms, we identified genes and pathways that were shared between T2DM and OP. Both pantothenate and CoA biosynthesis and the glycosaminoglycan biosynthesis-chondroitin sulfate/dermatan sulfate and renin–angiotensin systems may be associated with the pathogenesis of T2DM and OP. Moreover, VNN1 may be a potential diagnostic marker for patients with T2DM complicated by OP. This study provides a new perspective for the systematic study of possible mechanisms of combined OP and T2DM.