7 JCI-accredited hospitals · 45+ hospitals & clinics · 90+ countries served · 24/7 multilingual support
Pregnancy & Birth

Upper Abdominal Pain in Pregnancy: Common Causes and the Signs That Need Urgent Care

19 min read
Upper Abdominal Pain in Pregnancy: Common Causes and the Signs That Need Urgent Care

Key Takeaways

  • Heartburn in pregnancy comes from hormones relaxing the valve above the stomach plus the uterus pressing the stomach upward, which is why it worsens after meals and when lying flat.
  • Pain under the right ribs after 20 weeks with headache, vision changes or sudden swelling is a recognized warning pattern for preeclampsia, which the NHS reports affects up to 6% of pregnancies in its mild form.
  • HELLP syndrome, affecting about 1 to 2 of every 1,000 pregnancies according to MedlinePlus, can present with upper abdominal pain and only mildly raised blood pressure.
  • The appendix can be pushed up toward the right ribs in late pregnancy, so appendicitis may be felt high rather than in its usual low right-sided spot.
  • Gallstone attacks, which pregnancy makes more likely through higher estrogen, cause steady upper right pain after fatty meals that the NIDDK notes can last several hours.
  • Preeclampsia and HELLP can begin in the days after birth, so new upper abdominal pain with headache or feeling unwell postnatally needs the same urgency as in late pregnancy.
Quick Answer

Upper abdominal pain in pregnancy is most often heartburn, indigestion, stretching muscles, trapped wind or the baby pressing under the ribs, all uncomfortable but not dangerous. Pain under the right ribs with headache, vision changes, swelling or vomiting after 20 weeks can signal preeclampsia and needs same-day assessment. Severe, constant or worsening upper abdominal pain in pregnancy is an emergency.

Around the 30-week mark, many people discover a new and oddly specific complaint: a tender spot just under the right ribs that flares after dinner and eases when they lie on their left side. One partner describes it as “the baby parking a heel in my liver.” Another is convinced it is something she ate. Both are often right, and neither can be sure.

Upper abdominal pain in pregnancy sits in an awkward category. The usual causes are the ordinary machinery of a changing body: a stomach squeezed upward, a valve loosened by hormones, muscles stretched further than they have ever stretched. Yet the same region is where preeclampsia, a pregnancy-specific blood pressure disorder, announces itself.

This article walks through the causes from most likely to most serious, explains how midwives and doctors tell them apart, and is honest about the moment when waiting to see is no longer a good plan.

Upper abdominal pain in pregnancy: the direct answer and the emergency signs

Most upper abdominal pain in pregnancy comes from digestion or stretching, and it behaves predictably: it is worse after meals or late in the day, it shifts with position, and it fades within hours. The NHS lists heartburn, constipation, trapped wind and ligament strain among the common, harmless reasons a pregnant abdomen aches.

Two patterns change the picture. The first is pain that is severe, constant or steadily getting worse, especially if it comes with fever, vomiting you cannot keep fluids down through, or bleeding. The second is pain just below the ribs, usually on the right, that arrives after 20 weeks alongside a bad headache, flashing lights or blurred vision, sudden swelling of the face, hands or feet, or feeling generally unwell. The NHS flags this combination as a possible sign of preeclampsia, and advises contacting your maternity unit the same day rather than waiting for the next appointment.

A simple way to hold this in mind: pain that comes and goes with food or movement is usually a nuisance; pain that comes with other body-wide symptoms is a message. If you are unsure which you have, maternity units expect and welcome the call. Nobody is faulted for ringing about pain that turns out to be indigestion.

Is upper stomach pain in early pregnancy normal?

Mild upper stomach pain in early pregnancy is common and usually traces back to the gut rather than the womb. In the first trimester the uterus is still a small organ tucked behind the pubic bone, so it cannot press on the stomach or ribs. What changes early is hormonal. Progesterone, the hormone that keeps the pregnancy settled, relaxes smooth muscle throughout the body, including the ring of muscle at the top of the stomach and the muscle of the bowel wall. The NHS explains that this relaxation is why heartburn and constipation start so early for many people.

