Can I have a nucleic acid test after undergoing a gastroscopy?
Generally, it is possible to undergo a nucleic acid test after a gastroscopy, but it is recommended to wait 1–2 hours until discomfort in the throat has subsided, to avoid worsening physical discomfort. Specific analysis is as follows:

Gastroscopy involves inserting a tube through the pharynx, which may cause mild irritation to the pharyngeal mucosa, leading to symptoms such as a foreign body sensation, slight pain, or nausea after the procedure. Since nucleic acid testing also requires contact with the throat, performing it immediately after gastroscopy could intensify throat irritation, increase discomfort, and even trigger vomiting.
Waiting 1–2 hours allows the irritated throat mucosa to gradually recover, thereby reducing discomfort during the nucleic acid test. If a biopsy or therapeutic intervention was performed during the gastroscopy, resulting in more noticeable throat trauma, the interval should be extended appropriately until symptoms further improve.
After gastroscopy, patients should rest adequately, drink warm water to soothe the throat, and avoid consuming spicy or irritating foods immediately. After completing the nucleic acid test, continue proper throat care. If persistent sore throat or difficulty swallowing occurs, consult a doctor promptly.