Diabetic nephropathy (DN) and obesity bring a huge burden to society. Obesity plays a crucial role in the progression of type 2 DN, but the pathophysiology remains unclear. Thus, we aimed the explore the association between type 2 DN and obesity using bioinformatics method. The gene expression profiles of type 2 DN (GSE96804) and obesity (GSE94752) were downloaded from the Gene Expression Omnibus (GEO) database. The differentially expressed genes (DEGs) were screened with the thresholds defined as |log2FC| ≥1 and P<0.05. Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) enrichment analyses were performed. Subsequently, a protein-protein interaction network was constructed based on the STRING database. Hub genes were identified, and the co-expression network was constructed. Finally, the hub genes were verified in clinical samples of 24 patients by immunohistochemistry. A total of 17 common DEGs were identified. Finally, two overlapping hub genes were identified (CCL18, C1QC). C1QC has been verified in clinical specimens. Using bioinformatics methods, the present study analyzed the common DEGs and the potential pathogenic mechanisms involved in type 2 DN and obesity. C1QC was the hub gene. Further studies are needed to clarify the specific relationships among C1QC, type 2 DN and obesity.