According to Gram Research analysis, poor lifestyle habits increase overall cancer risk by 38 percent in men and 44 percent in women, and this effect is amplified in people carrying specific immune system genetic variations. A 2026 study of 334,781 people in the UK Biobank found that men with poor lifestyles and certain immune genes had dramatically elevated lung cancer risk, while women with poor lifestyles and a different immune gene had substantially increased kidney cancer risk. The research shows that genes and lifestyle work together to influence cancer susceptibility, with combined effects stronger than either factor alone.

A major study of over 334,000 people from the UK Biobank reveals that your genes and lifestyle choices work together to influence cancer risk. Researchers found that people with poor lifestyle habits (bad diet, smoking, drinking, little exercise, excess weight) had 38 to 44 percent higher cancer risk. Interestingly, certain genetic variations made some people even more vulnerable when combined with unhealthy habits. For men, specific immune genes increased lung cancer risk dramatically when paired with poor lifestyle choices. For women, different genes amplified kidney cancer risk under the same conditions. The study suggests that both your choices and your inherited genes matter for cancer prevention.

Key Statistics

A 2026 study of 334,781 people in the UK Biobank found that poor lifestyle increased overall cancer risk by 38 percent in men and 44 percent in women over a median 13-year follow-up period.

Among men carrying a cluster of four related immune genes (HLA-B08:01, DQA105:01, DQB102:01, and DRB103:01), poor lifestyle created an additive interaction effect with relative excess risk due to interaction values of 2.63 to 3.24 for lung cancer.

In women carrying the HLA-A*24:02 immune gene variant, poor lifestyle and genetic predisposition combined to create a relative excess risk due to interaction of 3.24 for kidney cancer in the UK Biobank study.

During 13 years of follow-up in the UK Biobank, 35,132 incident cancers occurred among 334,781 participants, with lifestyle and immune genetic variations independently and jointly influencing cancer risk.

The Quick Take

  • What they studied: How lifestyle habits and immune system genes separately and together affect the risk of developing cancer
  • Who participated: 334,781 people of European ancestry in the UK Biobank (159,744 men and 175,037 women) followed for an average of 13 years
  • Key finding: Poor lifestyle increased overall cancer risk by 38 percent in men and 44 percent in women. When people with certain genetic variations also had poor lifestyles, their cancer risk increased even more dramatically, especially for lung cancer in men and kidney cancer in women
  • What it means for you: Your lifestyle choices matter significantly for cancer prevention, and this effect may be even stronger if you carry certain genetic variations. However, this research is preliminary and needs confirmation in other populations before making major health decisions based on genetic testing alone

The Research Details

Researchers analyzed data from 334,781 people in the UK Biobank who were tracked for an average of 13 years. They looked at 50 common genetic variations in immune system genes, specifically examining genes that help your body fight disease. They also created a lifestyle score based on five factors: diet quality, smoking status, alcohol consumption, physical activity level, and body weight. Participants were grouped into three lifestyle categories: favorable (healthy), intermediate, or poor (unhealthy). The researchers used statistical methods to determine whether lifestyle and genes independently affected cancer risk, and whether they worked together in unexpected ways. They analyzed men and women separately because cancer risks can differ by sex.

Understanding how genes and lifestyle interact is crucial because it helps explain why some people develop cancer while others don’t, even when they have similar habits. This research approach is important because it moves beyond simply saying ‘genes matter’ or ’lifestyle matters’ to show how these factors amplify each other. This knowledge could eventually help doctors identify high-risk individuals who might benefit from more intensive screening or prevention strategies.

This study used a very large, well-documented population with detailed health information and genetic data, which strengthens the findings. The researchers followed people for 13 years, allowing them to observe actual cancer development rather than relying on predictions. However, the study included only people of European ancestry, so results may not apply equally to other ethnic groups. The researchers used statistical methods appropriate for this type of analysis, though they acknowledge that the genetic variations were imputed (predicted from other genetic data) rather than directly measured in some cases. The study is observational, meaning it shows associations but cannot prove that lifestyle directly causes the cancer risk differences observed.

What the Results Show

During the 13-year study period, 35,132 people developed cancer. The most striking finding was that poor lifestyle habits substantially increased cancer risk across the board. Men with poor lifestyles had a 38 percent higher overall cancer risk compared to those with favorable lifestyles, while women with poor lifestyles had a 44 percent higher risk. Beyond this main effect, the researchers discovered that certain immune system genetic variations amplified cancer risk when combined with poor lifestyle. For lung cancer in men, a cluster of four related immune genes (HLA-B08:01, DQA105:01, DQB102:01, and DRB103:01) created a particularly strong interaction with poor lifestyle. Men carrying these genes and living unhealthily had dramatically elevated lung cancer risk. For women, a different immune gene (HLA-A*24:02) combined with poor lifestyle to substantially increase kidney cancer risk. The researchers calculated that the combined effect of poor lifestyle and these genetic variations was greater than simply adding the two risks together, suggesting these factors work synergistically.

The study identified several individual immune genes associated with specific cancer types. In men, certain HLA alleles were linked to increased prostate cancer and non-Hodgkin lymphoma risk. In women, beyond kidney cancer, some genetic variations were associated with endometrial cancer risk. These associations were independent of lifestyle factors, meaning the genes showed effects even among people with healthy lifestyles. However, the lifestyle-gene interactions were most pronounced for lung cancer in men and kidney cancer in women, suggesting these combinations are particularly important for these specific cancers.

