For most surgeries, people are told to stop eating solid food after midnight the night before, but the exact timing depends on the procedure and your surgeon’s instructions.

Quick answer

A common rule is:

  • Stop solid food at least 8 hours before surgery or after midnight for morning procedures.
  • Clear liquids may sometimes be allowed up to 2 hours before anesthesia , but only if your surgical team says so.
  • If you take GLP-1 medicines like Ozempic, you may need different fasting instructions.

Why it matters

Eating too close to surgery can increase the risk of vomiting and aspiration while you’re under anesthesia. That’s why hospitals often give very specific fasting rules, and some procedures have stricter limits than others.

What to do tonight

  • Follow the exact instructions from your surgeon or hospital.
  • If you were told “nothing after midnight,” take that literally for food.
  • If your instructions mention water, black coffee, or clear liquids, follow only the approved list.
  • If you’re unsure, call the surgical team before eating or drinking anything.

If you want, I can also give you the usual fasting rules for solid food, water, coffee, and medications in a simple checklist.