G protein-coupled bile acid receptor 1 (GPBAR1) is a G protein-coupled receptor for bile acids, which is widely expressed in many human tissues. Patchouli alcohol (PA) has been shown to have an anti-cancer effect, including in prostate cancer (PCa). This study sought to confirm the regulatory mechanism of GPBAR1 in the anti-cancer activity of PA in PCa. The SwissTargetPrediction website (Pro >0) was used to predict the target of PA. The UALCAN and The Cancer Genome Atlas-Prostate cohort was used to examine the differentially expressed genes and PCa recurrence. A gene set enrichment analysis (GSEA) was conducted to analyze the relationship between the expression of GPBAR1 and PCa proliferation, migration, and invasion. Cell proliferation, migration, and invasion were assessed by colony formation, 5-Ethynyl-2'-deoxyuridine staining, cellscratch assays, and Transwell invasion assays, respectively. A xenograft animal model was established to assess the effect of PA on tumor growth in vivo. GPBAR1 protein and apoptosis related protein expression was measured by western blot. GPBAR1 was a PA target predicted by the SwissTargetPrediction website. PA inhibited the expression of GPBAR1 in PCa cells in a time- and dose-dependent manner. The abnormal expression of GPBAR1 was related to cell proliferation, migration, and invasion. Additionally, GPBAR1 overexpression promoted the cell proliferation, migration, and invasion, and inhibited the apoptosis of PCa cells. GPBAR1 silencing inhibited the cell proliferation, migration, and invasion, and promoted the apoptosis of PCa cells. High expressions of GPBAR1 suppressed tumor growth in tumor-bearing mice. Further, GPBAR1 promoted the activation of nuclear factor kappa B (NF-κB) signaling, and PA regulated the malignant phenotypes of PCa cells via the NF-κB signaling pathway mediated by GPBAR1. GPBAR1 is a promising drug target of PA, and was shown to regulate the proliferation, apoptosis, migration, and invasion of PCa cells through GPBAR1/NF-κB inhibition.