How to Eat to Lose Weight and Gain Muscle

Losing fat and gaining muscle at the same time is possible, but it requires eating in a specific way: a modest calorie deficit with high protein intake and meals timed to support your training. This process, often called body recomposition, is slower than pure weight loss or pure bulking, but it reshapes your body without the extremes of either approach.

The core principle is straightforward. You need to eat slightly less energy than you burn so your body taps into fat stores, while supplying enough protein and the right nutrients to build and repair muscle tissue. Getting the details right makes the difference between losing muscle along with fat and actually improving your body composition.

How Much Protein You Actually Need

Protein is the single most important factor in this equation. When you’re eating fewer calories than you burn, your body is more likely to break down muscle for energy unless you give it a strong reason not to. That reason is a consistently high protein intake.

For someone trying to lose fat while gaining muscle, the research-supported range is 1.6 to 2.4 grams of protein per kilogram of body weight per day. For a 170-pound (77 kg) person, that works out to roughly 123 to 185 grams of protein daily. If you’re newer to resistance training or carrying more body fat, you can generally do well at the lower end. Leaner, more experienced lifters typically need the higher end to protect and build muscle in a deficit.

This is significantly more protein than most people eat by default. Hitting these numbers usually means including a protein source at every meal and possibly adding a high-protein snack. Chicken breast, Greek yogurt, eggs, fish, lean beef, tofu, and protein powder are all practical options. The specific source matters less than the total amount you consume across the day.

Spreading Protein Across Your Meals

Your body can only use so much protein at once for muscle building. After a meal, the muscle-building response stays elevated for about three hours before dropping back to baseline, even if amino acids are still circulating in your blood. This means eating 150 grams of protein in one sitting is far less effective than spreading it out.

Aim for at least 20 to 30 grams of high-quality protein every four to five hours. For most people, that translates to three or four protein-rich meals per day. If your schedule only allows three meals, having a small protein-rich snack between meals can help restart the muscle-building process. A cup of Greek yogurt, a handful of jerky, or a protein shake all work for this purpose.

One detail worth knowing: muscle-building signals respond strongly to an amino acid called leucine, which is found in high concentrations in animal proteins, dairy, and soy. Older adults may need around 3 grams of leucine per meal to fully trigger the response, which roughly corresponds to 30 or more grams of protein from most sources. Younger adults can get a strong signal with slightly less.

Setting Your Calories and Macros

A calorie deficit is non-negotiable for fat loss. No combination of foods or meal timing will override the basic energy equation. But the size of your deficit matters. Too aggressive and you’ll lose muscle along with fat. A deficit of 300 to 500 calories below your maintenance level gives your body room to burn fat without cannibalizing muscle tissue, especially when paired with resistance training and high protein.

Once protein is set, divide the remaining calories between carbohydrates and fat. General dietary guidelines suggest 45 to 65 percent of calories from carbohydrates and 20 to 35 percent from fat, but research consistently shows there is no single ideal macro ratio for fat loss. The most important factor is the calorie deficit itself, with protein as the priority macro. Beyond that, personal preference and workout performance should guide your split.

That said, carbohydrates directly fuel resistance training. If your workouts feel sluggish and weak, you likely need more carbs, not fewer. Cutting carbs too low impairs the high-intensity effort that drives muscle growth. A practical approach: keep fat at a moderate level (around 25 to 30 percent of calories) and fill the rest with carbohydrates. This ensures you have enough dietary fat for hormone production while keeping enough carbs to train hard.

What to Eat Around Your Workouts

The old idea of a strict 30-minute “anabolic window” after training has been largely debunked. Current evidence shows the window for your body to use nutrients for muscle repair and growth extends roughly five to six hours around your workout. If you ate a meal two hours before training, you don’t need to rush a protein shake the moment you finish your last set.

Where timing does matter is when you train fasted. If you work out first thing in the morning without eating, that post-workout window tightens considerably, and getting protein in soon after your session becomes more important. If you train in a fasted state regularly, prioritize a protein-rich meal within an hour of finishing.

For most people who train in the afternoon or evening, simply eating a balanced meal with protein and carbohydrates one to two hours before and after training is sufficient. The pre-workout meal fuels your session. The post-workout meal supports recovery and replenishes the energy stored in your muscles. A chicken stir-fry with rice, a turkey sandwich with fruit, or eggs with oatmeal all cover the bases without overcomplicating things.

Using Fiber to Control Hunger

Eating in a calorie deficit means you’ll be hungrier than usual, at least initially. One of the most effective ways to manage that hunger is fiber. High-fiber foods take longer to digest, keep you feeling full between meals, and tend to be lower in calorie density, meaning you can eat more volume for fewer calories.

Aiming for at least 20 grams of fiber per day is a reasonable starting point linked to better outcomes in weight loss interventions, though many nutrition guidelines recommend even more (25 to 30 grams). Vegetables, beans, lentils, berries, oats, and whole grains are all practical sources. Loading half your plate with vegetables at lunch and dinner can get you most of the way there.

Fiber also pairs well with protein for satiety. A meal of grilled salmon with a large salad and roasted sweet potatoes, for instance, delivers protein, fiber, and complex carbohydrates in a combination that keeps you satisfied for hours. Compare that to the same number of calories from white pasta with a cream sauce, which digests quickly and leaves you hungry again soon after.

A Realistic Day of Eating

Here’s what a day might look like for a 170-pound person aiming for body recomposition with roughly 2,000 calories and 150 grams of protein:

  • Breakfast: Three eggs scrambled with spinach and peppers, one slice of whole grain toast, and a piece of fruit. Around 30 grams of protein.
  • Lunch: Grilled chicken breast over a large mixed greens salad with chickpeas, cherry tomatoes, cucumber, olive oil, and vinegar. Around 40 grams of protein.
  • Afternoon snack: A cup of Greek yogurt with a handful of berries. Around 20 grams of protein.
  • Dinner: Baked salmon with roasted broccoli and brown rice. Around 40 grams of protein.
  • Evening snack: Cottage cheese with a small handful of almonds. Around 20 grams of protein.

This hits the protein targets, includes fiber at most meals, and provides enough carbohydrates to fuel training without excess calories. The specifics will vary based on your body weight, activity level, and preferences, but the structure works: protein at every eating occasion, vegetables and whole foods for fiber and micronutrients, and enough carbs to keep your energy up in the gym.

Why Consistency Beats Perfection

Body recomposition is a slow process. You won’t see dramatic scale changes week to week because you’re simultaneously losing fat and adding muscle, which can offset each other on the scale. Progress shows up in the mirror, in how your clothes fit, and in your gym performance before the number on the scale moves meaningfully.

The people who succeed at this are the ones who hit their protein targets and stay in a moderate deficit most days, not the ones who follow a perfect plan for two weeks and then abandon it. If you miss a protein target at one meal, make it up at the next. If you overeat one day, return to your plan the following day without trying to compensate with extreme restriction. Small, consistent actions compound over weeks and months into visible changes in your body composition.