You're likely wondering if it's just to prevent nausea and vomiting when you wake up. That's a factor, but the primary reason for fasting before surgery is far more critical: safeguarding your lungs from serious complications.
Fasting is standard for procedures involving general anesthesia. For minor interventions like splinter removal or keyhole knee surgery under local anesthesia, you typically stay awake, so fasting isn't required.
Medical guidelines generally allow a light meal up to 6 hours before admission and clear fluids up to 2 hours prior. After that, nothing by mouth. Instructions may vary slightly by procedure or hospital, and you'll receive precise details in advance.
Also read: 'This is what your intestines do for you'
An empty stomach under anesthesia helps prevent aspiration pneumonia. Eating stimulates stomach acid production, which can reflux into the lungs during surgery—a dangerous outcome experts work hard to avoid.