Pregnant woman consulting with female physician in clinic: Is upper stomach pain in early pregnancy normal?

Nausea and vomiting add their own discomfort. Repeated retching strains the upper abdominal muscles, and an empty, acidic stomach can ache in a way that feels more like pain than queasiness. Some people also notice tenderness after eating because the stomach empties more slowly.

Early pregnancy pain that sits high in the abdomen is less likely than low pain to involve the pregnancy itself. Even so, severe pain anywhere in the abdomen with faintness, shoulder-tip pain or bleeding in the first 12 weeks needs urgent assessment because of ectopic pregnancy, where the embryo implants outside the womb. Upper pain in early pregnancy that is mild, food-related and eases with rest is a reasonable thing to mention at a routine visit; upper pain that is severe or persistent is a reason to be seen sooner.

My pregnant belly hurts at the top: what sits under the ribs

When a pregnant belly hurts at the top, it helps to picture what lives there. Under the right ribs sit the liver and gallbladder. Under the left ribs sit the stomach and spleen, with the pancreas lying across the back of the upper abdomen. In the middle, just below the breastbone, is the epigastrium, the region where the stomach and the lower end of the esophagus (the food pipe) meet.

Pregnancy rearranges this neighborhood. By the third trimester the top of the uterus reaches the ribcage, pushing the stomach upward and sideways and flattening the diaphragm, the sheet of muscle used for breathing. The bowel is nudged out of its usual position, and the appendix, which normally lies low on the right, can be pushed upward toward the ribs. Clinicians know this, which is why appendicitis in late pregnancy can present with pain much higher than the textbook location.

The abdominal wall changes too. The two long muscles running down the front of the abdomen separate at the midline to make room, and the lower ribs flare outward. Both can ache, particularly on the side the baby favors. Understanding this map explains why the same spot can hurt for very different reasons: a heel under the ribs, a stretched liver capsule in preeclampsia, or a gallbladder reacting to a fatty meal can all point to the same patch of skin.

Heartburn and indigestion: the most common cause of upper abdominal pain in pregnancy

Heartburn is the leading explanation for a burning or gnawing pain in the upper middle of a pregnant abdomen. The NHS describes it as common and attributes it to two mechanisms working together: hormonal changes that loosen the valve between the esophagus and stomach, and the growing uterus pressing the stomach upward. Acid that would normally stay put slips into the food pipe and irritates its lining.

Pregnant woman consulting with female doctor in clinical setting: Heartburn and indigestion: the most common cause of upper

Typical features set it apart from more worrying causes. The pain is burning rather than sharp, it sits behind the breastbone or just below it, it starts soon after eating or on lying flat, and it often comes with belching, a sour taste or feeling full quickly. It rarely wakes someone from sleep with severe pain, and it does not come with a headache, swelling or vision changes.

Simple measures carry most of the weight. The NHS suggests smaller, more frequent meals, avoiding foods that trigger symptoms (commonly fatty, spicy or very acidic food, caffeine and chocolate), not eating within three hours of bedtime, and sleeping propped up. Antacids and alginates, medicines that neutralize acid or form a protective layer over stomach contents, are widely used in pregnancy; whether one is appropriate, and which, is a conversation for a pharmacist, midwife or doctor who knows your history. Heartburn that is severe, that does not settle with these steps, or that comes with difficulty swallowing or weight loss warrants a review rather than another over-the-counter product.

Stretching, rib pain and a foot under the ribs

Musculoskeletal pain accounts for a large share of third-trimester complaints that people describe as “my ribs hurt” or “something is stuck under my ribs.” The ribcage widens to accommodate the uterus, the lower ribs tilt outward, and the muscles between them stretch. Add a baby lying head-down with feet tucked under the right ribs, and a persistent, bruise-like ache on one side becomes easy to explain.

