Flexible endoscopy during pregnancy: is it safe?
You have been vomiting for weeks without relief, experiencing heartburn that wakes you up at night, or noticing black in your stool, and your doctor is recommending a flexible endoscopy during your pregnancy, just when you are expecting a baby. It is normal to have doubts. Flexible endoscopy during pregnancy is considered safe when there is a clear indication, when it is performed with minimal sedation, and when it is coordinated with your obstetrician. If the symptoms are mild, it can almost always wait.
What follows explains when flexible endoscopy during pregnancy should not be postponed, what the real risks are, which sedation is preferred, and how to prepare for the conversation with your doctors.
When is flexible endoscopy indicated during pregnancy?
Flexible endoscopy during pregnancy is indicated when the results will change management and waiting until childbirth poses a risk to you or the baby. Typical reasons include gastrointestinal bleeding, persistent vomiting with weight loss, difficulty or pain when swallowing, and suspected lesions that do not respond to treatment. Mild symptoms do not justify the procedure.
Flexible endoscopy involves inserting a thin tube with a camera through the mouth (gastroscopy) or anus (colonoscopy or sigmoidoscopy) to examine the digestive mucosa and, if necessary, take samples or control bleeding. During pregnancy, flexible endoscopy is usually a gastroscopy, which is much more common than a colonoscopy.
Think about a common scenario: a 20-week pregnant woman with almost daily vomiting. First, common causes such as hyperemesis are ruled out, fluids and medications are adjusted, and lab tests are reviewed. Only if warning signs appear, such as vomiting blood, worsening anemia, or an inability to swallow, is endoscopy performed.
These are the situations in which gastroenterologists usually consider it reasonable:
- Upper gastrointestinal bleeding or black stools with anemia.
- Significant dysphagia or the sensation of food being stuck.
- Severe vomiting that does not improve with treatment and is accompanied by weight loss.
- Suspected complicated ulcer or active, severe inflammatory bowel disease.
- Upper abdominal pain with warning signs that other tests cannot explain.
For common heartburn, mild gastritis, or typical pregnancy reflux, the usual approach is to treat first and monitor. An endoscopy that will not change the treatment is not worth the risk, however small.
In practice, the decision begins in the lab. Before recommending flexible endoscopy during pregnancy, the gastroenterologist usually reviews the complete blood count, ferritin, liver function tests, and, if there is bleeding, the results of a fecal occult blood test. Anemia that worsens week after week carries much more weight than a single borderline value.
Another key piece is the abdominal ultrasound, which helps rule out gallstones or other causes without exposing the baby to radiation. If the situation is not clarified by those tests, flexible endoscopy during pregnancy becomes a real option, not an automatic reaction to the first symptom.
What risks does endoscopy during pregnancy pose to the mother and baby?
Available studies indicate that well-indicated flexible endoscopy during pregnancy carries a low risk. The main dangers come from sedation and positioning, not from the endoscope. Complications specific to the procedure are rare, and the most serious are maternal hypoxia, hypotension, and, in rare cases, preterm birth.
Some observational studies have associated flexible endoscopy during pregnancy with a slight increase in preterm birth or low birth weight. Here, it is important to clarify: it is difficult to separate the effect of the procedure from the effect of the underlying illness that made it necessary. A pregnant woman with gastrointestinal bleeding is already at greater risk, with or without endoscopy.
What does concern the medical team is anything that affects the mother's oxygenation and blood pressure, because the blood flow to the placenta depends on them. That is why oxygen saturation, blood pressure, and heart rate are monitored throughout the study.
These are the risks discussed before making a decision:
- Hypoxia or hypotension: due to excessive sedation or compression of the major vessels by the uterus if you lie on your back.
- Aspiration: more likely in pregnant women due to delayed gastric emptying and reflux.
- Contractions: uncommon, more associated with colonoscopies or prolonged studies.
- General complications: perforation or bleeding, which are very rare. You can review the complications of flexible endoscopy to understand the full picture.
For context: radiation is not part of the equation, because endoscopy does not use X-rays. When radiological guidance is needed in more complex procedures, the abdomen is protected with a lead apron, and exposure time is kept to a minimum.
What sedation is safe during flexible endoscopy during pregnancy?
In flexible endoscopy during pregnancy, the rule is to use the least sedation possible. Many gastroscopies in pregnant women are performed with only topical anesthesia in the throat or with light sedation. When more is needed, drugs with experience in use during pregnancy are preferred, such as carefully dosed propofol or meperidine, always under monitoring.

