What Foods Prevent Cancer and Which to Avoid

No single food can guarantee you won’t get cancer, but decades of research show that certain dietary patterns genuinely lower the risk. The strongest evidence points to a plant-heavy diet rich in fiber, colorful vegetables, and whole grains. The World Cancer Research Fund, after reviewing the global evidence, boils its dietary advice down to a simple directive: eat mostly wholegrains, vegetables, fruit, and beans, while limiting processed meat, fast food, sugary drinks, and alcohol.

What matters most is your overall eating pattern, not any one “superfood.” That said, specific foods stand out for the strength of evidence behind them.

Cruciferous Vegetables

Broccoli, cauliflower, kale, Brussels sprouts, and cabbage belong to the cruciferous family, and they contain a compound called sulforaphane that has been studied more extensively than almost any other plant chemical in cancer research. Sulforaphane works through several pathways at once. It stops cancer cells from dividing by halting their growth cycle. It triggers a self-destruct sequence in damaged cells. And it blocks the formation of new blood vessels that tumors need to grow and spread.

Beyond direct effects on cancer cells, sulforaphane activates a protective system in your body that ramps up the production of antioxidant and detoxification enzymes. These enzymes help neutralize carcinogens before they can damage your DNA. Sulforaphane also appears to reverse some of the chemical “switches” that silence tumor-suppressor genes in breast, prostate, and cervical cancer cells, essentially turning those protective genes back on.

Raw cruciferous vegetables contain more of the enzyme needed to produce sulforaphane, but lightly steaming them still preserves most of it. Chopping broccoli and letting it sit for a few minutes before cooking also helps maximize sulforaphane production.

High-Fiber Foods and Whole Grains

Fiber’s connection to colorectal cancer prevention is one of the most consistent findings in nutrition research. A large meta-analysis of prospective studies found that every 10 grams of daily fiber reduces colorectal cancer risk by 10%. Three daily servings of whole grains (about 90 grams) cut the risk by roughly 20%, with further reductions at higher intakes.

To put 10 grams in perspective, that’s about one cup of cooked lentils, a medium pear, or a bowl of oatmeal. Most adults eat well under the recommended 25 to 30 grams per day, so even modest increases make a measurable difference. Fiber works partly by speeding food through the colon, reducing the time carcinogens stay in contact with the intestinal lining. Gut bacteria also ferment fiber into short-chain fatty acids that nourish colon cells and reduce inflammation.

Good sources include beans, lentils, chickpeas, oats, barley, brown rice, whole wheat bread, raspberries, and pears.

Garlic, Onions, and Other Allium Vegetables

Garlic and onions have some of the strongest evidence for stomach cancer prevention. A meta-analysis of 21 studies found that people who ate the most allium vegetables (garlic, onions, leeks, shallots) had roughly half the risk of gastric cancer compared to those who ate the least. Even a modest increase of about 20 grams per day, roughly one garlic bulb, was associated with a 9% lower risk.

The evidence for colorectal cancer is more mixed. Prospective cohort studies haven’t consistently shown a benefit, but several case-control studies have. One Italian and Swiss study found that people eating seven or more servings of onion per week had a 56% lower risk of colorectal cancer compared to low consumers. High garlic use was linked to a 26% reduction. The organosulfur compounds in these vegetables appear to help the body deactivate carcinogens and slow the growth of abnormal cells.

Berries

Strawberries, raspberries, blackberries, and pomegranates are rich in ellagic acid, a compound that triggers cancer cell death through a specific mechanism: it shuts down a protein called NF-κB that cancer cells rely on to survive. When NF-κB is blocked, cancer cells lose a key survival signal. Their mitochondria become destabilized, and a cascade of enzymes breaks the cell apart from within. This has been demonstrated in pancreatic cancer cells, among others.

Berries also contain anthocyanins, the pigments responsible for their deep red, blue, and purple colors, which have antioxidant and anti-inflammatory properties. While more human studies are needed to quantify the exact risk reduction, the combination of compounds in berries makes them one of the more promising food groups in cancer prevention research. A cup of mixed berries daily is a reasonable target that fits easily into most diets.

Leafy Greens and Folate

