Most stomach cancer is not hereditary, but some families carry genetic changes that raise the risk

About 10 percent of stomach cancers occur in people with a family history of the disease. Of those, only a fraction are caused by inherited genetic mutations—the rest reflect shared environment, diet, or infection patterns within families. The distinction matters because it changes what screening and prevention steps make sense for you.

The most common hereditary form is hereditary diffuse gastric cancer (HDGC), caused by mutations in the CDH1 gene. People who inherit this mutation have up to an 80 percent lifetime risk of developing stomach cancer, often at a younger age than sporadic cases. Other inherited syndromes—like Lynch syndrome and hereditary breast and ovarian cancer syndrome (BRCA mutations)—also raise stomach cancer risk, though usually more modestly.

If stomach cancer runs in your family, the question is not whether you will get it, but whether genetic testing and closer monitoring make sense for your situation. That depends on how many relatives were affected, at what age, and what type of cancer they had.

Key Takeaways

  • Most stomach cancers are not inherited; they result from infection with H. pylori bacteria, smoking, heavy alcohol use, or obesity.
  • Hereditary diffuse gastric cancer (HDGC) is the most common hereditary form and is caused by CDH1 gene mutations that can be passed from parent to child.
  • People with a CDH1 mutation face up to an 80 percent lifetime risk of stomach cancer and often benefit from preventive surgery or close monitoring.
  • Genetic testing is most useful when multiple close relatives had stomach cancer, especially before age 50, or when the cancer was diffuse type rather than intestinal type.
  • A genetic counselor can help you understand your family history and whether testing is appropriate for you.

How hereditary stomach cancer differs from sporadic cases

Sporadic stomach cancer—the kind that appears without a family history—usually develops slowly over years as cells accumulate damage from chronic irritation. H. pylori infection is the single largest risk factor worldwide. Smoking, heavy drinking, obesity, and a diet high in salt and processed meat also contribute. These cancers typically occur in people over 65 and are often caught late because early symptoms are vague.

Hereditary forms follow a different pattern. In HDGC, the inherited mutation is present in every cell from birth, so cancer risk is constant throughout life. The cancer that develops is almost always the diffuse type, where cancer cells are scattered throughout the stomach wall rather than forming a distinct tumor. This type is harder to detect early and tends to spread faster. People with HDGC often develop cancer in their 40s or 50s, sometimes earlier.

Other hereditary syndromes raise stomach cancer risk as part of a broader pattern. Lynch syndrome increases risk for several cancers including stomach, colon, and ovarian cancer. BRCA1 and BRCA2 mutations, known for breast and ovarian cancer risk, also modestly raise stomach cancer risk in some populations.

When family history suggests genetic testing might help

Genetic testing for hereditary stomach cancer is most useful in specific situations. If two or more close relatives (parent, sibling, child) had stomach cancer at any age, or if one close relative had it before age 50, testing may be worth discussing with a doctor or genetic counselor. The same applies if a relative had diffuse-type stomach cancer regardless of age.

Testing is less likely to be useful if stomach cancer appeared only once in your family, occurred in someone over 70 with no other affected relatives, or if the type of cancer is unknown. In those cases, the probability of finding a hereditary mutation is low, and the results would not change your medical care.

A genetic counselor can review your family tree and help you decide whether testing makes sense. They will ask about the age at diagnosis, type of cancer, and whether relatives had other cancers. This conversation often happens before any blood test, because testing someone with no family history is unlikely to find anything actionable.

What happens if you test positive for a CDH1 mutation

If genetic testing shows you carry a CDH1 mutation, your doctor will discuss two main options: preventive surgery or surveillance with regular screening.

Preventive total gastrectomy—surgical removal of the entire stomach—eliminates the organ where cancer would develop and reduces cancer risk to near zero. This is a major operation with permanent side effects: you will need to eat smaller, more frequent meals, and some people experience weight loss or nutritional deficiencies long-term. Most experts recommend this surgery for people with a CDH1 mutation who are healthy enough for surgery and psychologically prepared for the change. The timing is usually in the 20s to 40s, before cancer has a chance to develop.

Surveillance involves regular endoscopy (a camera down the throat to examine the stomach) combined with biopsies to look for early cancer. Endoscopy can detect some early cancers, but diffuse gastric cancer is hard to spot this way because cancer cells are scattered rather than forming a visible mass. Surveillance is an option for people who decline surgery or are not surgical candidates, but it requires commitment to regular procedures and carries the risk that cancer will be found at a later stage.

