Stomach cancer is found by combining a symptom history and risk profile with an upper endoscopy: a thin camera passed through the mouth and esophagus that lets a doctor see the stomach lining directly and snip small tissue samples, called biopsies, for a pathologist to examine under a microscope. Imaging such as CT, MRI, or endoscopic ultrasound maps how far any cancer has spread. Blood tests and stool tests cannot confirm the diagnosis on their own.

The saying is "they caught it early," and that phrase hides a machine of steps. Someone notices a symptom, a clinician ranks probabilities, an endoscope enters, a pathologist squints at cells, a radiologist stages the spread. Each link has its own accuracy and its own failure modes. Understanding that chain explains why the same disease is found at a curable stage in one person and at an incurable stage in another.

The detection chain: referral, endoscopy, biopsy, staging

The first gate is not the camera. It is the decision to order the camera. A patient reports indigestion, early fullness, or weight loss, and a primary care clinician weighs that report against age, family history, prior stomach conditions, and local prevalence. Guidelines from major gastroenterology societies push earlier endoscopy when warning features appear: unintentional weight loss, vomiting blood, black stools, difficulty swallowing, or anemia in an older adult. Without those flags, vague stomach complaints can be managed for weeks before anyone considers endoscopy.

Endoscopy itself is the diagnostic workhorse. A flexible tube about the width of a finger carries light and a camera into the stomach, and the operator can spray dye or use narrow-band light to make abnormal patches stand out against normal mucosa. Subtle flat lesions, the kind most easily missed, become visible with these optical tricks. The exam usually takes 10 to 20 minutes and often uses sedation.

Biopsy is where diagnosis actually happens. The endoscopist takes small tissue bites, typically several per suspicious area, and sometimes random samples from normal-looking regions when a widespread condition called atrophic gastritis is suspected. A pathologist then reviews the tissue with stains, including special stains for the bacterium Helicobacter pylori, and classifies the tumor type. Without tissue, no one can call a lesion cancer with confidence.

Staging follows diagnosis, not the other way around. If biopsies confirm adenocarcinoma, the most common stomach cancer type, CT scans of the chest, abdomen, and pelvis assess spread to liver, lungs, and distant nodes. Endoscopic ultrasound measures how deep the tumor invades the stomach wall and whether nearby lymph nodes look involved. A staging laparoscopy, a small camera through the abdominal wall, can detect cancer seeding the peritoneal lining that scans miss.

One plain sentence helps: the endoscope finds the suspect, the pathologist delivers the verdict, and the scanners draw the map.

How accurate is each step, with numbers

No test in this chain is perfect, and the imperfections compound. Endoscopy misses some cancers, especially flat, subtle, or poorly distended-stomach lesions; published series in high-volume centers report miss rates for upper gastrointestinal cancers in the range of roughly 5 to 10 percent, with higher misses tied to short exams and inadequate mucosal visualization. That number is not a fixed law. It moves with operator skill, scope quality, procedure time, and whether the stomach is well inflated.

Biopsy sensitivity is high but not absolute. Superficial sampling of a deep tumor can return normal tissue, and necrotic centers of large ulcers can yield nondiagnostic material. Repeat endoscopy with deeper or targeted sampling is a standard remedy when suspicion stays high despite an initial benign reading.

H. pylori deserves its own paragraph because it reframes the whole question. The bacterium is the strongest identified risk factor for the intestinal type of stomach cancer, and eradication changes the trajectory of precancerous changes. Serology, the old blood-antibody test, cannot distinguish active infection from past exposure and is not a reliable way to decide who needs treatment. Urea breath testing and stool antigen testing detect active infection; endoscopy-based testing, including rapid urease testing and histology, ties the answer directly to the stomach lining.

Serum pepsinogen testing, widely used in Japan as a blood-based screen for atrophic gastritis, is not a standalone cancer detector. It sorts populations by risk so that endoscopy can be aimed at the highest-yield groups.

What the numbers mean: risk, stage, and survival trade-offs

Risk is not uniform, and the arithmetic of who gets scoped reflects that. Stomach cancer incidence varies more than tenfold across countries, with the highest rates historically in East Asia and parts of South America and Eastern Europe. In the United States, incidence has fallen substantially since the mid-20th century, and the disease is now relatively uncommon outside higher-risk groups. Immigration patterns matter: people who move from high-incidence to low-incidence countries carry elevated risk for decades.

Survival splits sharply by stage. When stomach cancer is confined to the stomach, five-year survival is high, though exact figures vary by series and by how much of the stomach wall is involved. Once it has spread to distant organs, five-year survival falls into single digits to low double digits. Because symptoms are late and nonspecific, a large share of cases in countries without organized screening present at an advanced stage. This is why the detection question is really a question about who gets tested early.

Familial risk adds another layer. Inherited syndromes, including hereditary diffuse gastric cancer driven by CDH1 mutations, produce high lifetime risk and prompt specific surveillance or preventive surgery discussions. A family history of stomach cancer in a first-degree relative raises personal risk enough that some guidelines recommend earlier or more frequent endoscopy.

Red flags that should trigger endoscopy, not watchful waiting

Symptoms and findings that push a clinician toward prompt endoscopy include:

Unintentional weight loss, especially with persistent stomach discomfort. Vomiting blood or passing black, tarry stools, which suggest bleeding from the upper tract. New difficulty swallowing, or a sensation that food sticks on the way down. Iron-deficiency anemia in an older adult, particularly without an obvious cause. A persistent, new-onset indigestion pattern in someone over 60, especially with weight loss. A family history of stomach cancer or a known inherited syndrome.

