Is It Better to Eat Before or After Working Out?

Both matter, but for different reasons. Eating before a workout fuels your performance during the session, while eating after supports recovery and muscle repair. The real answer depends on what kind of exercise you’re doing, how intense it is, and what your goals are. For most people, a small meal or snack before exercise and protein-rich food within a couple hours after gives you the best of both worlds.

What Eating Before a Workout Does for You

Food before exercise gives your muscles the fuel they need to perform. Carbohydrates are the primary energy source during moderate-to-high intensity work, and starting a session with topped-off energy stores lets you push harder and last longer. If you’ve ever felt lightheaded or sluggish midway through a tough workout, low fuel is often the reason.

How much and how far in advance you eat depends on how close you are to your workout. If you have two to three hours, a full balanced meal with carbohydrates, protein, and a small amount of fat works well. With only one to two hours, scale down to a smaller snack with one to two grams of carbohydrates per kilogram of your body weight (so roughly 70 to 140 grams for a 155-pound person). If you’re eating within 30 to 60 minutes of starting, stick to something easy to digest: a banana, a piece of toast, or a small handful of pretzels. High-fat and high-fiber foods slow digestion and can cause cramping or nausea during exercise, so save those for meals further from your training.

What Eating After a Workout Does for You

Post-workout nutrition is primarily about recovery. When you exercise, you deplete your muscles’ stored energy and create microscopic damage in muscle fibers (this is normal and how muscles grow stronger). Eating afterward provides the raw materials your body needs to rebuild.

Protein is the priority here. About 20 grams of protein consumed within two hours after exercise is enough to support muscle repair, and research from Mass General Brigham shows that going above 40 grams in that immediate post-workout window doesn’t appear to provide additional benefit. Think a chicken breast, a cup of Greek yogurt, a protein shake, or a couple of eggs.

Carbohydrates matter after exercise too, especially if you do endurance training or plan to work out again within the same day. Your muscles replenish their energy stores fastest in the hours right after exercise. One study in The American Journal of Clinical Nutrition found that combining protein with carbohydrates after exhaustive exercise more than doubled the rate of energy restoration in muscles compared to a lower-carbohydrate approach alone. A practical target for post-workout meals is roughly a 3:1 ratio of carbohydrates to protein, something like rice with chicken or a smoothie with fruit and protein powder.

Fasted Workouts and Fat Loss

Working out on an empty stomach is popular among people trying to lose fat, and there is a kernel of truth to the idea. A meta-analysis in the British Journal of Nutrition found that fasted aerobic exercise burns about 3 more grams of fat during the session compared to the same exercise done after eating. That advantage was significant at low-to-moderate intensity (like jogging or brisk walking) but disappeared at higher intensities.

Three grams of extra fat burned is a real but small difference. Over time, total daily calorie balance matters far more than whether you ate before a specific session. If fasting before a morning run feels fine and helps you stay consistent, it’s a reasonable approach. But if it makes you feel terrible or forces you to cut your workout short, the tradeoff isn’t worth it.

When Skipping Food Becomes a Problem

Low-intensity fasted workouts like yoga, walking, or easy cycling generally don’t pose a risk to muscle tissue. The concern grows with intensity and duration. During harder or longer sessions without available fuel, your body can start breaking down muscle protein for energy, which is the opposite of what most people want from training.

This matters most for strength training and high-intensity interval work. If you haven’t eaten in the one to two hours before a resistance workout, getting protein in shortly afterward becomes more important, ideally within an hour or two of finishing. Your body needs those building blocks, and the longer it goes without them after a demanding session, the slower recovery tends to be.

How Timing Differs by Exercise Type

Endurance athletes (runners, cyclists, swimmers) benefit the most from eating carbohydrates before training, since their sessions can drain stored energy completely. Post-workout, they should prioritize both carbohydrates and protein within the first few hours, particularly if they’re training again the same day or the next morning. In competitive settings where recovery time is under eight hours, eating a meal or snack with a 3:1 ratio of carbohydrates to protein as soon as possible after finishing is especially beneficial.

Strength athletes have slightly more flexibility with carbohydrate timing. Eating normal amounts of carbohydrates spread across balanced meals throughout the day is generally sufficient to keep energy stores full. The bigger priority for strength training is protein: aim for 15 to 25 grams within two hours of your session, and spread your total daily protein intake across meals every three to four hours rather than loading it all into one sitting.

The “Anabolic Window” Is Wider Than You Think

You may have heard that you need to consume protein within 30 minutes of finishing a workout or you’ll miss your chance to build muscle. This idea, often called the “anabolic window,” has been a gym staple for decades, but the science doesn’t support such a narrow deadline. Systematic reviews have found no conclusive evidence that consuming protein immediately after exercise is significantly better than eating it an hour or two later. The benefit of post-exercise protein likely diminishes gradually over time rather than slamming shut at 30 minutes.

What does matter is your overall daily protein intake and making sure you don’t go excessively long after a hard session without eating. If you had a meal an hour or two before training, your body still has amino acids circulating, and rushing to drink a shake in the locker room isn’t necessary. If you trained first thing in the morning on an empty stomach, eating sooner rather than later makes more sense.

A Practical Approach

For most people, the simplest strategy is to eat a balanced meal two to three hours before exercise, or a light carbohydrate-rich snack if you’re closer to your workout time. After training, eat a meal containing at least 20 grams of protein within a couple of hours. If your goal is fat loss, your total daily calories matter more than precise timing. If your goal is performance or muscle building, don’t skip pre-workout fuel, and don’t neglect post-workout protein.

The worst option is the one that keeps you from working out at all. If eating before exercise makes you nauseous, train fasted and eat promptly afterward. If you can’t eat for hours after a session, make sure you had a solid meal beforehand. Consistency with your training and hitting your daily nutrition targets will always outweigh the fine details of meal timing.