How to Lose Body Fat and Gain Muscle at the Same Time

Losing fat and gaining muscle at the same time, often called body recomposition, requires a controlled calorie deficit paired with resistance training and high protein intake. It’s slower than focusing on one goal at a time, but it works, especially if you’re relatively new to lifting or carrying extra body fat. The core principle is simple: eat slightly less than you burn, lift weights consistently, eat enough protein to protect and build muscle, and sleep well.

Set a Moderate Calorie Deficit

The size of your calorie deficit matters more than most people realize. Cut too aggressively and your body starts breaking down muscle for energy, which defeats the purpose. A study of national-level male athletes found that a 750-calorie daily deficit (about 24% below maintenance) caused significant weight loss without muscle loss, but only in those whose body fat was above 10%. Athletes who were already lean lost muscle even with high protein intake. A smaller deficit of around 300 calories (roughly 12% restriction) was safer for preserving lean mass across the board.

For most people aiming to recompose, a deficit of 15 to 25% below your total daily energy expenditure hits the sweet spot. That typically means eating 300 to 500 fewer calories per day than you burn. Severe deficits, like eating only 600 to 700 calories a day, failed to protect lean mass even when protein made up 35 to 40% of total intake. Bone density also suffers with extreme restriction: postmenopausal women on a 65 to 75% deficit lost 2.5 times more hip bone mineral density than those on a moderate 25 to 35% deficit.

Track your intake for at least two weeks to find your actual maintenance level, then reduce from there. If your weight drops faster than about 1% of body weight per week, you’re likely cutting too hard and risking muscle loss.

Prioritize Protein at Every Meal

Protein is the single most important nutrient for body recomposition. It provides the raw material your muscles need to repair and grow after training, and it also helps preserve existing muscle when you’re eating less than you burn. For someone actively lifting and trying to lose fat, aim for at least 1.2 to 1.5 grams of protein per kilogram of body weight daily as a minimum. Many strength-focused guidelines push higher, toward 1.6 to 2.0 grams per kilogram, and the research on lean athletes supports the higher end.

For a 180-pound (82 kg) person, that’s roughly 130 to 160 grams of protein per day. Spread it across three to four meals rather than loading it into one or two sittings. Each meal should contain around 20 to 40 grams of high-quality protein, which is enough to maximize the muscle-building response per feeding. Good sources include chicken, fish, eggs, Greek yogurt, cottage cheese, tofu, and legumes.

How to Structure Your Training

Resistance training is non-negotiable. Without it, a calorie deficit will cause you to lose a mix of fat and muscle. With it, you signal your body to hold onto (and build) muscle while burning fat for fuel.

There’s no magic rep range for muscle growth. Research shows that muscle can grow across a wide spectrum of loads, from heavy weights you can only lift 5 to 8 times to lighter weights you can lift 25 to 30 times, as long as you push close to failure. The minimum effective load appears to be around 30% of your one-rep max. Below that, the stimulus isn’t strong enough to drive growth regardless of how many reps you do.

What matters more than the specific weight is progressive overload: gradually increasing the challenge over time by adding weight, reps, or sets. Train each major muscle group at least twice per week, aiming for 10 to 20 hard sets per muscle group per week. If you’re using lighter loads, you’ll need more sets to match the growth stimulus of heavier training, and you need to push those lighter sets genuinely close to the point where you can’t complete another rep. A half-effort set with a light weight does very little.

Compound movements like squats, deadlifts, presses, rows, and pull-ups should form the backbone of your program. They work multiple muscle groups simultaneously, burn more calories per session, and are the most efficient way to build strength and size when your recovery capacity is limited by a calorie deficit.

Managing Cardio Without Losing Muscle

Cardio can help create or widen your calorie deficit, but too much of it interferes with muscle growth. A meta-analysis found that endurance exercise attenuates muscle hypertrophy, strength, and power in a frequency- and duration-dependent manner. The more cardio you do, and the longer each session lasts, the more it cuts into your gains.

The type of cardio matters too. Running causes more interference than cycling, likely because the repeated impact and eccentric muscle contractions from running create additional muscle damage that competes with recovery from lifting. If you enjoy running, keep it moderate. If your primary goal is body recomposition, cycling, rowing, swimming, or brisk walking are better options.

Two to three sessions of 20 to 30 minutes per week is a reasonable starting point. This supports cardiovascular health and contributes to your deficit without eating into your recovery. If you need more activity to create a sufficient deficit, add walking rather than more intense cardio. Walking burns calories without creating meaningful interference with muscle adaptation.

Meal Timing Is Flexible, Not Critical

You’ve probably heard that you need to eat protein immediately after a workout or miss a crucial “anabolic window.” The evidence doesn’t support this as strongly as the fitness industry suggests. Research from the Journal of the International Society of Sports Nutrition found that the urgency of post-workout nutrition depends almost entirely on what you ate before training. If you had a protein-rich meal one to two hours before lifting, amino acids are still circulating in your bloodstream during and after the session. In that scenario, rushing to drink a protein shake within 30 minutes is redundant.

A practical guideline: don’t let more than three to four hours pass between your pre- and post-workout meals. If you train fasted in the morning, eating protein soon afterward becomes more important. If you had a solid meal an hour or two before training, your next regular meal within a couple hours afterward is sufficient. The bigger priority is hitting your total daily protein and calorie targets, not obsessing over precise timing. This gives you real flexibility in how you structure your eating around your schedule.

Sleep Is a Growth Requirement

Sleep isn’t just recovery time. It’s when your body does much of its muscle-building work, and losing even one night of sleep measurably disrupts that process. A study published in Physiological Reports found that a single night of total sleep deprivation reduced muscle protein synthesis by 18%. At the same time, the stress hormone cortisol rose by 21% and testosterone dropped by 24%. That combination, less building and more breaking down, creates what researchers described as a “procatabolic environment.” In plain terms, your body shifts from building mode to breakdown mode.

These aren’t small changes. An 18% reduction in muscle protein synthesis, repeated over weeks of poor sleep, can meaningfully slow your progress even if your training and nutrition are perfect. Aim for seven to nine hours per night. If you consistently sleep under six hours, that’s likely a bigger bottleneck than any adjustment you could make to your diet or workout program.

Putting It All Together

Body recomposition works best as a system where each piece supports the others. Eat 15 to 25% below your maintenance calories. Get at least 1.2 to 2.0 grams of protein per kilogram of body weight daily, spread across multiple meals. Lift weights three to four times per week with progressive overload, pushing close to failure. Keep cardio moderate and favor low-impact options like cycling or walking. Sleep seven to nine hours consistently.

Expect the scale to move slowly, or not at all, even when your body is changing. Because you’re gaining muscle while losing fat, your weight can stay flat for weeks while your waist shrinks and your lifts go up. Progress photos every two to four weeks and strength tracking are better indicators than the scale alone. The process takes months, not weeks, but the results are more sustainable than crash dieting or bulking-and-cutting cycles because you’re building habits that work for the long term.