Features that point to a musculoskeletal cause include pain that is reproduced by pressing on the spot, pain that changes with posture or with the baby’s movements, and tenderness that improves when you stand up straight, raise your arms or lie on the opposite side. There is no fever, no vomiting and no change in bowel habit. The pain can be sharp when the baby kicks, but it settles between movements.

Round ligament pain, the sudden sharp twinge from the bands of tissue that anchor the uterus, is more usually felt low down and to the side, so it is a less common explanation for high pain. Separation of the abdominal muscles along the midline, called diastasis recti, produces a dragging ache and a visible ridge when sitting up from lying, and it is harmless in pregnancy although it may need attention afterward.

Clinicians do not dismiss this kind of pain, but they look for the absence of other signs before labeling it mechanical. Gentle stretching, support garments, warm (not hot) baths and changing position are the mainstream suggestions, and none replaces a check-up if the pain is new, severe or accompanied by anything systemic.

Gallstones, constipation and trapped wind

Three further digestive causes deserve a mention because they produce real, sometimes alarming, upper abdominal pain.

Gallstones are hardened deposits in the gallbladder, the small sac under the liver that stores bile. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) lists pregnancy as a risk factor because higher estrogen levels raise cholesterol in bile and slow gallbladder emptying. A gallbladder attack produces steady pain in the upper right abdomen or just below the breastbone, often after a fatty meal, sometimes spreading to the right shoulder or back, and the NIDDK notes it can last several hours. Pain with fever, yellowing of the skin or eyes, or pale stools suggests a blocked duct or infection and needs urgent assessment.

Constipation and trapped wind are far more common and far less dangerous, but a loop of bowel distended with gas can hurt sharply and high, particularly under the left ribs. The NHS counts both among the ordinary causes of pregnancy abdominal pain. Features are a bloated, gurgling abdomen, pain that moves around, relief after passing wind or stool, and days without a bowel movement.

The distinction a clinician makes is one of pattern and company. Gallstone pain is steady and often recurs after similar meals; wind pain shifts and eases with movement. Neither comes with the headache, swelling or vision changes that mark preeclampsia, and neither should be assumed if those are present.

Preeclampsia and upper abdominal pain: why pain under the right ribs matters

Preeclampsia is a condition of pregnancy in which blood pressure rises and the kidneys leak protein into the urine, with effects that can reach the liver, brain and placenta. The NHS reports that mild preeclampsia affects up to 6% of pregnancies and severe forms develop in about 1–2%, almost always after 20 weeks or soon after birth.

Upper abdominal pain is one of its warning symptoms, and the mechanism explains the location. The liver is wrapped in a tight capsule. When preeclampsia reduces blood flow to the liver and causes swelling, the capsule stretches and produces a deep, persistent ache under the right ribs or in the center just below the breastbone. People sometimes mistake it for severe indigestion that antacids do not touch.

What usually travels with it matters as much as the pain. The NHS lists severe headache, vision problems such as blurring or flashing lights, pain just below the ribs, vomiting, and sudden swelling of the face, hands or feet. Blood pressure is often raised, but it is not always checked at home, which is why the symptoms themselves are the trigger to call.

Treatment is the domain of the maternity team. Blood pressure medicines control the pressure, and magnesium sulfate, a medicine given by infusion to reduce the risk of seizures, was shown in the Magpie Trial (2002) to roughly halve the risk of eclampsia in women with preeclampsia. Delivery remains the only way to resolve the condition, and timing is a balance between the health of the pregnant person and the maturity of the baby.

HELLP syndrome and acute fatty liver of pregnancy: rare but time-sensitive

Two uncommon liver conditions of late pregnancy begin with upper abdominal pain and can deteriorate quickly, which is why clinicians check blood tests promptly when the symptom appears with any sense of being unwell.

