What Should You Eat When Working Out and Trying to Lose Weight?

Eating enough protein while maintaining a moderate calorie deficit matters more than almost any other dietary detail when you’re training and trying to drop body fat. The specific ratio of carbs to fats, whether you eat before or after your workout, and whether you follow a named diet plan all turn out to be secondary concerns once protein and total calories are handled. That said, the details beyond those two pillars do matter in ways that can make the difference between losing mostly fat and losing a frustrating amount of muscle along with it.

Protein Comes First

When you cut calories, your body doesn’t just burn fat. It also breaks down some muscle tissue for energy, and the less protein you eat, the more muscle you lose. This is the single biggest nutritional mistake people make when combining exercise with a calorie deficit: they focus on cutting calories and let protein fall wherever it lands. A systematic review of research on lean, resistance-trained athletes found that protein needs during calorie restriction are likely in the range of 2.3 to 3.1 grams per kilogram of fat-free mass, scaling upward as the deficit gets more aggressive or the person gets leaner.1PubMed. A systematic review of dietary protein during caloric restriction in resistance trained lean athletes: a case for higher intakes For most people who aren’t already very lean, a simpler target of roughly 1.6 to 2.2 grams per kilogram of total body weight covers the bases well.

Why does this matter so much? A meta-analysis looking at resistance exercise combined with diet-induced weight loss found that while total weight loss was similar whether people lifted weights or not, the resistance-training groups lost more fat and kept more lean mass.2BMJ Open. Effect of resistance exercise on body composition, muscle strength and cardiometabolic health during dietary weight loss in people living with overweight or obesity: a systematic review and meta-analysis But that protective effect depends on having enough dietary protein to fuel muscle repair. Without it, you’re lifting weights in a deficit and still losing muscle, which defeats much of the purpose.

In practical terms, this means building every meal around a protein source: eggs, chicken, fish, Greek yogurt, legumes, tofu, lean beef, cottage cheese. The rest of the plate fills in around it. You don’t need to obsess over protein timing, either. A meta-analysis controlling for total protein intake and other variables found no significant effect of protein timing on strength or muscle growth.3PubMed Central. The effect of protein timing on muscle strength and hypertrophy: a meta-analysis Spreading your intake across three or four meals is sensible, but the total daily amount trumps when you eat it.

Carbs and Fats Fill in the Rest

Once protein is set, you have a remaining calorie budget to split between carbohydrates and fats. People get intensely tribal about this split, but the research is surprisingly relaxed about it. A crossover trial comparing a high-carb diet to a low-carb diet in physically active adults found that both approaches produced similar reductions in body mass and fat mass. The high-carb group did perform slightly better on peak power output and time to exhaustion, but the body-composition results were essentially the same.4PubMed Central. The Impact of a High-Carbohydrate/Low Fat vs. Low-Carbohydrate Diet on Performance and Body Composition in Physically Active Adults: A Cross-Over Controlled Trial

For strength training specifically, the evidence is even more forgiving. A systematic review of 49 studies found that the vast majority, including all 16 isocaloric comparisons, showed no significant benefit of manipulating carbohydrate intake on strength training performance.5PubMed Central. The Effect of Carbohydrate Intake on Strength and Resistance Training Performance: A Systematic Review The few studies that did show a carb advantage involved fasted control groups doing very high-volume sessions of ten or more sets per muscle group. If your workouts are moderate in volume and you’ve eaten something in the hours before training, carb intake matters less than you’ve probably been told.

That doesn’t mean you should go ultra-low on either macronutrient. Fats are essential for hormone production, and cutting them too aggressively can backfire. Research on female fitness competitors during intensive weight-loss phases showed average fat intakes around 0.9 to 1.0 grams per kilogram of body weight, with hormonal disruptions appearing at the lower end of that range.6PubMed Central. The Effects of Intensive Weight Reduction on Body Composition and Serum Hormones in Female Fitness Competitors A reasonable floor for most people is somewhere around 0.7 to 1.0 grams of fat per kilogram of body weight per day, with carbs taking whatever calorie room remains.

Whole Foods Burn More Calories Than Processed Ones