These are not diagnoses. They are prompts to escalate. The presence of one does not guarantee cancer, and the absence of all of them does not exclude it, which is why the next section matters.

A counterintuitive caveat sits here: a patient can have a normal-looking stomach on endoscopy yet still harbor a signet-ring cell or diffuse-type tumor that grows beneath the surface lining without forming a visible mass. That is one reason deep, multiple biopsies and clinical suspicion matter as much as image quality.

Screening versus diagnostic testing: why countries differ

Screening and diagnosis are different machines with different jobs. Screening tests people without symptoms; diagnostic testing works up symptoms or screening abnormalities. The table below compares how major approaches fit.

Approach Who it targets What it detects Key limitation
Upper endoscopy with biopsy Symptomatic patients; high-risk screened groups Visible lesions and tissue diagnosis Invasive, sedation, operator-dependent miss rates
Barium upper GI series Some low-resource or symptomatic pathways Structural abnormalities Poor at flat lesions; needs endoscopy to confirm
Serum pepsinogen plus H. pylori testing Population risk stratification in high-incidence regions Atrophic gastritis and infection status Not a standalone cancer test; positive results need endoscopy
CT or MRI of the abdomen Staging after diagnosis Spread to organs and distant nodes Not a screening or primary diagnostic tool
Endoscopic ultrasound Local staging after diagnosis Depth of invasion and regional nodes Requires endoscopy and expertise
Staging laparoscopy Advanced-stage assessment Peritoneal seeding Surgical, limited to selected patients

The pattern is clear in Japan and Korea, where organized endoscopic screening programs for adults have been associated with a shift toward earlier-stage detection. Countries without such programs, including the United States, rely on symptomatic presentation or targeted screening of high-risk individuals. The trade-offs are real: endoscopy is invasive and expensive, and broad screening in low-prevalence populations yields fewer cancers per exam. Guidelines from major gastroenterology bodies define high-risk groups for targeted screening, typically based on age, family history, and known precursor conditions.

The time course: from silent change to visible lesion

Stomach cancer is not a single event. The intestinal type usually evolves over years through a staged sequence in the stomach lining.

Time course stage What is happening What is detectable
Chronic H. pylori infection Bacterial inflammation persists, often for decades Infection tests; no cancer yet
Atrophic gastritis and intestinal metaplasia Glandular tissue is replaced by scar-like and intestinal-type lining Biopsy changes; risk stratification possible
Dysplasia Cells begin to look abnormal but do not invade Biopsy; endoscopy with targeted imaging
Early gastric cancer Cancer confined to lining or shallow wall layers Endoscopy; sometimes curative endoscopic resection
Locally advanced cancer Tumor invades deeper wall and regional nodes Endoscopy plus CT and endoscopic ultrasound
Metastatic cancer Spread to liver, peritoneum, lungs, or distant nodes CT, laparoscopy, biopsy of distant sites

The durations are variable and not precisely dated; the sequence runs from years to many years, which is the point. There is a long window in which precancerous changes can be detected and managed. That window is exactly what screening programs try to use, and it is precisely what a symptom-driven pathway cannot guarantee.

Practical actions and thresholds that change management

How a patient or clinician acts on this depends on where in the chain they sit.

If you have persistent stomach symptoms plus any red flag, ask directly whether endoscopy is warranted. The threshold in major gastroenterology guidance is not a fixed number of weeks; it is the pattern of features. A new, persistent symptom with weight loss is a stronger trigger than years of mild reflux.

If you are in a high-risk group, such as a first-degree relative with stomach cancer or a known inherited syndrome, ask about surveillance endoscopy intervals. For people with a known diagnosis, follow-up intervals are set by the treating team, not by consumer tests.

If you are diagnosed with H. pylori, ask whether treatment and confirmation of eradication are planned. Testing for reinfection or treatment failure after a course of antibiotics typically uses stool antigen or breath testing rather than antibody tests.

If you have had treatment for an infection or precancerous change, ask what surveillance is appropriate and when the next endoscopy should occur. The answer depends on whether atrophic gastritis and metaplasia are present and how extensive they are.

These steps are not a substitute for individual medical advice and should be discussed with a clinician. What they do is name the decisions that the evidence actually supports.

Why thin explainers get this wrong, and how to read the limits

Five misconceptions recur.

The first is that a blood test can find stomach cancer. It cannot confirm a diagnosis. Tumor markers such as carcinoembryonic antigen can be elevated in cancer, but they also rise in other conditions and stay normal in some cancers, so they are used for monitoring rather than detection.

The second is that stomach cancer always announces itself with pain. Early disease is often silent or indistinguishable from common indigestion.

The third is that endoscopy guarantees a diagnosis. It guarantees a look and, with biopsy, a tissue sample. Miss rates and sampling errors keep it from being a guarantee, and repeat testing is sometimes necessary.

The fourth is that H. pylori treatment eliminates all risk. Eradication reduces risk substantially, but it does not erase damage already done to the stomach lining, so surveillance may still be warranted in people with advanced precursor changes.

The fifth is that screening is universally beneficial. In low-incidence populations, broad screening produces false positives, anxiety, and procedure risk in many people who would never have developed the disease. That is why guidelines target higher-risk groups rather than everyone.

What the evidence cannot tell us with precision is who will progress from metaplasia to cancer, how long that transition takes in any individual, and how to make endoscopy perfectly sensitive for flat lesions. Those are open research problems, and honest explanations should say so. The practical upshot is straightforward: the disease is found by looking at tissue, the decision to look is driven by symptoms and risk, and timing determines what that look is worth.