HELLP syndrome takes its name from its laboratory findings: hemolysis (breakdown of red blood cells), elevated liver enzymes, and low platelets, the cells that help blood clot. MedlinePlus reports that it occurs in about 1 to 2 of every 1,000 pregnancies, and in 10% to 20% of people with severe preeclampsia or eclampsia. It most often develops in the third trimester and can also begin in the days after birth. Symptoms include pain in the upper right abdomen or epigastrium, nausea and vomiting, headache, fatigue and sometimes bleeding or bruising. Blood pressure may be only mildly raised, so HELLP can surprise people who felt they had a low-risk pregnancy.

Acute fatty liver of pregnancy is rarer still and causes fat to accumulate rapidly in liver cells. It presents with malaise, nausea, vomiting, upper abdominal pain and sometimes jaundice, confusion or excessive thirst. Blood tests show liver and kidney strain and low blood sugar.

Both conditions are diagnosed by blood tests ordered in a maternity assessment unit, and both are managed by stabilizing the pregnant person and planning delivery. The practical message for a reader is narrow and clear: upper abdominal pain late in pregnancy that comes with vomiting, feeling very unwell, bruising or yellowing is not something to monitor overnight.

Appendicitis, pancreatitis and other causes that may need surgery

Pregnancy does not protect against the ordinary surgical emergencies of the abdomen, and it makes some of them harder to recognize.

Appendicitis is inflammation of the appendix, a small pouch attached to the large bowel. Outside pregnancy the pain starts around the navel and settles in the lower right abdomen. In the third trimester the uterus pushes the appendix upward, so the pain may be felt under the right ribs or along the right flank. Fever, loss of appetite, nausea and pain that worsens with movement or coughing are the clues. Because a ruptured appendix is dangerous for both pregnant person and baby, clinicians have a low threshold for ultrasound and, where the picture is unclear, magnetic resonance imaging (MRI), which does not use radiation.

Pancreatitis, inflammation of the pancreas, in pregnancy is most often triggered by a gallstone blocking the duct the pancreas shares with the gallbladder. The pain is severe, central, bores through to the back, and comes with vomiting. Blood tests measuring pancreatic enzymes confirm it.

Peptic ulcers, kidney infections tracking up the flank, and in rare cases heart or lung causes such as a blood clot in the lung can also present as upper abdominal or lower chest pain. The common thread is that these conditions produce pain that is severe, constant, worsening or accompanied by fever, breathlessness or vomiting. That profile, rather than the exact spot, is what moves a clinician from reassurance toward investigation.

How clinicians tell the causes apart

The assessment of upper abdominal pain in pregnancy follows a reliable sequence. The midwife or doctor asks about timing, triggers, character and company: when it started, whether food or position changes it, whether it is burning or steady, and what else is happening in the body. Blood pressure and a urine dipstick for protein come next; together they screen for preeclampsia in minutes. The abdomen is examined for tenderness over the liver, the gallbladder and the uterus, and the baby’s heartbeat and movements are checked.

Blood tests do the rest. A full blood count looks at platelets, liver function tests look at liver enzymes, and kidney tests and uric acid complete the preeclampsia picture. Pancreatic enzymes are added if the pain suggests pancreatitis, and an ultrasound scan can show gallstones, a swollen appendix or free fluid.

Cause Typical features Usual next step
Heartburn or indigestion Burning behind or below breastbone, after meals or lying flat, belching Diet and position changes; pharmacist or midwife advice
Stretching, rib or muscle pain Reproduced by pressing, changes with posture or baby’s movements Reassurance, posture and support measures
Constipation or trapped wind Bloating, shifting pain, relief after bowel movement Fluids, fiber, movement; review if persistent
Gallstones Steady right upper pain after fatty food, may spread to shoulder Ultrasound and blood tests; urgent if fever or jaundice
Preeclampsia or HELLP Pain under right ribs with headache, vision change, swelling, vomiting Same-day maternity assessment, blood pressure, urine and blood tests
Appendicitis or pancreatitis Severe, constant, worsening pain with fever or vomiting Emergency assessment, imaging, surgical review

Upper abdominal pain relief in pregnancy: what is reasonable at home