Not all calories behave the same way after you eat them. Your body expends energy digesting food, and that cost varies dramatically depending on what you eat. A controlled feeding study compared two meals with the same calorie and macronutrient content, one made from whole foods and one from processed ingredients. The whole-food meal produced roughly double the post-meal calorie burn compared to the processed-food meal: about 20% of meal energy versus about 11%.7PubMed Central. Postprandial energy expenditure in whole-food and processed-food meals: implications for daily energy expenditure

Over the course of a full day of eating, that gap adds up. This doesn’t mean processed foods are forbidden, but it does mean that a diet built mostly around minimally processed ingredients gives you a small but meaningful metabolic edge. Think rice and chicken versus a protein bar with the same macros on the label. Your body works harder to extract energy from the less processed version, which effectively widens your calorie deficit without you eating any less.

Fasted Workouts Don’t Give You an Edge

The idea that exercising on an empty stomach forces your body to burn more fat has been around for decades. And at the level of individual workout sessions, it’s partially true: exercising in a fasted state does increase fat oxidation during that session. But research consistently shows this doesn’t translate into greater fat loss over time. A study comparing fasted versus fed aerobic exercise during a calorie-restricted diet found that both groups lost similar amounts of weight and fat, with no significant between-group differences in any body-composition outcome.8PubMed Central. Body composition changes associated with fasted versus non-fasted aerobic exercise

A systematic review and meta-analysis of fasted exercise studies confirmed this pattern, finding only trivial effect sizes on body mass and body fat percentage when comparing fasted to fed exercise.9Journal of Functional Morphology and Kinesiology. Effect of Overnight Fasted Exercise on Weight Loss and Body Composition: A Systematic Review and Meta-Analysis More recent work has proposed that the body compensates for the extra fat burned during fasted sessions by adjusting energy balance over the rest of the day.10PubMed. Effects of overnight-fasted versus fed-state exercise on the components of energy balance and interstitial glucose across four days in healthy adults In other words, your body is smarter than a single workout. If training fasted feels fine to you, there’s no reason to stop. But if you perform better with some food in you, eat beforehand without guilt. Fat loss will be the same.

Why Resistance Training Changes the Equation

Cardio gets most of the attention for weight loss, but resistance training plays a distinct and arguably more important role when you’re in a calorie deficit. The meta-analysis mentioned earlier found that adding resistance exercise to a calorie-restricted diet protected against the loss of fat-free mass while increasing fat loss, even though total weight on the scale was nearly identical between groups.2BMJ Open. Effect of resistance exercise on body composition, muscle strength and cardiometabolic health during dietary weight loss in people living with overweight or obesity: a systematic review and meta-analysis A separate randomized trial in obese patients found that both single-set and three-set resistance training programs preserved skeletal muscle mass during a 500-calorie-per-day deficit, while the group that only dieted did not.11PubMed Central. Iron Beats Electricity: Resistance Training but Not Whole-Body Electromyostimulation Improves Cardiometabolic Health in Obese Metabolic Syndrome Patients during Caloric Restriction—A Randomized-Controlled Study

The practical takeaway is straightforward: if you have to pick between cardio and lifting while dieting, lifting protects what you’ve built. Ideally, you do both. But a weight-loss plan built around running and salads, with no resistance training, risks turning you into a smaller but weaker version of yourself.

The Danger of Cutting Too Hard

It’s tempting to accelerate fat loss by slashing calories aggressively, but severe energy restriction while training creates a condition researchers call low energy availability, and it comes with real consequences. A narrative review found that severe low energy availability triggers a cascade of energy-conserving responses, including suppression of reproductive hormones, drops in thyroid hormone and metabolic rate, compromised protein turnover, and impaired exercise performance in power, sprinting, and endurance tasks.12PubMed Central. Short-Term Severe Low Energy Availability in Athletes: Molecular Mechanisms, Endocrine Responses, and Performance Outcomes—A Narrative Review These aren’t just concerns for elite athletes. Anyone combining regular intense exercise with a very aggressive calorie cut can experience disrupted menstrual cycles, weakened bones, increased injury risk, and declining training quality.13PubMed Central. Reasons for and Consequences of Low Energy Availability in Female and Male Athletes: Social Environment, Adaptations, and Prevention

Both men and women are affected, though the symptoms differ. Men tend to see testosterone drops and mood disturbances; women are more likely to lose their menstrual period as an early warning sign. The downstream effects on performance include both direct changes like reduced strength and endurance, and indirect ones like slower recovery and higher injury rates.14PubMed. Direct and indirect impact of low energy availability on sports performance A moderate deficit of roughly 300 to 500 calories per day is generally aggressive enough to produce steady fat loss without triggering the worst of these adaptations.

