Primary osteoporosis is an age-related disease, and the main cause of this disease is the failure of bone homeostasis. Previous studies have shown that primary osteoporosis is associated with gene mutations. To explore the functional modules of the PPI (protein-protein interaction) network of differentially expressed genes (DEGs), and the related pathways participating in primary osteoporosis. The gene expression profile of primary osteoporosis GSE35956 was downloaded from the GEO (Gene Expression Omnibus) database and included five MSC (mesenchymal stem cell) specimens of normal osseous tissue and five MSC specimens of osteoporosis. The DEGs between the two types of MSC specimens were identified by the samr package in R language. In addition, the functions and pathways of DEGs were enriched. Then the DEGs were mapped to String to acquire PPI pairs and the PPI network was constructed with by these PPI pairs. Topological properties of the network were calculated by Network Analyzer, and modules in the network were screened by Cluster ONE software. Subsequently, the fronting five modules whose P-value was less than 1.0e-05 were identified and function analysis was conducted. A total of 797 genes were filtered as DEGs from these ten specimens of GSE35956 with 660 up-regulated genes and 137 down-regulated genes. Meanwhile, up-regulated DEGs were mainly enriched in functions and pathways related to cell cycle and DNA replication. Furthermore, there were 4,135 PPI pairs and 377 nodes in the PPI network. Four modules were enriched in different pathways, including cell cycle and DNA replication pathway in module 2. In this paper, we explored the genes and pathways involved in primary osteoporosis based on gene expression profiles, and the present findings have the potential to be used clinically for the future treatment of primary osteoporosis.