What you eat in the days and hours before surgery has a real effect on how safely anesthesia goes and how quickly you recover afterward. The old rule of “nothing after midnight” has been replaced by more nuanced guidelines that actually encourage certain drinks up to two hours before your procedure, while a handful of foods, supplements, and substances genuinely need to be stopped well in advance. The specifics depend on the type of surgery, your medical history, and what medications you take, but the broad strokes apply to most people heading into an elective operation.
How Close to Surgery You Can Eat and Drink
The reason you fast before surgery is to keep your stomach empty so nothing comes back up into your lungs while you’re under anesthesia. That risk, called pulmonary aspiration, is rare but serious. For decades, hospitals told patients to stop eating and drinking after midnight the night before. That blanket instruction was based on surprisingly thin evidence, including a single experiment from 1974 involving one monkey, whose results were extrapolated to humans and went essentially unchallenged for over two decades.
1Best Practice & Research Clinical Anaesthesiology. Preoperative fasting in children. The evolution of recommendations and guidelines, and the underlying evidenceModern guidelines are considerably more relaxed about liquids. The American Society of Anesthesiologists updated its recommendations in 2023 and now recommends that healthy adults drink clear liquids, including those containing carbohydrates, up to two hours before elective procedures under general anesthesia, regional anesthesia, or sedation.
2Anesthesiology. 2023 American Society of Anesthesiologists Practice Guidelines for Preoperative FastingA randomized trial confirmed that allowing clear fluids up to two hours before general anesthesia is safe compared to the traditional six-to-eight-hour fast.
3Annals of Surgical Treatment and Research. The safety and effect of preoperative reduced fasting time by oral clear liquid administration in adult surgery patients: a randomized controlled trialFor solid food, most guidelines still recommend stopping at least six hours before anesthesia. The difference comes down to how fast things leave your stomach. Clear fluids pass through quickly, while solid food lingers much longer, especially if it contains fat or fiber.
What Counts as a Clear Liquid
Clear liquids are anything you can see through: water, apple juice, black coffee, tea without milk, clear broth, and sports drinks. Milk, smoothies, protein shakes, and orange juice with pulp do not count. The distinction matters because milk and other opaque drinks contain fat and protein that slow gastric emptying significantly. One study comparing milk to calorically matched clear fluids found that milk empties from the stomach more slowly, which is why fasting guidelines treat it differently from transparent drinks.
4British Journal of Anaesthesia. Determinants of liquid gastric emptying: comparisons between milk and isocalorically adjusted clear fluidsEven among clear liquids, emptying speed varies. A crossover study measuring gastric emptying times found that a simple blackcurrant juice emptied in about 89 minutes on average, while a higher-fat oat drink took around 152 minutes. Mango juice, which is higher in sugar and fiber, landed in between at roughly 135 minutes.
5PubMed. Effects of caloric and nutrient content of oral fluids on gastric emptying in volunteers: a randomised crossover studyThe practical takeaway: simpler, lower-calorie clear drinks leave your stomach fastest. If you’re choosing what to sip the morning of surgery, plain water, diluted juice, or a clear carbohydrate drink is the safest bet.
Carbohydrate Drinks the Night Before and Morning Of
One of the bigger shifts in surgical nutrition over the past two decades is the idea that you should actively drink a carbohydrate beverage before your operation, not just be allowed to. This is a cornerstone of Enhanced Recovery After Surgery (ERAS) protocols, which aim to get patients moving and eating sooner after their procedure. The logic is that arriving at surgery in a fed metabolic state, rather than a depleted one, reduces the stress response your body mounts during and after the operation.
A systematic review and meta-analysis of randomized trials found that preoperative carbohydrate loading was associated with reduced postoperative insulin resistance compared to fasting or placebo.
6PubMed Central. Effects of preoperative carbohydrate loading on recovery after elective surgery: A systematic review and Bayesian network meta-analysis of randomized controlled trialsInsulin resistance after surgery is linked to slower healing, more infections, and longer hospital stays, so blunting it is meaningful. Another trial found that whether patients had a single dose or a double dose of carbohydrate drink before gastrectomy, the insulin resistance markers and recovery outcomes were similar, suggesting that even one serving the morning of surgery is helpful.
7PubMed. Effects of preoperative oral single-dose and double-dose carbohydrates on insulin resistance in patients undergoing gastrectomy: a prospective randomized controlled trialPatients also just feel better. A trial involving people with diabetes undergoing gastrointestinal surgery found that those who received a preoperative carbohydrate drink reported significantly less thirst, hunger, and fatigue both before and after the operation compared to those who fasted conventionally.
8PubMed. Preoperative carbohydrate loading with individualized supplemental insulin in diabetic patients undergoing gastrointestinal surgery: A randomized trialThese drinks are typically maltodextrin-based and commercially available. Your surgical team may provide one or recommend a specific brand. If they don’t mention it, ask.
Why High-Fat Foods Are the Worst Choice Before Surgery
If you’re eating your last solid meal the evening before surgery, the composition matters as much as the timing. High-fat meals slow gastric emptying substantially. A study in healthy volunteers found that meals with high fat content emptied from the stomach significantly more slowly than high-carbohydrate meals, with the half-emptying time meaningfully longer after fat.
9PubMed Central. Superior mesenteric artery blood flow and gastric emptying in humans and the differential effects of high fat and high carbohydrate mealsResearch into gastroparesis has also shown that low-fat diets and small-particle foods (things that are easy to break down mechanically) don’t aggravate delayed stomach emptying, while fatty and fibrous meals do.
10PubMed Central. Dietary Interventions for Gastroparesis: A Systematic ReviewFor your last pre-surgery dinner, think plain carbohydrates and lean protein: pasta with a light sauce, rice with chicken, toast with a small amount of peanut butter. Avoid fried food, creamy sauces, red meat with visible fat, and heavy desserts. You don’t need to eat an elaborate meal; the goal is to go into the fasting window with your stomach able to empty efficiently so that by the time you’re on the operating table, it’s clear.
Alcohol in the Weeks Before Surgery
Alcohol is one of the most underappreciated surgical risk factors. A meta-analysis in the Annals of Surgery found that preoperative alcohol consumption was associated with roughly 56% higher overall complication rates, 73% higher infection rates, 80% higher pulmonary complications, and 23% higher wound complication rates. People classified as heavy drinkers had nearly three times the risk of dying after surgery compared to non-drinkers.
11Annals of Surgery. Preoperative Alcohol Consumption and Postoperative ComplicationsA Cochrane review noted that alcohol-related organ damage is at least partly reversible if you stop drinking before surgery, and that preoperative abstinence programs may reduce complication rates.
12Cochrane Database of Systematic Reviews. Preoperative alcohol cessation interventions for postoperative complications in hazardous drinkersMost surgeons recommend stopping alcohol at least one to two weeks before an operation, though the longer you abstain, the more recovery your body can achieve. Even moderate drinking affects wound healing and immune function, so this isn’t advice reserved only for heavy drinkers.
Caffeine and Withdrawal Headaches
Caffeine itself doesn’t pose a direct surgical risk, but the forced fast before surgery can trigger withdrawal headaches in regular coffee drinkers. A study found that patients who consumed more than 400 mg of caffeine daily (roughly four cups of coffee) had about five times the odds of developing a preoperative headache during the fasting period. Those who arrived with a preoperative headache were then far more likely to have a postoperative headache as well.
13British Journal of Anaesthesia (Oxford Academic). Effect of previous frequency of headache, duration of fasting and caffeine abstinence on perioperative headacheThe simplest solution is to drink a cup of black coffee or tea during the two-hour clear-liquid window before your procedure, since both count as clear fluids. If your surgery is very early in the morning and you’d rather not risk it, gradually tapering your caffeine intake over the week before surgery can prevent withdrawal symptoms on the day.
Supplements and Herbal Products to Stop
Herbal supplements are a hidden hazard before surgery. Roughly a third of American adults take them, and many don’t mention them to their doctors.
14PubMed Central. Dietary supplements and bleedingThe problem is that many common supplements interfere with blood clotting. A review found that nearly half of herbal products studied had antiplatelet properties, while others acted as anticoagulants or a combination of both.
15PubMed Central. Review of herbal medications with the potential to cause bleeding: dental implications, and risk prediction and prevention avenuesThe most commonly flagged supplements include garlic, ginkgo biloba, ginger, fish oil, vitamin E (in high doses), turmeric, and ginseng. These can increase bleeding during and after surgery. Additionally, sedating herbs like kava and valerian can intensify the effects of anesthesia drugs.
16JAMA. Herbal Medicines and Perioperative CareMost surgical teams recommend stopping all herbal supplements at least one to two weeks before your procedure. Standard vitamins and minerals (a basic multivitamin, vitamin D, calcium) are generally fine to continue unless your surgeon says otherwise, but anything marketed for a specific health effect — energy, joint pain, cognitive function — deserves a conversation with your surgical team.
GLP-1 Medications and Stomach Emptying
If you take a GLP-1 receptor agonist like semaglutide (Ozempic, Wegovy) or tirzepatide (Mounjaro, Zepbound), your anesthesia team needs to know. These drugs work partly by slowing stomach emptying, which raises a concern that your stomach might still contain food even after the standard fasting period. A study published in JAMA Surgery found that patients using GLP-1 medications had about 2.5 times the prevalence of increased residual stomach content before anesthesia compared to patients not on these drugs, with 56% of the GLP-1 group showing significant leftover food or fluid versus 19% of controls.
17JAMA Surgery. Glucagon-Like Peptide-1 Receptor Agonist Use and Residual Gastric Content Before AnesthesiaThe implications are still being worked out. The theoretical risk is aspiration, though direct evidence linking GLP-1 use to aspiration events during anesthesia remains limited.
18PubMed Central. GLP-1 receptor agonists and delayed gastric emptying: implications for invasive cardiac interventions and surgeryMany anesthesia guidelines now recommend holding the weekly injectable GLP-1 medications for at least one week before surgery, and daily versions for at least one day. Some centers ask patients to follow a liquid diet for 24 hours beforehand as an extra precaution. The guidance is evolving rapidly, so check with your surgical team about their specific protocol.
19PubMed. Perioperative management of long-acting glucagon-like peptide-1 (GLP-1) receptor agonists: concerns for delayed gastric emptying and pulmonary aspirationBuilding Up Nutrition in the Weeks Before
Beyond what to avoid, there’s growing evidence that actively improving your nutrition before surgery pays off in measurable ways. This is especially true for protein. A controlled study in patients undergoing abdominoplasty found that those who received protein supplementation had significantly lower rates of wound separation (6% vs. 17%) and seroma formation, and healed about four days faster on average.
20PubMed. Early Protein Supplementation Enhances Wound Healing and Reduces Complications Following Abdominoplasty: A Controlled Study in Non-bariatric PatientsA randomized trial in elective spine surgery found even more striking results: patients who received nutritional supplementation had much lower rates of in-hospital complications and wound healing problems. Among malnourished patients specifically, none in the supplementation group needed a return trip to the operating room within 90 days, compared to over 12% of those who didn’t supplement.
21Spine. Perioperative Nutritional Supplementation Decreases Wound Healing Complications Following Elective Lumbar Spine Surgery: A Randomized Controlled TrialYou don’t need to be clinically malnourished for this to matter. Surgery triggers a stress response that burns through your body’s protein reserves quickly. Coming in well-nourished gives your immune system and wound-healing machinery more to work with.
Immunonutrition Before Major Operations
For patients facing major surgery, particularly abdominal or cancer operations, specialized nutritional formulas containing arginine, omega-3 fatty acids, and nucleotides have been studied extensively. These “immunonutrition” supplements are designed to support the immune system through the perioperative stress period.
22PubMed. Nutrition optimization prior to surgeryA meta-analysis of patients undergoing colorectal cancer surgery found that preoperative immunonutrition significantly reduced minor infectious complications by about a third. Higher doses appeared to produce greater reductions in infection risk.
23PubMed. Effects of Preoperative Immunonutrition on Postoperative Complications in Patients Undergoing Colorectal Cancer Resection: A Systematic Review and Meta-analysisResearch into the mechanism shows that these nutrients measurably shift immune markers. In one trial, patients who received a formula enriched with arginine and omega-3 fatty acids for about a week before surgery had lower levels of inflammatory markers and better protein status eight days after the operation compared to controls.
24PubMed. A prospective, randomized clinical trial on perioperative feeding with an arginine-, omega-3 fatty acid-, and RNA-enriched enteral diet: effect on host response and nutritional statusThese formulas are typically prescribed by a surgical or nutrition team and taken as oral supplements for five to seven days before the procedure. They’re most commonly used before gastrointestinal cancer surgery, but the concept is expanding into other surgical specialties. If you’re facing a major operation and no one has mentioned nutritional preparation, it’s worth asking about.
25PubMed Central. Should perioperative immunonutrition for elective surgery be the current standard of care?The Pre-Bariatric Surgery Diet
Patients preparing for bariatric surgery often receive a specific low-calorie diet for two to four weeks before the operation. The goal isn’t weight loss for its own sake; it’s to shrink the liver. The left lobe of the liver sits directly over the stomach and needs to be lifted out of the way during surgery. In people with obesity, the liver is often enlarged and fatty, making the procedure technically harder and riskier.
A systematic review found that low-calorie diets reduced total liver volume by an average of about 14%, with some studies reporting reductions up to 27%.
26PubMed Central. Preoperative Methods to Reduce Liver Volume in Bariatric Surgery: a Systematic ReviewAnother review looking specifically at very low-calorie diets found liver volume reductions between 5% and 20%, along with meaningful weight loss before the operation.
27PubMed. Effects of very low calorie diets on liver size and weight loss in the preoperative period of bariatric surgery: a systematic reviewDiets lasting two to four weeks appear to achieve most of the liver shrinkage benefit, with reductions of 11% to 23% within that window.
28PubMed Central. Effectiveness of a Low-Calorie Diet for Liver Volume Reduction Prior to Bariatric Surgery: a Systematic ReviewThese diets are usually high-protein, low-carbohydrate, and very low in fat — often built around protein shakes, lean meats, and non-starchy vegetables. Compliance matters: skipping the pre-op diet can lead to a larger, more fragile liver that increases operative difficulty and the chance of complications.
Managing Blood Sugar If You Have Diabetes
People with diabetes face a unique set of challenges around surgery. Fasting can cause dangerous blood sugar drops, while the stress of surgery tends to push blood sugar too high. Both extremes impair healing and increase infection risk. A large study found that a structured preoperative diabetes management program lowered average blood glucose on the day of surgery, reduced hospital stay length, and cut rates of dangerously low blood sugar episodes roughly in half.
29PubMed. Effect of Preoperative Diabetes Management on Glycemic Control and Clinical Outcomes After Elective SurgeryExpert guidance stresses that prolonged fasting should be avoided in diabetic patients, and that close blood sugar monitoring should begin before surgery and continue throughout.
30PubMed Central. Perioperative challenges in management of diabetic patients undergoing non-cardiac surgeryIf you have diabetes, your team should give you specific instructions about your medications: which to take, which to hold, and how to adjust insulin doses on the morning of surgery. The carbohydrate drinks discussed earlier can actually help stabilize blood sugar during the fasting window, though they need to be coordinated with your diabetes regimen.
Gum Chewing and Other Gray Areas
One of the more common sources of pre-surgery anxiety is the patient who accidentally chews gum or eats a mint and worries their operation will be cancelled. The evidence here is reassuring. Studies have consistently shown that chewing sugarless gum does not increase either the volume or acidity of stomach contents.
31PubMed. Sugarless gum chewing before surgery does not increase gastric fluid volume or acidityA more recent crossover study confirmed that chewing gum for 45 minutes after drinking water did not change gastric emptying or increase residual stomach volume measured two hours later.
32British Journal of Anaesthesia. Effect of gum chewing on gastric volume and emptying: a prospective randomized crossover studyThe 2023 ASA guidelines specifically address this, noting that gum chewing should not require delay or cancellation of surgery. So if you absentmindedly pop a piece of gum on the way to the hospital, don’t panic.
Why Fasting Instructions Often Go Wrong
Despite clear guidelines, patients routinely fast far longer than necessary. A study at a referral hospital found that nearly three-quarters of patients fasted for more than 15 hours before their surgery, and over 93% didn’t actually understand why they were fasting. The resulting thirst, hunger, and anxiety were rated as moderately to highly challenging by large proportions of patients.
33PubMed Central. Preoperative Fasting among Adult Patients for Elective Surgery in a Kenyan Referral HospitalExcessive fasting isn’t just uncomfortable; in children, longer fasting times have been independently associated with higher odds of complications like low blood volume.
34PubMed Central. Preoperative clear fluids fasting times in children: retrospective analysis of actual times and complications after the implementation of 1-h clear fastingThe disconnect often comes down to communication. Instructions like “nothing after midnight” are easy to remember but out of date. If you’re told to fast from midnight for a surgery scheduled at 2 PM, you’re looking at 14-plus hours without fluids for no medical benefit. Push back gently: ask your anesthesia team exactly when you should stop clear liquids (usually two hours before your scheduled arrival time) and when you should eat your last solid meal (usually six hours before). Getting those specific times written down can prevent both unnecessary suffering and the metabolic disadvantage of showing up depleted.