This answers a common question: what happens if you are pregnant and they give you anesthesia? Well-managed, short-duration sedation with supplemental oxygen usually does not affect the baby. The problem arises when the mother runs out of oxygen or has low blood pressure. That is why monitoring is more important than the drug itself. What is normally avoided:
- Benzodiazepines, especially high doses of midazolam: they are avoided especially in the first trimester and reserved for specific cases, at the lowest possible dose.
- Unnecessary deep sedation: increases the risk of hypoxia and aspiration.
- Combinations of several sedatives: the regimen is simplified to better control the effects.
The final decision depends on your case, your gestational weeks, and the anesthesiologist's experience. My practical advice: ask beforehand who will administer the sedation and if that professional has treated pregnant women. In a procedure of this type, it is not a minor detail.
Before the procedure, the anesthesiologist should explain which drug they will use, how long the effect will last, and what plan they have if your blood pressure or oxygen levels drop. That conversation is as important as the flexible endoscopy itself, because it determines how peacefully you will leave the room.
If the team cannot answer those questions clearly, it is reasonable to ask for a second opinion or reschedule the study at a center with experience in pregnant women. An emergency is still an emergency, but most digestive endoscopies are not, and you have the right to know what they are going to administer to you.
What precautions does the medical team take during flexible endoscopy during pregnancy?
During flexible endoscopy during pregnancy, the team changes the position, reduces sedation, continuously monitors the mother, and shortens the study time. Ideally, it is done in the second trimester, when the risk to the baby is lower and the uterus does not yet make positioning as difficult.
The second trimester is the most comfortable window: the organ formation stage of the first trimester has passed, and the size of the uterus does not yet complicate breathing or circulation. If the emergency does not allow for a choice, it is done at any time, but with adjustments.
These are the usual measures:
- Left lateral position: prevents the uterus from compressing the vena cava and keeps blood pressure stable.
- Continuous monitoring: oxygen saturation, blood pressure, heart rate, and, depending on the case, capnography.
- Supplemental oxygen: it is provided throughout the procedure.
- Fetal evaluation: in advanced pregnancies, the obstetrician may request a check of the fetal heart rate before and after.
- Brief and targeted procedure: only what is necessary is done, without prolonged examinations.
- Prior review of medical history: allergies, reflux, medications, and the contraindications of flexible endoscopy.
Regarding rest, another common question: how long to rest after a digestive endoscopy? Normally, you spend between 30 and 60 minutes in observation until the sedation wears off, and then you can go home accompanied. Do not drive or make important decisions that day. If there was a biopsy or therapy, the doctor may ask you to take more care. Incapacity is not automatic: your doctor determines it according to the sedation, the procedure, and your job.
When is it best to wait until after childbirth?
It is best to wait when the symptoms are mild or stable, when the result would not change the treatment, and when there are no warning signs. Most pregnancy-related digestive discomforts improve with diet, lifestyle adjustments, and safe medications, and the study can be done after childbirth without losing anything.
Waiting is not neglecting yourself. It is following a plan: treating the symptoms, monitoring them, and deciding in advance which signs would bring the study forward. If the heartburn improves, if you tolerate food, and hemoglobin remains stable, postponing is usually the most prudent course. It makes sense to wait if:
- Reflux or gastritis respond to the treatment indicated by your doctor.
- There is no bleeding, progressive anemia, or difficulty swallowing.
- You are in the first trimester and the discomfort is tolerable.
- The study is for screening or monitoring, not for urgent diagnosis.
And flexible endoscopy during pregnancy should not be postponed if vomiting blood, black stools, severe pain that does not subside, marked weight loss, or an inability to tolerate liquids appear. In those cases, delaying the study can be riskier than doing it. When in doubt, go to the emergency room instead of enduring it.
When you decide to wait, flexible endoscopy during pregnancy does not disappear from your medical history: it remains pending, with clear criteria. Ask your doctor to write down which symptoms would bring the study forward, so that an emergency does not take you by surprise.
After childbirth, the study is usually scheduled with more calm, without the limitation of positioning and with the sedation the gastroenterologist considers appropriate. If you are breastfeeding, also ask about the drugs that would be used, because some change depending on their compatibility with breastfeeding.
Questions to ask your obstetrician and gastroenterologist
The decision about flexible endoscopy during pregnancy is made among three: you, your obstetrician, and your gastroenterologist. Arriving with specific questions helps you understand what is gained, what is risked, and what alternatives are available, and avoids decisions based on fear or haste.
These are the questions that help the most in deciding on flexible endoscopy during pregnancy, separated by specialist:
For the gastroenterologist:
- How will this result change my treatment?
- Is there a less invasive alternative for now?
- Can it be done without sedation or with light sedation?
- How long will the procedure last and where will it be done?
- What happens if we decide to wait, and what signs would make me come back?
For the obstetrician:
- Is this a good time in the pregnancy to do it?
- Do I need any check of the baby before or after?
- What medications can I continue to take that day?
- What subsequent symptoms should lead me to the clinic, such as contractions or bleeding?
If you want to review general information about the procedure, the Wikipedia page on endoscopy offers a basic description, and the guidelines of the American Society for Gastrointestinal Endoscopy contain recommendations for the procedure in pregnant women. Use them as support, not as a substitute for the opinion of your doctors.
What you can do before deciding on flexible endoscopy during pregnancy is to write down your symptoms, how long you have had them, what you have taken, and how many weeks pregnant you are. Ask your obstetrician and gastroenterologist to talk to each other before scheduling the study. That coordination is what reduces the risk the most.
Frequently asked questions
Can I have an endoscopy if I am pregnant?
Yes, when there is a clear indication such as gastrointestinal bleeding, persistent vomiting with weight loss, or difficulty swallowing. It is done with the least sedation possible, continuous monitoring, and preferably in the second trimester. If the symptoms are mild, it is normally treated first and the study is postponed until after childbirth.
When do they give a medical leave after an endoscopy?
Not always. The medical leave is decided by your doctor according to the type of procedure, the sedation used, and the demands of your job. With sedation, the usual thing is not to drive or work that day. Ask at the clinic if you need a certificate and confirm with your health insurance how it is processed in your case.
What happens if you are pregnant and they give you anesthesia?
A short and well-monitored sedation is usually safe for the mother and the baby. The real risk is the lack of oxygen or low blood pressure, not so much the drug. That is why the minimum dose is used, supplemental oxygen, left lateral position, and constant monitoring of vital signs during the study.
How long to rest after a digestive endoscopy?
Normally, you spend 30 to 60 minutes in observation until the sedation wears off. After that, you can go home accompanied and rest the rest of the day, without driving or making important decisions. If there were biopsies or therapy, your doctor may ask you to take more care and follow a soft diet for a while.
Is endoscopy safe during pregnancy?
It is considered safe when it is well-indicated and done with precautions. Studies show a low risk, although some observe a slight increase in preterm birth, which is difficult to separate from the effect of the underlying illness. The key is to avoid hypoxia and hypotension and decide together with the obstetrician.
Can a gastroscopy be done during pregnancy without sedation?
Yes, in many cases it is done with only topical anesthesia in the throat or with very light sedation. It is a good option when the patient cooperates and the study is short. Your gastroenterologist will evaluate if it is appropriate according to your anxiety, your gestational weeks, and the reason for the procedure.

