How to Prepare for an Endoscopy: Fasting, Meds & More

Preparing for an upper endoscopy is straightforward: stop eating solid food at least eight hours before your procedure and stop drinking liquids four hours before. Beyond fasting, there are a few other steps involving medications, logistics, and diet that will help the day go smoothly. Here’s everything you need to know.

Fasting: When to Stop Eating and Drinking

Your stomach needs to be empty so the doctor can see clearly and reduce the risk of aspiration (stomach contents entering your lungs). The standard rule is no solid food for eight hours and no liquids for four hours before your scheduled procedure time. Most endoscopies are scheduled in the morning, so the easiest approach is to finish dinner the night before and skip breakfast.

If your procedure is in the afternoon, you can usually have a light breakfast very early in the morning, but confirm the exact cutoff time with your doctor’s office. Even a small snack too close to the procedure can lead to cancellation or rescheduling.

What You Can Drink Before the Cutoff

During the hours when you’ve stopped eating solids but can still have liquids, stick to clear liquids only. These are anything you can see through:

  • Plain water
  • Clear fruit juices without pulp (apple, grape, cranberry)
  • Broth, bouillon, or consommé
  • Clear sodas like ginger ale or Sprite
  • Plain gelatin or popsicles without fruit bits or yogurt
  • Tea or coffee with no cream or milk
  • Sports drinks without coloring

Avoid anything with pulp, milk, yogurt, or cream. Your doctor may also ask you to skip red or purple liquids, since the coloring can be mistaken for blood during the procedure.

Blood Thinners and Other Medications

If you take blood-thinning medications, your doctor will likely ask you to stop them several days before the procedure. The exact timeline depends on which medication you’re on. Warfarin typically needs to be stopped five days ahead. Newer blood thinners like apixaban or rivaroxaban may need one to four days depending on your kidney function. Clopidogrel generally requires five to seven days off.

Aspirin and over-the-counter anti-inflammatory drugs like ibuprofen and naproxen should also be held before an elective endoscopy, per guidelines from the American Society for Gastrointestinal Endoscopy. Your doctor will tell you exactly when to stop and, just as importantly, when it’s safe to restart.

Never stop a blood thinner on your own. Your doctor needs to weigh the bleeding risk during the procedure against your risk of a clot or stroke without the medication. In some cases, they may have you continue certain drugs or switch to a short-acting alternative. Bring a complete list of every medication, vitamin, and supplement you take to your pre-procedure appointment so nothing gets missed.

If You Have Diabetes

Fasting creates a tricky situation when you take insulin or other blood sugar medications, because your glucose can drop without food. Let your doctor know well in advance that you have diabetes. They’ll typically adjust your medication doses for the fasting period. You may be asked to reduce your insulin the night before or skip your morning oral medication. Many practices schedule diabetic patients as the first case of the day to minimize fasting time. Bring your glucose monitor and a snack for after the procedure.

What Happens With Sedation

Most upper endoscopies use moderate sedation, sometimes called conscious sedation. You’ll receive medication through an IV that makes you drowsy and relaxed, but you can still breathe on your own and respond to the doctor if needed. Many people don’t remember the procedure at all. General anesthesia, where you’re completely unconscious, is less common for routine endoscopies but may be used in certain situations.

The sedation is the main reason the procedure requires advance planning. Even though the endoscopy itself takes only 15 to 30 minutes, the sedation lingers. You’ll spend 30 to 60 minutes in a recovery area afterward while the medication wears off, and you’ll feel groggy for hours beyond that.

Arrange a Ride Home

This is non-negotiable. You cannot drive yourself home after sedation. Current guidelines advise patients to avoid driving, operating machinery, and making major decisions until the next day. This recommendation comes from an era of older sedation drugs, and some researchers have questioned whether a full 24-hour ban is still necessary with newer, faster-clearing medications like propofol. But in practice, most facilities still require you to have a responsible adult pick you up and stay with you, and they won’t discharge you alone.

Plan for someone to be available at the facility when you’re done, not just reachable by phone. Taking a rideshare or unescorted public transit typically doesn’t meet the discharge requirement. If arranging a ride is difficult, mention it when you schedule the procedure so the office can help you problem-solve.

The Night Before and Morning Of

Eat a normal, light dinner the night before. Avoid heavy, greasy, or high-fiber meals that take longer to digest. After your food cutoff, switch to clear liquids if you’re thirsty. Set an alarm to stop liquids four hours before your procedure time.

On the morning of, wear comfortable, loose-fitting clothes. Leave jewelry, watches, and valuables at home. Bring your ID, insurance card, and any paperwork the office sent you. If you wear contact lenses, consider switching to glasses for the day since you’ll be sedated and may not want to deal with them. You’ll change into a hospital gown, so comfort matters more than appearance.

How Safe Is the Procedure

Upper endoscopy is one of the most commonly performed procedures in gastroenterology, and serious complications are rare. Perforation (a small tear in the lining of the digestive tract) occurs in roughly 1 in 2,500 to 1 in 11,000 diagnostic endoscopies. Clinically significant bleeding after a diagnostic endoscopy is exceedingly low, even when multiple biopsies are taken. Sedation-related complications occur in about 0.3% of cases, with major sedation events in just 0.01%.

Heart and lung events, like a brief drop in oxygen levels, happen in up to 0.6% of procedures and are almost always caught and managed immediately by the monitoring team. The throat-numbing spray used before the scope carries a very small risk of an allergic reaction.

What to Watch for Afterward

A mild sore throat and bloating are completely normal after an endoscopy and typically resolve within a day. You can usually start eating soft foods once you feel alert enough to swallow comfortably.

Contact your doctor or go to an emergency room if you develop fever, severe or worsening abdominal pain, chest pain, difficulty swallowing that doesn’t improve, vomiting blood, or black stools. These could signal a perforation or bleeding, and while both are rare, they need prompt evaluation. Most people feel back to normal by the next morning.