The objective of this research was to use a network toxicology approach to examine the possible toxicity of the cigarette toxicants nicotine and coal tar that cause osteoporosis (OP) as well as its molecular processes. We determined the primary chemical structures and 128 targets of action of tar and nicotine using the Swiss Target Prediction, NP-MRD, and PubChem databases. We discovered that genes including DNAJB1, CCDC8, LINC00888, ATP6V1G1, MPV17L2, PPCS, and TACC1 had a disease prognostic guiding value by LASSO analysis and differential analysis of GEO microarray data. We created 52 disease-causing genes by crossing the primary cigarette targets with the OP targets. Twenty key targets were identified through additional screening and Cytoscape development. The core targets of the cigarette toxins nicotine and coal tar that cause OP are primarily enriched in the G protein-coupled opioid receptor signaling pathway in response to nicotine, the G protein-coupled receptor signaling pathway coupled to the cyclic nucleotide second messenger, and the response to acetylcholine Related Processes, according to Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG). The KEGG signaling pathway also made it clear that calcium ions, a significant factor in OP, are also engaged in OP. They are also involved in mitochondrial regulation, osteoblast apoptosis, and other activities. The calcium signaling pathway and osteoclast differentiation ultimately led us to identify 35 genes of IL1B, TNF-α, GRM5, HTR2A, and ITGB that affect OP. Molecular docking revealed a strong affinity between nicotine and coal tar and key targets. In conclusion, the current study showed that nicotine, coal tar, regulates calcium signaling and osteoclast development implicated in bone loss while causing osteoblast imbalance through nicotinic acetylcholine receptor and androgen receptor. The current study provides a theoretical framework for investigating the molecular mechanisms behind OP caused by cigarettes.