This research builds on decades of evidence showing that lifestyle factors like smoking, diet, exercise, and weight significantly influence cancer risk. Previous studies have also suggested that genetic variations in immune system genes affect cancer susceptibility. However, this study is among the largest to systematically examine how these two forces work together. The finding that certain genetic variations amplify lifestyle effects is relatively novel and suggests that personalized cancer prevention strategies might eventually account for both genetic and lifestyle factors. The magnitude of the lifestyle effect (38 to 44 percent increased risk) is consistent with previous research showing that modifiable lifestyle factors are major cancer risk determinants.

The study included only people of European ancestry, so the findings may not apply equally to other ethnic groups with different genetic backgrounds. The immune system genes were imputed rather than directly measured, which introduces some uncertainty about the exact genetic variations involved. The study is observational, meaning it shows associations but cannot definitively prove that poor lifestyle causes the increased cancer risk. The researchers could not account for all possible lifestyle factors or environmental exposures that might influence cancer risk. Additionally, the study cannot explain the biological mechanisms by which specific immune genes interact with lifestyle factors to influence cancer development. The researchers note that these findings need independent confirmation in other populations before being used for clinical decision-making.

The Bottom Line

Maintain a healthy lifestyle including a nutritious diet, regular physical activity, healthy body weight, not smoking, and moderate alcohol consumption. This is strongly recommended based on this and extensive previous research showing lifestyle significantly reduces cancer risk. Genetic testing for these specific immune system variations is not currently recommended for the general population, as the research is still preliminary. If you have a strong family history of cancer, discuss genetic counseling and testing options with your doctor, but these specific findings should not yet drive clinical testing decisions. The confidence level for lifestyle recommendations is high, while confidence in using these specific genetic findings for individual decision-making is currently low.

Everyone should care about maintaining healthy lifestyle habits for cancer prevention. People with a family history of lung cancer (men) or kidney cancer (women) might find this research particularly relevant, though it should not replace discussions with healthcare providers. This research is most relevant to researchers and clinicians working on cancer prevention strategies. People considering genetic testing should understand that these specific findings are preliminary and not yet part of standard clinical practice.

Lifestyle changes can begin reducing cancer risk immediately, though the protective effects typically become more apparent over years and decades. The cancer risk reduction from improved lifestyle habits may take 5 to 10 years or more to become statistically evident in a population. Individual variation exists, so some people may see health benefits sooner than others.

Frequently Asked Questions

Does having bad genes mean I will definitely get cancer?

No. This study shows that certain immune genes increase cancer risk, but lifestyle choices significantly influence whether that risk develops. Even people with genetic predisposition can substantially reduce their cancer risk through healthy habits like not smoking, exercising regularly, eating well, and maintaining healthy weight.

How much can I reduce my cancer risk by improving my lifestyle?

This study found that poor lifestyle increased cancer risk by 38 to 44 percent, suggesting that improving lifestyle could reduce risk by a similar magnitude. The protective effect is strongest when you address multiple factors simultaneously: diet, exercise, weight, smoking, and alcohol consumption.

Should I get genetic testing for these immune system genes?

Not based on this research alone. The study is preliminary and included only people of European ancestry. Genetic testing for cancer risk is not yet standard practice for these specific immune genes. Discuss genetic testing options with your doctor if you have a strong family history of cancer.

Why do men and women have different cancer risks from these genes?

This study found that different immune genes affected different cancers in men versus women, likely due to biological differences in how immune systems function between sexes and differences in cancer development pathways. The research shows sex-specific genetic effects but doesn’t fully explain the underlying biological reasons.

How long does it take for lifestyle changes to reduce cancer risk?

Health benefits from lifestyle changes can begin immediately, but measurable reductions in cancer risk typically take years to become apparent. Most cancer prevention research suggests that sustained healthy habits over 5 to 10 years or longer provide the strongest protective effects.

Want to Apply This Research?

  • Track five lifestyle factors weekly: diet quality (servings of fruits and vegetables), smoking status (cigarettes per day), alcohol consumption (drinks per week), physical activity (minutes of moderate exercise), and body weight (weekly weigh-in). Calculate a simple lifestyle score by rating each factor as favorable, intermediate, or poor
  • Users can set specific goals in each of the five lifestyle categories: commit to eating five servings of fruits or vegetables daily, eliminate smoking, limit alcohol to recommended levels, exercise 150 minutes weekly at moderate intensity, and maintain a healthy body weight. The app can provide personalized recommendations based on which categories need the most improvement
  • Create a monthly dashboard showing progress in each lifestyle category and overall lifestyle score. Set reminders for weekly tracking of the five factors. Generate quarterly reports comparing current lifestyle to previous months, highlighting improvements and areas needing attention. Allow users to set cancer risk reduction as a long-term health goal and track progress toward it

This research is observational and shows associations between lifestyle, genetic variations, and cancer risk but does not prove causation. The study included only people of European ancestry, so findings may not apply equally to other populations. Genetic testing for these specific immune system variations is not currently recommended for clinical decision-making and should not replace consultation with qualified healthcare providers. If you have concerns about cancer risk or family history of cancer, speak with your doctor or a genetic counselor. This article is for educational purposes and should not be considered medical advice.

This research translation is published by Gram Research, the science division of Gram, an AI-powered nutrition tracking app.

Source: Independent and joint effects of lifestyle, human leukocyte antigen polymorphisms on cancer risk: findings from the UK Biobank. , Frontiers in immunology (2026). PubMed 42798444 | DOI
Topics
cancer risk lifestyle factors immune genes HLA alleles genetic predisposition cancer prevention UK Biobank personalized medicine