Other hereditary syndromes that raise stomach cancer risk

Lynch syndrome, caused by mutations in DNA mismatch repair genes, increases the risk of stomach cancer to about 3 to 5 percent over a lifetime—much lower than HDGC but higher than the general population. People with Lynch syndrome are also at high risk for colon and ovarian cancer. If Lynch syndrome runs in your family, genetic testing and surveillance for multiple cancer types are standard.

BRCA1 and BRCA2 mutations, inherited in some families with breast and ovarian cancer, also raise stomach cancer risk in certain populations, particularly those of East Asian descent. The absolute risk is still modest—around 2 to 3 percent—but it is enough that some doctors recommend surveillance or preventive measures in high-risk groups.

Familial adenomatous polyposis (FAP), caused by APC gene mutations, leads to hundreds of polyps in the colon and also raises stomach cancer risk. People with FAP undergo regular colonoscopy and upper endoscopy to monitor for cancer development.

Steps to take if stomach cancer runs in your family

Start by gathering your family history. Write down which relatives had stomach cancer, at what age, and what type if you can find out. Include other cancers in the family—breast, ovarian, colon—because they may point to a hereditary syndrome that also raises stomach cancer risk.

Talk to your primary care doctor about your family history. They can refer you to a genetic counselor or cancer specialist who can assess whether testing is appropriate. Genetic counselors are specially trained to interpret family patterns and explain what test results mean for your health.

If testing is recommended and you choose to proceed, you will have a blood test. Results typically come back in a few weeks. A positive result means you carry a mutation; a negative result means the test did not find one (though it does not rule out hereditary cancer entirely). Your doctor will discuss what the result means for your care and what screening or prevention steps make sense.

Even without genetic testing, you can reduce your stomach cancer risk by addressing modifiable factors: treating H. pylori infection if you have it, not smoking, limiting alcohol, maintaining a healthy weight, and eating a diet rich in vegetables and fruits.

The role of H. pylori infection in hereditary and non-hereditary stomach cancer

H. pylori is a bacterium that infects the stomach lining and is the leading cause of stomach cancer worldwide. It is more common in some regions and populations than others. Most people with H. pylori infection never develop cancer, but chronic infection increases risk over decades.

If you have a family history of stomach cancer and test positive for H. pylori, treatment with antibiotics can reduce your cancer risk. This is true whether or not you carry a hereditary mutation. Testing for and treating H. pylori is recommended for anyone with a family history of stomach cancer, as it is one of the few modifiable risk factors.

People with a CDH1 mutation who also have H. pylori infection face compounded risk, which is another reason preventive surgery is often recommended for them rather than surveillance alone.

Frequently Asked Questions

If my parent had stomach cancer, will I definitely get it?

Not necessarily. Most stomach cancers are not hereditary. Even if your parent's cancer was hereditary, you have a 50 percent chance of inheriting the mutation if your parent carried one. If you do inherit it, your risk is high but not certain—it depends on the specific mutation and other factors. Genetic testing can tell you whether you carry a mutation.

How often do I need screening if I have a family history of stomach cancer?

That depends on whether you carry a hereditary mutation. If genetic testing shows a CDH1 mutation, your doctor will recommend either preventive surgery or regular endoscopy (usually yearly or every few years). If you have a family history but test negative, screening is not routinely recommended unless you have other risk factors like H. pylori infection.

Can stomach cancer skip a generation?

Yes. If your grandparent had hereditary stomach cancer but your parent did not inherit the mutation, you would not inherit it either. But if your parent did inherit it but never developed cancer (which can happen), you could still inherit it from them. Genetic testing is the only way to know for certain.

What is the difference between diffuse and intestinal stomach cancer?

Intestinal-type stomach cancer forms a distinct tumor and is more common overall. Diffuse-type cancer has cells scattered throughout the stomach wall, making it harder to detect early and more aggressive. Hereditary diffuse gastric cancer (HDGC) is almost always the diffuse type, which is one reason it is more dangerous.

If I test negative for a CDH1 mutation, does that mean I do not have hereditary stomach cancer?

A negative test means you do not carry a CDH1 mutation. However, other hereditary syndromes like Lynch syndrome or BRCA mutations can also raise stomach cancer risk. Your genetic counselor can discuss whether testing for other mutations is appropriate based on your family history.