A perforated ulcer is a hole that burns completely through the wall of the stomach or the first part of the small intestine (the duodenum). It allows digestive acid and partially digested food to leak into the abdominal cavity, triggering intense pain and a dangerous inflammatory reaction. This is a surgical emergency: roughly 2 to 10% of people with peptic ulcer disease will experience a perforation, and without prompt treatment, it can be fatal.
How a Perforation Develops
A peptic ulcer starts as a shallow sore in the lining of the stomach or duodenum. Over time, acid and inflammation can erode deeper through the wall’s layers. When the damage extends through the full thickness of the wall, the result is a perforation. Once that barrier is breached, stomach acid pours into the abdominal cavity. This causes an immediate chemical burn to the surrounding tissues, a reaction called chemical peritonitis.
A perforation can be “free” or “contained.” In a free perforation, digestive contents spill openly into the abdomen and trigger widespread inflammation. In a contained perforation, a neighboring organ (often the pancreas) happens to be pressed against the ulcer site and blocks the leak, limiting the damage to a smaller area. Free perforations are far more dangerous and more common.
What Causes an Ulcer to Perforate
The same two culprits behind most peptic ulcers are behind most perforations: infection with H. pylori bacteria and long-term use of NSAIDs like ibuprofen, naproxen, or aspirin. H. pylori lives in the protective mucus layer of the stomach and gradually inflames the tissue underneath. NSAIDs weaken that same protective layer from a different angle, making the lining vulnerable to acid damage.
Several factors raise the risk further. Taking high doses of NSAIDs, or combining them with steroids, blood thinners, or certain antidepressants, increases the chance of ulcer formation. Being over 60, having had a peptic ulcer before, smoking, and heavy alcohol use all compound the danger. Smoking is especially harmful in people already carrying an H. pylori infection. None of these factors on their own guarantee a perforation, but they stack. A person taking daily NSAIDs who also smokes and has an untreated H. pylori infection is in a very different risk category than someone with just one of those factors.
Recognizing the Symptoms
The hallmark of a perforated ulcer is the sudden onset of severe abdominal pain, often described as the worst pain a person has ever felt. It typically begins in the upper abdomen and can spread rapidly across the entire belly. The classic presentation includes three features: sudden abdominal pain, a fast heart rate, and a rigid abdomen that feels hard to the touch, almost board-like.
The progression follows a rough timeline. Within the first two hours, you can expect sharp pain in the upper abdomen, a racing pulse, and cold or clammy hands and feet as the body reacts to the chemical burn inside. As hours pass, bacterial contamination increases and the inflammation worsens. Pain may spread to the right lower abdomen as leaked fluid tracks downward along the right side of the abdominal cavity. This can sometimes mimic appendicitis, which is one reason imaging is so important.
The longer the perforation goes untreated, the heavier the bacterial contamination becomes. What starts as a chemical burn from stomach acid transitions into a bacterial infection of the abdominal lining, and eventually can progress to sepsis, where the infection overwhelms the body’s ability to respond. Time matters enormously with this condition.
How It’s Diagnosed
When doctors suspect a perforation, the most reliable diagnostic tool is a CT scan. CT imaging can detect even tiny amounts of air that have escaped through the hole in the gut wall into the abdominal cavity. This escaped air, visible on the scan in places it should never be, is a strong indicator of perforation. CT can also pinpoint the exact location of the hole and reveal complications like abscesses or fluid collections.
Standard X-rays can show this escaped air too, but they miss it 30 to 50% of the time. CT catches cases that X-rays would miss, making it the preferred method. In some situations, doctors may also use a contrast study, where you swallow a liquid that shows up on imaging. If the contrast material leaks out of the stomach or duodenum, it confirms the perforation and its location.
Surgical Repair
Most perforated ulcers require surgery. The standard technique, used since 1937, is called a Graham patch repair. The surgeon places several stitches around the edges of the hole, then takes a piece of the omentum (a fatty, apron-like tissue that naturally drapes over the intestines) and lays it over the perforation. The stitches are then tied to hold the omental patch in place, sealing the hole with living tissue that has its own blood supply. The patch needs to stay well-nourished with blood flow to heal properly, so the stitches must be firm enough to hold it without being so tight that they cut off circulation.
A modified version of this technique closes the hole with sutures first, then places the omental patch on top and secures it with a second set of stitches. Studies comparing the two approaches show no significant difference in recovery or survival rates, so the choice generally comes down to the surgeon’s preference and the specifics of the perforation.
This repair can be done through a traditional open incision or laparoscopically through small keyhole incisions. In select cases, some centers have used endoscopic stents placed through the mouth to seal duodenal perforations, though this is less common.
When Surgery Can Be Avoided
In a small number of cases, a perforation seals itself. If the hole is small and a neighboring organ or tissue has already plugged it, doctors may confirm this with a contrast swallow study. If the swallowed contrast fills the duodenum, reveals the ulcer, but shows no leakage into the abdominal cavity, the perforation has sealed on its own. These patients can be managed without surgery, using intravenous fluids, antibiotics, and acid-suppressing medications while being closely monitored. The key requirement is clear imaging proof that nothing is leaking. If there’s any doubt, surgery remains the safer path.
Recovery After Surgery
The typical hospital stay after surgical repair of a perforated ulcer is about 7 days, though it can range anywhere from 3 to over 3 weeks depending on how sick the patient was before surgery and whether complications develop. On the first day after surgery, you’ll usually start with clear liquids. If there’s no sign of leaking from the repair site, you can move to soft foods within a couple of days, gradually working back toward a normal diet.
The in-hospital mortality rate for perforated peptic ulcers is around 5.5%, with multiple organ failure from severe infection being the most common cause of death. Three factors are particularly important in predicting outcomes: whether the patient was in shock at the time of surgery, whether there was a delay of more than 24 hours between arriving at the hospital and getting into the operating room, and whether the patient had serious pre-existing health conditions like heart failure, chronic lung disease, or active cancer. The more of these factors that are present, the higher the risk.
For survivors, long-term management focuses on preventing recurrence. That means treating H. pylori if it’s present, stopping or minimizing NSAID use, and taking acid-reducing medication. Without addressing the underlying cause, the ulcer can return, and a second perforation is possible.