Your Body Fights Back Over Time

As you lose weight, your body burns fewer calories at rest. Part of that is just being smaller, but part of it is an active metabolic slowdown that goes beyond what your new body size would predict. Researchers call this adaptive thermogenesis. A study tracking calorie-restricted participants found that those who lost the most fat experienced a resting metabolic rate decline of about 79 calories per day beyond what body composition changes alone would explain, compared with only about 10 calories per day in those who lost less fat.15The FASEB Journal. Contribution of Changes in Body Composition and Adaptive Thermogenesis to the Decline in Resting Metabolic Rate During Prolonged Calorie‐Restricted Weight Loss This slowdown correlated with drops in leptin, thyroid hormone, and insulin, hormones that regulate hunger and energy expenditure.

What this means practically: the calorie deficit that got you from 200 to 185 pounds won’t keep working at the same rate from 185 to 170. You either need to eat slightly less, move slightly more, or accept a slower rate of loss. This is also why crash diets backfire so spectacularly: the deeper the cut, the harder the body pushes back.

Diet Breaks Can Help Psychologically

One strategy for managing both the metabolic and mental toll of prolonged dieting is to take planned breaks. A randomized controlled trial in resistance-trained women compared continuous calorie restriction to an intermittent approach with scheduled diet breaks. Body composition and resting metabolic rate outcomes were similar between groups, so the breaks didn’t slow fat loss down. But the intermittent group showed improvements in disinhibition, a measure of how likely someone is to overeat when exposed to food cues, while the continuous group actually worsened on that measure.16PubMed Central. The Effects of Intermittent Diet Breaks during 25% Energy Restriction on Body Composition and Resting Metabolic Rate in Resistance-Trained Females: A Randomized Controlled Trial

If you find that continuous dieting leaves you increasingly preoccupied with food and prone to binge episodes, a week at maintenance calories every few weeks may help reset your relationship with eating without costing you progress. The trade-off is that the total time to reach your goal stretches out, which isn’t ideal for everyone.

Sleep Is a Nutritional Variable

This might sound like it belongs in a different article, but sleep directly changes what your body does with the food you eat during a calorie deficit. A study found that when people had their sleep cut from about eight and a half hours to five and a half hours per night while eating the same calorie-restricted diet, the proportion of weight lost as fat dropped by 55%, while the loss of lean mass increased by 60%.17PubMed Central. Sleep Deprivation: Effects on Weight Loss and Weight Loss Maintenance The poorly rested group was eating the same food and losing the same total weight, but their bodies were burning muscle instead of fat.

The hormonal mechanism behind this is blunt. A single night of total sleep deprivation reduced muscle protein synthesis by 18%, increased the stress hormone cortisol by 21%, and decreased testosterone by 24%.18PubMed Central. The effect of acute sleep deprivation on skeletal muscle protein synthesis and the hormonal environment There’s also evidence at the molecular level: research on resistance-trained women found that sleep restriction altered the way skeletal muscle responds to exercise, with only about 39% of downregulated genes and 18% of upregulated genes overlapping between the sleep-deprived and well-rested conditions.19bioRxiv. The interactive effect of sustained sleep restriction and resistance exercise on skeletal muscle transcriptomics in young females You can dial in your macros perfectly and still get poor body-composition results if you’re chronically underslept.

Micronutrient Gaps During a Deficit

When you eat less food overall, you also take in fewer vitamins and minerals. Iron is one of the most common casualties, especially for women who are already at higher risk of deficiency. A randomized controlled trial in young women with overweight and iron deficiency anemia found that a structured weight-loss diet that achieved about 7.4 kilograms of weight loss also significantly improved iron status markers including hemoglobin and serum ferritin, while reducing inflammatory markers.20PubMed Central. Effect of diet-induced weight loss on iron status and its markers among young women with overweight/obesity and iron deficiency anemia: a randomized controlled trial The interesting twist here is that excess body fat itself drives inflammation that impairs iron absorption, so losing fat can actually improve iron status even if total food intake drops, provided the diet is well-designed.

