Both matter, but neither matters as much as you probably think. The short answer is that eating before a workout fuels your performance, eating after supports recovery, and your total daily intake of protein and carbohydrates matters more than precisely when you consume them. The old idea that you need to slam a protein shake within 30 minutes of your last rep has been largely debunked, and the “best” timing depends on what kind of exercise you’re doing and when you last had a meal.
Why Eating Before a Workout Helps
Your muscles run on stored carbohydrate (glycogen) during moderate to high-intensity exercise. If those stores are low because you haven’t eaten in several hours, you’ll fatigue faster, feel weaker, and likely cut your session short. A pre-workout meal tops off those fuel tanks so you can train harder and longer.
The ideal window is one to four hours before exercise, depending on how much you eat and how your stomach handles it. A full meal with carbs and protein, like chicken and rice or eggs and toast, works well two to three hours out. If you’re closer to 30 or 60 minutes, stick to something small and easy to digest: a banana, a piece of toast, or an energy bar. The bigger the meal, the more time you need to let it settle before you start moving.
For strength training specifically, eating beforehand also has a protective effect on your muscles. Resistance exercise performed in a fasted state increases muscle protein breakdown. Having amino acids from food already circulating in your bloodstream blunts that breakdown, putting you in a better position to build and maintain muscle.
What Eating After Does for Recovery
After exercise, your body shifts into repair mode. Muscle fibers that were stressed during training need amino acids (the building blocks from protein) to rebuild, and your glycogen stores need carbohydrates to refill. Eating a combination of protein and carbs after a workout supports both of these processes.
The protein piece is especially important for anyone doing resistance training. About 20 grams of protein is enough to maximize the muscle-rebuilding response in most people. Research from Frontiers in Nutrition puts the more precise number at roughly 0.31 grams per kilogram of body weight, or up to about 0.39 grams per kilogram if you want to account for individual variation. For a 170-pound person, that’s roughly 24 to 30 grams.
Carbohydrates after a workout help reload glycogen stores, which is particularly important if you train again later the same day or on consecutive days. But adding carbs on top of adequate protein doesn’t further boost the muscle-rebuilding response itself. So if your main goal is muscle growth and you’ve already hit your protein target, the post-workout carbs are about energy replenishment, not extra muscle repair.
The “Anabolic Window” Is Wider Than You Think
For years, gym culture treated the 30 minutes after a workout as a critical window for protein intake. Miss it, the thinking went, and your gains would suffer. The evidence doesn’t support that urgency. A review in the Journal of the International Society of Sports Nutrition found that the support for an immediate post-exercise “anabolic window” is far from definitive.
What the research does suggest is more practical: your pre-workout and post-workout meals shouldn’t be separated by more than about three to four hours. If your typical strength training session lasts 45 to 90 minutes, that means eating a solid meal a couple of hours before training and another within a couple of hours after is perfectly fine. If those meals are large mixed meals with plenty of protein, fat, and carbs, you can stretch the gap to five or six hours without issue.
In other words, if you ate lunch at noon and lift from 1:00 to 2:00, you don’t need to rush to eat immediately afterward. Your lunch is still doing its job. But if you train first thing in the morning on an empty stomach and don’t eat until mid-morning, that’s a longer fast, and a post-workout meal becomes more important.
Fasted Cardio: Does Skipping Food Burn More Fat?
A common reason people skip eating before cardio is the belief that exercising on an empty stomach forces the body to burn more fat. The metabolic picture is more nuanced. A meta-analysis of 28 studies covering 302 healthy adults found no significant difference in a key fat-burning marker (respiratory exchange ratio) between fasted and fed exercise. Some acute changes in blood sugar and fatty acid levels occurred, but these short-term metabolic shifts didn’t translate into greater fat loss overall.
There’s also a performance trade-off. Exercising while fasted can limit your intensity, meaning you may not be able to push as hard or go as long. Since total calories burned during a session depends heavily on how hard and how long you work, eating before cardio could actually lead to more calories burned by allowing a higher-quality workout. If fasted cardio feels fine for you and doesn’t affect your performance, it’s not harmful. But it’s not a fat-loss shortcut either.
How Timing Changes by Workout Type
Your fueling strategy should match the demands of your session. Higher-intensity and longer-duration activities require more deliberate planning around food.
- Cardio and HIIT: Eat a small meal with easily digestible carbs and moderate protein one to three hours before. If you’re within 30 to 60 minutes of starting, a quick snack like a banana or energy bar gives you fuel without sitting heavy in your stomach.
- Strength training: A balanced meal of carbs and protein one to three hours before is ideal. A pre-workout snack closer to your session isn’t required but can help if you’re hungry. Prioritize protein within a few hours after.
- Yoga, Pilates, or stretching: A light snack with healthy carbs an hour or two before is enough. These lower-intensity activities don’t deplete glycogen the way lifting or running does, so heavy fueling isn’t necessary.
- Endurance sessions over 90 minutes: For long runs, rides, or multi-hour training, consider taking in carbs and electrolytes during the workout itself. Your glycogen stores deplete over time, and mid-session fuel helps maintain energy and delay fatigue.
Total Daily Intake Matters Most
The most consistent finding across the research is that how much you eat over the course of the day matters more than exactly when you eat relative to your workout. For muscle growth, the target is roughly 1.6 to 2.2 grams of protein per kilogram of body weight per day. For a 150-pound person, that’s about 109 to 150 grams of protein spread across the day.
How you distribute that protein also makes a difference. Spreading it evenly across three or more meals produces about 25 percent more muscle protein synthesis than loading most of your protein into one or two meals. Aiming for 20 to 40 grams of protein at each meal, spaced three to four hours apart, is a simple framework that covers both your daily total and your workout timing without overthinking it.
For carbohydrates, people who train regularly benefit from 3.6 to 5.5 grams of carbs per pound of body weight daily to keep glycogen stores topped off. That’s a wide range, and where you fall depends on training volume and intensity. Someone doing two-hour endurance sessions needs more than someone lifting for 45 minutes three times a week.
If you eat a balanced meal every few hours and one of those meals falls within a couple of hours on either side of your workout, you’re already doing what the evidence supports. The best pre- and post-workout nutrition plan is one that fits your schedule, feels good in your stomach, and helps you hit your daily protein and carb targets consistently.