Spinach, romaine lettuce, Swiss chard, and other dark leafy greens are among the richest sources of natural folate, a B vitamin that plays a direct role in keeping your DNA stable. Folate donates chemical building blocks your cells need to copy DNA accurately and repair damage. It also helps regulate DNA methylation, a process that controls which genes are turned on or off.

When folate levels are low, DNA synthesis becomes error-prone, repair mechanisms falter, and methylation patterns go haywire. All three of these disruptions accelerate the path from a normal cell to a cancerous one, particularly in the colon. Getting folate from food rather than supplements is important: the World Cancer Research Fund specifically recommends against using supplements for cancer prevention, and some research suggests that high-dose folic acid supplements may behave differently than the natural folate found in vegetables.

Tomatoes

Tomatoes are the primary dietary source of lycopene, the pigment that gives them their red color. Lycopene has been most closely studied in relation to prostate cancer. A dose-response meta-analysis of prospective cohort studies found a modest but statistically significant inverse association between dietary lycopene intake and prostate cancer risk.

Cooking tomatoes significantly increases the amount of lycopene your body can absorb. Tomato sauce, paste, and soup are all better sources than raw tomatoes. Adding a small amount of fat, like olive oil, further improves absorption because lycopene is fat-soluble. While the risk reduction per serving is small, tomatoes are easy to eat regularly, and they contribute other beneficial nutrients including vitamin C and potassium.

Soy Foods

Soy has a complicated reputation when it comes to cancer, largely because its isoflavones have a chemical structure loosely similar to estrogen. For years, breast cancer survivors were told to avoid soy. The evidence now tells a different story.

Fourteen randomized controlled trials found that soy isoflavones do not increase mammographic density, a key marker of breast cancer risk. Six additional trials found no effect on breast cell proliferation, even at doses well above typical Japanese intake. Among breast cancer survivors, epidemiological data suggests that soy consumption after diagnosis may actually reduce recurrence. A pooled analysis found that women consuming 10 or more milligrams of isoflavones daily had a lower recurrence rate than those consuming under 4 milligrams, and this held true for both Asian and non-Asian women. Among tamoxifen users, the highest soy consumers had a 37% lower recurrence risk. Observational data also show no evidence that soy interferes with endocrine therapy.

Whole soy foods like tofu, edamame, tempeh, and miso are the forms studied. Highly processed soy protein isolates and supplements are not the same thing and haven’t shown the same benefits.

Foods That Increase Cancer Risk

What you eat less of matters as much as what you eat more of. The International Agency for Research on Cancer classifies processed meat as a Group 1 carcinogen, the same category as tobacco smoke, based on sufficient evidence that it causes colorectal cancer. Each 50-gram daily portion of processed meat, roughly two slices of bacon or one hot dog, increases colorectal cancer risk by 18%.

Red meat is classified one step lower, as “probably carcinogenic,” with the strongest links to colorectal, pancreatic, and prostate cancers. The WCRF recommends limiting red meat to no more than about three portions per week and eating very little, if any, processed meat.

Alcohol increases the risk of at least six cancers including breast, liver, and colorectal cancer, and there is no safe threshold for cancer prevention. Sugary drinks and calorie-dense fast foods contribute indirectly by promoting weight gain, and excess body fat is itself a risk factor for at least 12 types of cancer.

Putting It All Together

The pattern that emerges from the research is consistent: a diet built around vegetables, fruits, whole grains, and legumes lowers cancer risk through dozens of overlapping mechanisms. These foods supply fiber, folate, antioxidants, and bioactive compounds that protect DNA, reduce inflammation, and help your body eliminate carcinogens. No single food does all of this on its own, which is exactly why variety matters.

A practical plate for cancer prevention looks like two-thirds plant foods and one-third (or less) animal protein. Aim for at least 30 grams of fiber daily from whole food sources. Eat cruciferous vegetables several times a week. Use garlic and onions as your base for cooking. Keep berries in rotation as snacks or breakfast additions. Cook your tomatoes. Choose whole soy over processed soy. And reduce your intake of processed meat, alcohol, and ultra-processed foods, where the evidence for harm is just as strong as the evidence for protection.