Generally speaking, pregnant women can have a gastroscopy, but you should ask your doctor to decide whether or not to have a gastroscopy on a case-by-case basis.
Gastroscopy is the use of a thin, soft tube into the stomach in order to observe the esophagus, stomach and duodenum lesions, gastroscopy generally does not affect the pregnant woman and the fetus, so pregnant women can do gastroscopy.
However, the clinical generally use painless gastroscopy, do painless gastroscopy generally need local anesthesia, and anesthesia drugs may have an effect on the fetus, so pregnant women are recommended to ask the doctor to determine whether to do gastroscopy combined with a variety of circumstances.
It should be noted that pregnant women should adjust their mood during gastroscopy and should not be overly nervous, in order to prevent the probability of miscarriage due to nervousness. In addition, pregnant women should consult a doctor if they feel unwell.