Yes, you can get an endoscopy while pregnant, but it’s reserved for situations where the benefit clearly outweighs the risk. Routine or elective endoscopies are typically postponed until after delivery. When a serious gastrointestinal problem threatens your health or your baby’s, the procedure can be performed with specific safety precautions in place.
When Endoscopy Is Justified During Pregnancy
Endoscopy during pregnancy isn’t done for screening or mild symptoms. It’s justified when not doing the procedure could put you or your baby in danger. The most common reasons include significant or ongoing GI bleeding (especially vomiting blood), severe nausea and vomiting that doesn’t respond to medication, difficulty swallowing, and severe abdominal pain suggesting an obstruction.
A lower endoscopy, such as a sigmoidoscopy or colonoscopy, may be needed for heavy rectal bleeding, suspicion of a colon mass, or severe diarrhea that hasn’t been explained by other testing. Sigmoidoscopy is generally considered safe during pregnancy. A specialized procedure called ERCP, which examines the bile and pancreatic ducts, is indicated when gallstones block the bile duct, cause pancreatitis, or lead to a bile duct infection. These are conditions that can escalate quickly and pose serious risks if left untreated.
If your symptoms are manageable with medication or can safely wait a few months, your doctor will almost certainly recommend holding off until after you deliver.
The Second Trimester Is the Safest Window
Guidelines from the American Society for Gastrointestinal Endoscopy (ASGE) recommend deferring endoscopy to the second trimester whenever possible. There are specific reasons each trimester carries different levels of concern.
During the first trimester, the baby’s organs are forming, which makes this the period of highest vulnerability to medications and outside exposures. Certain sedation drugs used during endoscopy are best avoided in these early weeks because of potential effects on fetal development. In the third trimester, the enlarged uterus creates positioning challenges and increases the risk of premature labor. The second trimester, roughly weeks 13 through 27, hits a sweet spot: organ development is largely complete, the uterus isn’t yet large enough to cause major complications, and the risk of preterm birth from the procedure is lower.
That said, if you’re bleeding heavily or have a bile duct infection at 8 weeks or 34 weeks, the procedure won’t be delayed just because of trimester timing. Urgent situations override the preference for the second trimester.
Risks to Be Aware Of
The primary concern during any endoscopy in pregnancy is fetal oxygen supply. A developing baby is especially sensitive to drops in the mother’s blood pressure or oxygen levels. If sedation causes you to breathe too shallowly, or if your body position compresses major blood vessels, blood flow to the placenta can decrease. In extreme cases, this can lead to fetal distress.
Pregnancy changes your body in ways that make sedation trickier. Swelling in the throat tissues narrows the airway. The GI system slows down, increasing the risk of aspiration (stomach contents entering the lungs). These aren’t reasons to avoid the procedure when it’s needed, but they do require closer monitoring than a standard endoscopy.
Other risks include the potential for medications to affect fetal development (particularly in the first trimester) and, for procedures involving X-ray imaging like ERCP, radiation exposure to the baby. Premature labor is a theoretical risk, though it appears to be uncommon when appropriate precautions are taken.
How the Procedure Differs for Pregnant Patients
Several things change about how endoscopy is performed when you’re pregnant. Every procedure requires a consultation with your obstetrician beforehand, regardless of how far along you are. This ensures both your GI team and your OB are coordinated on timing, risks, and monitoring.
Positioning is one of the biggest adjustments. After about 20 weeks of pregnancy, you cannot lie flat on your back during the procedure. The weight of the uterus can compress the large vein that returns blood to your heart, dropping your blood pressure and reducing blood flow to the baby. Instead, you’ll be positioned on your left side or with a leftward pelvic tilt. For upper endoscopy and colonoscopy, the left side position works naturally. For ERCP, which is normally done with the patient face-down or on their back, the left lateral position is used in later pregnancy as well.
Sedation is kept as light as possible, typically mild to moderate rather than deep sedation. The goal is to keep you comfortable without suppressing your breathing. If deeper sedation is necessary, a dedicated anesthesia provider administers it. Certain sedation medications that carry higher risk in pregnancy are avoided, particularly one commonly used anti-anxiety drug that has been linked to developmental concerns when used in the first trimester.
What You’ll Experience
If you need an endoscopy during pregnancy, the process will feel similar to one outside of pregnancy, with a few additions. You’ll have a pre-procedure conversation that covers risks not just to you but to your baby. Your OB will be consulted, and fetal heart rate monitoring may be done before and after the procedure to confirm the baby is tolerating everything well.
You’ll likely be positioned on your left side for the duration. Sedation will feel lighter than what you might expect, since the medical team aims for the minimum effective level. The procedure itself, whether it’s looking at your esophagus and stomach or examining the lower GI tract, typically takes the same amount of time as it would for a non-pregnant patient.
Recovery also looks similar, though you may be monitored a bit longer to check on both your vitals and the baby’s. The medical team will watch for any signs of contractions or changes in fetal heart rate before sending you home.
Types of Endoscopy and Pregnancy
Not all endoscopic procedures carry the same level of concern. Upper endoscopy (looking at the esophagus, stomach, and upper small intestine) and sigmoidoscopy (examining the lower portion of the colon) are the most straightforward and generally considered safe when a clear indication exists. Sigmoidoscopy in particular is often described as low-risk during pregnancy for issues like rectal bleeding or chronic diarrhea.
Colonoscopy, which examines the entire colon, carries somewhat more complexity because of the bowel preparation required and the longer procedure time. It’s typically reserved for situations where sigmoidoscopy isn’t sufficient, such as suspected masses higher in the colon.
ERCP is the most involved option. It often requires X-ray guidance to visualize the bile and pancreatic ducts, which means radiation exposure is a concern. When ERCP is performed during pregnancy, techniques to minimize or eliminate radiation are used, and lead shielding protects the abdomen. Some centers perform ERCP using ultrasound guidance instead of X-rays to avoid radiation entirely. Despite the added complexity, ERCP during pregnancy has a strong track record when performed for clear indications like bile duct stones causing pancreatitis or infection.
Capsule endoscopy, where you swallow a small camera that photographs the small intestine, has limited data in pregnancy and is generally not a first choice. Its main uses, including obscure GI bleeding and evaluation of Crohn’s disease, can often wait until after delivery unless the situation is urgent.