It is well known that dermal papilla cells (DPCs) are crucial for hair follicle growth and regeneration. However, dermal papilla cells in 2D culture could lose their ability of regeneration after several passage intervals. As opposed to DPCs in 2D culture, the DPCs in 3D culture could passage extensively. However, the molecular mechanisms of DPCs’ regeneration in 3D culture remain unclear. Accordingly, gene sequencing is recommended for the investigation of hair regeneration between 2D and 3D culture, the three groups were established including DPCs in passage 2 in 2D culture, DPCs in passage 8 in 2D culture and DPCs in passage 8 in 3D culture. The differentially expressed genes (DEGs) were identified using the Venn diagram of these three groups, which included 1642 known and 359 novel genes, respectively. A total of 1642 known genes were used for Gene Ontology (GO), Kyoto Gene, Genomic Encyclopedia (KEGG) pathway enrichment and protein‐protein interaction (PPI) analyses, respectively. The functions and pathways of DEGs were enriched in biological regulation, signal transduction and immune system, etc. The key module and the top 10 hub genes (IL1B, CXCL12, HGF, EGFR, APP, CCL2, PTGS2, MMP9, NGF and SPP1) were also identified using the Cytoscape application. Furthermore, the qRT‐PCR results of the three groups validated that the hub genes were crucial for hair growth. In conclusion, the ten identified hub genes and related pathways in the current study can be used to understand the molecular mechanism of hair growth, and those provided a possibility for hair regeneration.