Despite enormous progress in modern medicine, prostate cancer (PCa) remains a major public health problem due to its high incidence and mortality. Although studies have shown in vitro antitumor effects of cucurbitacins from Cucumis sativus, the in vivo anticancer effect of the seed oil as a whole, has yet to be demonstrated. The present study evaluated the in vitro anticancer mechanisms of C. sativus (CS) seed oil and its possible chemopreventive potential on benzo(a)pyrene (BaP)‐induced PCa in Wistar rat. In vitro cell growth, clone formation, cell death mechanism, cell adhesion and migration as well as expression of integrins β‐1 and β‐4 were assessed. In vivo PCa was induced in 56 male rats versus 8 normal control rats, randomized in normal (NOR) and negative (BaP) control groups which, received distilled water; the positive control group (Caso) was treated with casodex (13.5 mg/kg BW). One group received the total seed extract at the dose of 500 mg/kg BW; while the remaining three groups were treated with CS seed oil at 42.5, 85, and 170 mg/kg BW. The endpoints were: morphologically (prostate tumor weight and volume), biochemically (total protein, prostate specific antigen (PSA), oxidative stress markers such as MDA, GSH, catalase, and SOD) and histologically. As results, CS seed oil significantly and concentration‐dependently reduced the DU145 prostate cancer cell growth and clone formation (optimum = 100 μg/mL). It slightly increased the number of apoptotic cells and inhibited the migration and invasion of DU145 cells, while it decreased their adhesion to immobilized collagen and fibrinogen. The expression of integrin β‐1 and β‐4 was increased in presence of 100 μg/mL CS oil. In vivo, the BaP significantly elevated the incidence of PC tumors (75%), the total protein and PSA levels, pro‐inflammatory cytokines (TNF‐α, IL‐1, and IL‐6) and MDA levels compared to NOR. CS seeds oil significantly counteracted the effect of BaP by decreasing significantly the PC incidence (12.5%), and increasing the level of antioxidant (SOD, GSH, and catalase) and anti‐inflammatory cytokine IL‐10 in serum. While in BaP group PCa adenocarninoma was the most representative neoplasm, rats treated with 85 and 170 mg/kg prevented it in the light of the casodex. It is conclude that CS may provide tumor suppressive effects in vitro and in vivo which makes it an interesting candidate to support the current treatment protocol.