How Long Do You Have to Be NPO Before Surgery?

For most adults having elective surgery, you need to stop eating solid food at least 6 hours beforehand and stop drinking clear liquids at least 2 hours before. These are the standard fasting guidelines from the American Society of Anesthesiologists, and they apply whether you’re getting general anesthesia, regional anesthesia, or sedation. Fatty or fried foods require 8 or more hours of fasting.

The reason for these rules is straightforward: when you’re under anesthesia, your body’s normal protective reflexes shut down. If your stomach still has food or liquid in it, that material can travel up into your throat and slip into your lungs. This is called aspiration, and it can cause a serious lung infection. It happens in roughly 3 out of every 10,000 anesthesia cases, with higher rates in emergency surgeries and older adults.

Fasting Times by Food and Drink Type

Not everything you eat or drink empties from your stomach at the same rate, so the fasting window depends on what you consumed last.

  • Clear liquids (water, black coffee, apple juice, tea without milk): 2 hours
  • Breast milk (for infants): 4 hours
  • Infant formula, non-human milk, or a light meal: 6 hours
  • Fried foods, fatty foods, or meat: 8 hours or more

A “light meal” typically means something like toast and clear fluids. The heavier or fattier the meal, the longer your stomach takes to empty. If you had a steak dinner the night before an early-morning surgery, you’re likely fine after a normal overnight fast. But if you eat a greasy breakfast 5 hours before an afternoon procedure, your surgery could be delayed or canceled.

“Clear liquids” means you can see through them. Coffee with cream doesn’t count. Orange juice with pulp doesn’t count. Milk of any kind, protein shakes, and smoothies are not clear liquids.

What About Gum, Candy, or Smoking?

Chewing gum before surgery is a common source of anxiety for patients. The European Society of Anaesthesiology’s guidelines state that chewing gum, sucking on hard candy, or smoking right before anesthesia should not be grounds for canceling or delaying your operation. While some individual surgical teams may be stricter, the consensus is that these don’t put a meaningful amount of material in your stomach.

Fasting Rules for Infants and Children

Babies and young children follow the same basic framework, but breast milk gets special treatment. Because it digests faster than formula, breastfed infants only need to stop nursing 4 hours before a procedure. Formula-fed infants need a full 6 hours, and the same goes for soy, rice, or cow’s milk. Solid foods in older children require at least 8 hours of fasting, just like adults eating fatty or heavy meals.

For parents managing a fussy, hungry baby on surgery day, timing the last feeding carefully can make a real difference. If your child’s procedure is scheduled for 8:00 a.m., you could breastfeed up until 4:00 a.m. but would need to stop formula by 2:00 a.m.

Carbohydrate Drinks and Modern Protocols

If your surgical team follows an Enhanced Recovery After Surgery (ERAS) protocol, you may actually be encouraged to drink a clear carbohydrate beverage 2 hours before your procedure. This isn’t breaking the fasting rules. It’s a deliberate strategy that has become standard in many hospitals for major abdominal and other surgeries.

These drinks are clear, easily digested, and contain about 25 grams of carbohydrates per serving. Drinking them helps your body shift out of its overnight fasting state, which reduces insulin resistance during surgery and helps maintain muscle mass afterward. Patients who drink them report significantly less hunger, thirst, and preoperative discomfort compared to those who fast completely. In one trial of colorectal surgery patients, satisfaction scores were nearly 70% higher in the group that received the carbohydrate drink.

You should only do this if your surgical team specifically gives you the drink or instructs you to buy one. Don’t substitute sports drinks or juice on your own.

Medications on Surgery Day

Being NPO doesn’t necessarily mean skipping your morning pills. Most medications should be taken on schedule with a small sip of water, even on the day of surgery. This includes blood pressure medications like beta blockers and calcium channel blockers, thyroid medications, antidepressants, anti-seizure drugs, heartburn medications, steroids, and pain medications you take regularly.

Some medications, however, need to be stopped well in advance:

  • Blood pressure drugs called ACE inhibitors or ARBs: typically held the morning of surgery
  • Diuretics (water pills): held the morning of surgery
  • Blood thinners and aspirin: may need to be stopped 5 to 10 days before, depending on the type
  • Anti-inflammatory painkillers (ibuprofen, naproxen): held 1 to 3 days before surgery
  • GLP-1 medications for diabetes or weight loss (semaglutide, tirzepatide): held 1 to 2 weeks before surgery, or the day before if you take a daily version
  • Oral diabetes medications and SGLT-2 inhibitors: held the evening before and the morning of surgery
  • Herbal supplements: stopped at least one week before
  • Diet pills and appetite suppressants: stopped at least one week before

Your surgical team will give you a specific medication list. If they don’t, ask.

GLP-1 Drugs Deserve Special Attention

If you take a GLP-1 receptor agonist for diabetes or weight loss, this is one of the most important fasting-related issues in surgery right now. These medications work partly by slowing down how fast your stomach empties. That means even if you follow standard fasting rules, your stomach may still contain food or liquid at the time of your procedure. Current guidance is to stop weekly injections 1 to 2 weeks before surgery and daily versions the day before. If you forget to hold the medication, let your anesthesia team know, because they may need to take extra precautions or reschedule.

When Conditions Affect Stomach Emptying

Standard fasting times assume your digestive system works at a normal pace. Certain conditions slow gastric emptying significantly, which means food stays in your stomach longer than expected. Gastroparesis, common in people with long-standing diabetes, is the most well-known example. Pregnancy, obesity, kidney disease, and certain neurological conditions can also delay emptying.

The ASA guidelines don’t set a single extended fasting time for these groups, but your anesthesia team will likely recommend longer fasting periods or additional precautions. If you have any condition that affects digestion, mention it during your pre-operative visit so the team can plan accordingly.

What Happens If You Eat Too Close to Surgery

If you accidentally eat or drink outside the allowed window, tell your surgical team immediately. In most cases for elective procedures, they will delay your surgery until enough time has passed. They won’t simply proceed and hope for the best. Aspiration is rare but can be severe: when stomach contents enter the lungs, they cause intense inflammation and infection regardless of acidity. Even stomach contents at a relatively neutral pH cause serious lung injury, including dangerously low oxygen levels.

For emergency surgery where waiting isn’t an option, the anesthesia team uses specific airway techniques to minimize aspiration risk. But for a planned procedure, honesty about what you ate or drank is far better than the alternative.