Upper abdominal pain relief in pregnancy starts with identifying the pattern, because the measures that help heartburn do little for rib pain and nothing for preeclampsia. Home care is appropriate only for pain that is mild, familiar, food- or position-related and unaccompanied by red-flag symptoms.

For heartburn and indigestion, the NHS advice is practical: eat smaller meals more often, sit upright while eating and for a while afterward, avoid the foods that reliably set it off, cut down on caffeine, and leave a gap of about three hours between the last meal and bed. Raising the head of the bed helps more than extra pillows, which tend to bend the body at the waist. Antacids and alginates are the medicine classes commonly discussed for pregnancy heartburn; whether to use one, and which, belongs with the pharmacist or prescriber, especially if you take iron tablets, which some antacids can interfere with.

For rib and muscle pain, changing position, standing tall, gentle stretching with the arms raised, a warm bath and a supportive maternity band are the mainstream suggestions. Lying on the side opposite the pain often eases pressure from the baby.

For constipation and wind, more fluid, more fiber and more walking remain the first steps the NHS recommends.

What home care does not include is waiting out pain that is severe, worsening, or paired with headache, vision change, swelling or vomiting. Pain relief at home is a holding measure for a known, mild cause, not a diagnostic test.

What people often get wrong about upper abdominal pain in pregnancy

The first misconception is that preeclampsia always announces itself with obvious swelling or a blood pressure reading someone has taken. Many people never check their pressure at home, and swelling is common in normal pregnancy. The NHS lists upper abdominal pain alongside headache and vision change precisely because symptoms, not readings, are what most people notice first.

The second is the opposite error: assuming every ache under the ribs is dangerous. Heartburn, wind and a baby’s foot explain the large majority of cases, and treating every twinge as a crisis is exhausting without being protective. Pattern and company remain the guide.

A third mistake is believing that antacid failure means the pain cannot be heartburn. Severe reflux in late pregnancy can resist simple measures. The reverse trap is more serious: assuming that pain which eased briefly with an antacid must have been indigestion. Liver-capsule pain from preeclampsia can wax and wane too.

People also assume appendicitis pain must be low and right-sided. In late pregnancy it can sit high, and delay in recognizing it is the main reason outcomes are worse than outside pregnancy.

Finally, there is a belief that the postnatal period ends the risk. MedlinePlus notes that HELLP can develop after delivery, and the NHS notes preeclampsia can begin in the days after birth. New upper abdominal pain with headache or feeling unwell in the first week or two after delivery deserves the same urgency as it would at 36 weeks.

When to see a doctor

Contact your maternity unit or seek emergency care the same day if you have upper abdominal pain in pregnancy with any of the following:

  • Pain just below the ribs, usually on the right, with a severe headache, blurred vision or flashing lights, or sudden swelling of the face, hands or feet
  • Pain that is severe, constant, or steadily getting worse over hours
  • Vomiting you cannot control, or inability to keep fluids down
  • Fever, shaking or feeling very unwell
  • Yellowing of the skin or eyes, dark urine or pale stools
  • Vaginal bleeding, a change in the baby’s movements, or regular tightening of the abdomen before 37 weeks
  • Chest pain, breathlessness or coughing up blood
  • Unexplained bruising or bleeding from gums or nose

The same list applies in the weeks after birth, because preeclampsia and HELLP syndrome can start after delivery. The CDC’s maternal warning signs guidance makes the point plainly: severe belly pain that does not go away, a headache that will not ease, or vision changes during or up to a year after pregnancy are reasons to seek care straight away and to say that you are, or recently were, pregnant.

Book a routine appointment, rather than an urgent one, for mild heartburn that persists despite diet changes, recurring pain after fatty meals, constipation lasting more than a week, or rib pain that interferes with sleep. None of these is an emergency, and all of them are worth a conversation, because the easiest pain to manage is the one someone has actually been told about.

Frequently asked questions

Is upper stomach pain normal in early pregnancy?

Mild upper stomach pain in early pregnancy is common and usually comes from the gut, not the womb. Progesterone slows digestion and loosens the valve above the stomach, so heartburn, bloating and constipation often begin in the first trimester. Severe pain, faintness, shoulder-tip pain or bleeding in early pregnancy need urgent assessment, because they can signal an ectopic pregnancy.

