What Can I Eat 3 Days Before an Endoscopy?

An upper endoscopy, medically known as an esophagogastroduodenoscopy (EGD), uses a flexible tube with a camera to examine the lining of the upper digestive tract, including the esophagus, stomach, and the beginning of the small intestine. This examination allows a physician to look for the causes of symptoms like heartburn, nausea, abdominal pain, or difficulty swallowing. Successful visualization relies entirely on strict adherence to the preparation diet provided by your healthcare team. Proper dietary preparation ensures the stomach is empty, allowing the specialist to clearly view the tissues and identify potential issues.

The Purpose of Pre-Endoscopy Diet Restrictions

Dietary restrictions before an EGD ensure patient safety and examination accuracy. Food residue, especially high-fiber items, can remain in the stomach for many hours, obstructing the physician’s view of the stomach lining and the upper duodenum. If the endoscope lens is obscured by undigested material, the procedure may be inconclusive, potentially requiring a repeat test.

Fasting protocols also significantly reduce the risk of aspiration, a serious complication where stomach contents might be inhaled into the lungs while the patient is under sedation. Since the body’s protective airway reflexes are impaired during sedation, an empty stomach is the safest condition for the procedure. Minimizing the volume of material in the digestive tract promotes both clear visibility and patient safety.

The Low-Residue Diet: Three Days Before the Procedure

The three-day preparation phase involves transitioning to a low-residue diet, designed to minimize undigested material that forms waste in the digestive tract. The goal of this diet is to reduce stool volume and clean out the upper gastrointestinal system. This is accomplished by avoiding foods that are difficult to digest or contain high amounts of fiber, seeds, and nuts.

During this period, you must strictly avoid all whole grains, including brown rice, whole wheat bread, and high-fiber cereals. Foods containing small, indigestible parts must be eliminated entirely, such as nuts, seeds, popcorn, and legumes, as these can block the endoscope. Raw vegetables and fruits with skins or seeds, like berries, apples, and broccoli, are also restricted due to their high fiber content.

The diet should focus on easily digestible, refined foods. Allowed options include white bread, refined pasta, and white rice. Proteins should be lean and tender, such as well-cooked fish, chicken, or eggs, avoiding tough or gristly meats. Cooked vegetables are permitted only if they are peeled and deseeded, such as peeled potatoes, canned carrots, or well-cooked squash.

You can also consume smooth dairy products, like yogurt without fruit pieces or nuts, and clear juices without pulp, such as apple or white grape juice. Choosing refined grains and thoroughly processed or cooked foods is the guiding principle for minimizing waste volume.

The Final 24 Hours: Transitioning to Clear Liquids

Following the low-residue diet, preparation intensifies by transitioning to a clear liquid diet for the entire 24 hours immediately preceding the procedure. This phase requires completely stopping the consumption of all solid foods. The purpose of the clear liquid diet is to ensure no opaque residue remains in the stomach that could compromise visibility.

Clear liquids are defined as any fluid you can see through, leaving no undigested residue.

Acceptable Clear Liquids

  • Plain water
  • Clear broths (e.g., chicken or beef bouillon)
  • Clear fruit juices without pulp (e.g., apple or white grape juice)
  • Clear sports drinks
  • Plain gelatin and ice pops

Avoid items colored red, blue, or purple, as these pigments can be mistaken for blood during the endoscopy. Black coffee or tea are permitted, but you must not add milk, cream, or non-dairy creamers, as these are opaque and contain fat. Drink plenty of clear liquids throughout the 24-hour period to stay hydrated.

This liquid-only diet continues up to a final, strict cutoff time. You must stop all liquid intake, including water, a specific number of hours before your scheduled procedure time, typically between two and eight hours, though four hours is a common instruction. This final period of nil per os (NPO) fasting ensures the stomach is completely empty to prevent the risk of aspiration during sedation. Confirm this precise cutoff time with your physician’s office, as following their exact instructions is paramount for safety.

Essential Steps for the Day of the Procedure

The morning of the EGD requires several important logistical and medical actions. Adjusting your regular medications must be done only after consulting with the prescribing physician. Blood-thinning medications, such as certain anticoagulants and antiplatelet drugs, often need to be paused for several days or a week leading up to the procedure to minimize the risk of bleeding if a biopsy is performed.

Patients managing diabetes must receive specific instructions regarding their insulin or oral diabetes medications. These dosages usually need to be significantly reduced or held entirely because of the prolonged fasting period. Taking a full dose of these medications without food can lead to dangerously low blood sugar. Typically, medications for blood pressure, thyroid conditions, or seizures may be taken with a small sip of water several hours before the procedure, but all other pills should be held until afterward.

The NPO rule remains strictly in effect after the final cutoff time, meaning absolutely nothing by mouth is permitted, including chewing gum, hard candy, or a sip of water. Finally, due to the sedation administered during the EGD, your reflexes and judgment will be impaired for the rest of the day. You must arrange for a responsible adult to accompany you to the facility, remain there during the procedure, and drive you home afterward, as you will not be allowed to drive yourself.