The aetiology of bone metastasis in prostate cancer (PCa) remains unclear. This study aims to identify hub genes involved in this process. We utilized machine learning, GO, KEGG, GSEA, Single‐cell analysis, ROC methods to identify hub genes for bone metastasis in PCa using the TCGA and GEO databases. Potential drugs targeting these genes were identified. We validated these results using 16 specimens from patients with PCa and analysed the relationship between the hub genes and clinical features. The impact of APOC1 on PCa was assessed through in vitro experiments. Seven hub genes with AUC values of 0.727–0.926 were identified. APOC1, CFH, NUSAP1 and LGALS1 were highly expressed in bone metastasis tissues, while NR4A2, ADRB2 and ZNF331 exhibited an opposite trend. Immunohistochemistry further confirmed these results. The oxidative phosphorylation pathway was significantly enriched by the identified genes. Aflatoxin B1, benzo(a)pyrene, cyclosporine were identified as potential drugs. APOC1 expression was correlated with clinical features of PCa metastasis. Silencing APOC1 significantly inhibited PCa cell proliferation, clonality, and migration in vitro. This study identified 7 hub genes that potentially facilitate bone metastasis in PCa through mitochondrial metabolic reprogramming. APOC1 emerged as a promising therapeutic target and prognostic marker for PCa with bone metastasis.