Beyond iron, common shortfalls during calorie restriction include calcium, vitamin D, magnesium, and B vitamins. A daily multivitamin or targeted supplements can plug these gaps, but the first line of defense is eating nutrient-dense whole foods rather than filling your calorie budget with low-nutrient processed options. This is where the whole-food advantage extends beyond the thermic effect discussed earlier: per calorie, minimally processed foods deliver far more micronutrient value.

Recovery Nutrition When Calories Are Tight

When you’re not in a deficit, the standard advice for recovery meals focuses heavily on carbohydrates to replenish glycogen stores. But during weight loss, you have fewer calories to spare. A meta-analysis found that adding protein to a carbohydrate-based recovery meal didn’t improve glycogen replenishment when total calories were matched between conditions.21PubMed Central. Coingestion of Carbohydrate and Protein on Muscle Glycogen Synthesis after Exercise: A Meta-analysis The benefit of protein-carb combinations appeared only when the protein group consumed more total calories than the carb-only group. This is actually useful information when you’re dieting: it means you don’t need to pile on extra recovery carbs on top of your protein. Your standard post-workout meal that hits your protein target, with whatever carbs and fats fit your remaining calorie budget, is sufficient for recovery as long as you’re not training again within a few hours.

Rapid or extreme weight-loss methods are a different story. Research on wrestlers undergoing rapid weight cuts found that even an overnight high-carbohydrate meal couldn’t fully restore muscle glycogen after losing about 4.6 kilograms in a short period.22PubMed Central. Effects of an overnight high-carbohydrate meal on muscle glycogen after rapid weight loss in male collegiate wrestlers This is another reason to avoid crash approaches: your ability to refuel between sessions becomes compromised, and performance spirals downward.

The Menstrual Cycle and Fuel Use

Women’s bodies shift fuel sources across the menstrual cycle in ways that are measurable but often overstated in fitness media. During the luteal phase, when both estrogen and progesterone are elevated, carbohydrate oxidation during moderate-intensity exercise decreases and fat oxidation increases compared to the follicular phase.23PubMed. Glucose kinetics and substrate oxidation during exercise in the follicular and luteal phases However, other research found no significant difference in whole-body fuel oxidation across three phases of the menstrual cycle during exercise, though the luteal phase was associated with higher glucose and insulin concentrations.24PubMed Central. No effect of menstrual cycle phase on glucose kinetics and fuel oxidation during moderate-intensity exercise

What does seem to matter more than fuel oxidation is the behavioral side: food cravings and appetite tend to increase in the luteal phase. One trial found that a weight-loss program specifically tailored to counteract these cyclical changes, adjusting both diet and exercise across the menstrual cycle, produced greater weight loss than a standard approach in premenopausal women who could stick with the program.25The American Journal of Clinical Nutrition. A weight-loss program adapted to the menstrual cycle increases weight loss in healthy, overweight, premenopausal women: a 6-mo randomized controlled trial The practical lesson isn’t that you need to overhaul your diet every two weeks. It’s that if you notice your appetite spiking predictably about a week before your period, planning for it with slightly more food on those days and slightly less on easier days can keep your weekly average on track without white-knuckling through cravings.

Hydration and Performance Under Calorie Restriction

Dehydration is an underappreciated risk when dieting and exercising simultaneously. You’re already eating less food, and food contributes a significant amount of daily water intake. If you’re also sweating through workouts and not compensating with extra fluids, performance drops quickly. Research on elite judo athletes found that rapid weight loss significantly increased urine specific gravity, a marker of dehydration, and worsened performance on a sport-specific fitness test.26PubMed Central. Effect of Rapid Weight Loss on Hydration Status and Performance in Elite Judo Athletes While most people dieting for general fitness aren’t losing weight as rapidly as competitive fighters, even mild chronic dehydration can impair workout quality and recovery. Drinking enough water throughout the day, rather than relying on thirst alone, becomes more important when total food volume is down.

Rahul Verma

Exercise metabolism researcher Rahul Verma earned his PhD in integrative physiology at the University of Colorado Boulder. Over 11 years in academic research, he has studied how aerobic and resistance training change insulin sensitivity, fat oxidation and body composition in adults with overweight. He also holds the NSCA's CSCS credential. He writes about how much exercise weight loss requires, HIIT versus steady cardio, and maintaining fitness while dieting.