Why does my pregnant belly hurt at the top?

The top of a pregnant belly hurts most often because the uterus pushes the stomach and ribs upward, causing heartburn, stretched muscles and flared ribs, and because the baby’s feet press under the ribs. Less commonly the liver, gallbladder or appendix is responsible. Pain that is severe or comes with headache, vision changes or swelling should be assessed the same day.

Can preeclampsia cause upper abdominal pain?

Yes. Preeclampsia reduces blood flow to the liver and causes swelling that stretches the liver’s capsule, producing a persistent ache under the right ribs or just below the breastbone. The NHS lists this pain alongside severe headache, vision problems, vomiting and sudden swelling as reasons to contact a maternity unit immediately after 20 weeks or in the weeks after birth.

How can I relieve upper abdominal pain during pregnancy at home?

Home relief depends on the cause and is only appropriate for mild, familiar pain. For heartburn, eat smaller meals, stay upright after eating, avoid trigger foods and sleep with the bed head raised. For rib or muscle pain, change position and lie on the opposite side. Fluids, fiber and walking help constipation. Medicine choices, including antacids, belong with a pharmacist or prescriber.

What does preeclampsia pain feel like?

People describe preeclampsia pain as a deep, steady ache or pressure under the right ribs or in the center just below the breastbone, sometimes spreading to the back. It tends to persist rather than come and go with meals, and antacids do not settle it. The pain is usually accompanied by headache, vision changes, nausea or swelling rather than appearing on its own.

Is pain under the right rib in pregnancy serious?

Pain under the right rib in pregnancy is often the baby’s position, a stretched muscle or heartburn, none of which is serious. It becomes serious when it is constant, severe or paired with headache, vision changes, swelling, vomiting, fever or yellowing of the skin, because these point to preeclampsia, HELLP syndrome, gallbladder disease or appendicitis and need same-day assessment.

Can gas cause upper abdominal pain in pregnancy?

Yes. Trapped wind is one of the common harmless causes the NHS lists for abdominal pain in pregnancy. Slower digestion and a bowel displaced by the uterus allow gas to collect, and a distended loop of bowel can produce sharp pain high in the abdomen, often under the left ribs. The pain shifts around, comes with bloating, and eases after passing wind or stool.

What tests are done for upper abdominal pain in pregnancy?

Assessment usually begins with blood pressure, a urine test for protein, an abdominal examination and a check of the baby. Blood tests then look at platelets, liver enzymes, kidney function and, if needed, pancreatic enzymes. An ultrasound can show gallstones or an inflamed appendix, and MRI, which uses no radiation, is used when the diagnosis remains unclear.

Does upper abdominal pain in the third trimester mean labor?

Usually not. Labor contractions are felt as tightening across the whole abdomen and lower back that comes in a regular, strengthening pattern. Pain confined to the upper abdomen is more likely digestive, musculoskeletal or, if accompanied by headache and swelling, related to preeclampsia. Regular tightenings before 37 weeks, or any pain with bleeding or reduced baby movements, should be reported promptly.

Can upper abdominal pain happen after delivery?

Yes, and it deserves attention. MedlinePlus notes that HELLP syndrome can develop after birth, and the NHS reports preeclampsia can begin in the postnatal days. New upper abdominal pain after delivery with headache, vision changes, vomiting or feeling very unwell should be treated as urgently as it would be in late pregnancy, and the clinician should be told about the recent birth.

References

This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.

Add Acıbadem on Google

Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.

Share this page
Dr. Şule Eren
Dr. Şule Eren, MD
Author
View profile →
Published December 2, 2026
Keep Reading

More from the Blog

We’re With You at Every Step

How can we help you today?

We value your privacy We use essential cookies to run this site and, with your consent, analytics cookies to understand how it is used and improve it. You can accept, reject, or choose what to allow. See our Cookie Policy.