Yes, and this is not just theory, it has been tested directly in a randomized trial. Researchers put young, resistance-trained men on a genuinely aggressive calorie deficit, about 40 percent below what they needed to maintain weight, for four weeks, while having them train intensely six days a week. The twist was the protein comparison: one group ate a higher-protein diet, the other a lower-protein one, with everything else held constant. The higher-protein group did not just lose less muscle than expected. They gained lean mass, while still losing more fat than the comparison group.
The short answer
Under the right conditions, a real calorie deficit, a high enough protein intake, and a demanding resistance-training program, it is possible to gain muscle while losing fat at the same time, not just slow the rate of muscle loss. This runs against the older assumption that building muscle strictly requires a calorie surplus. The trial evidence shows that assumption does not hold once protein intake and training intensity are high enough to override it, at least for a period of weeks.
The study that tested it directly
The trial, led by researcher Thomas Longland and published in the American Journal of Clinical Nutrition, randomly assigned 40 young men to either a lower-protein diet, 1.2 grams per kilogram of body weight daily, or a higher-protein diet, 2.4 grams per kilogram, during a four-week, 40 percent energy deficit combined with six days a week of intense resistance and interval training. The higher-protein group gained an average of 1.2 kilograms of lean mass, while the lower-protein group gained essentially none, just 0.1 kilograms. The higher-protein group also lost more fat overall, 4.8 kilograms compared with 3.5 kilograms in the lower-protein group. Both groups were in the same calorie deficit and did the same training. The protein amount was the only thing that differed, and it changed the outcome from muscle held flat to muscle actively gained.
What it actually took
Two ingredients had to be in place together, and the trial makes clear that neither one alone produced the result. The training was intense and frequent, six days a week combining resistance work with high-intensity intervals, well beyond a casual routine. The protein intake was high relative to body weight, roughly double what many people default to, and specifically higher than what the lower-protein comparison group ate under the identical training and deficit conditions. Removing either ingredient, the aggressive training or the elevated protein, would very likely have removed the effect, based on how consistently both link to muscle preservation and growth in the broader body of exercise and nutrition research.
Neither the deficit nor the training alone explains the result. It was protein high enough to matter, doing its job on top of a strong training signal.
Why the protein amount mattered so much
Resistance training sends a signal telling your body this muscle tissue is being used and should be maintained or built. Protein supplies the actual raw material, amino acids, that muscle repair and growth draw on. During a calorie deficit, that raw material is scarcer to begin with, since your body has less total energy and fewer spare nutrients available. A higher protein intake protects the muscle-building process from that scarcity more effectively than a lower one does, which is the same underlying logic behind why protein needs rise, not fall, during weight loss. The trial's 2.4 grams per kilogram is a genuinely high target, well above what casual dieters usually eat, and that gap is very likely a meaningful part of why the effect showed up as clearly as it did.
What this means if you are not a young athlete
The trial population was young, resistance-trained men on a short, unusually aggressive protocol, so the exact numbers will not map perfectly onto everyone. Older adults, people newer to strength training, and more moderate calorie deficits will likely see a smaller version of this effect rather than an identical one. But the underlying principle, adequate protein plus a real resistance-training stimulus protects and can build muscle even in a deficit, holds much more broadly across the research literature, including in less extreme populations and protocols, even if actual muscle gain during a deficit is a harder bar to clear than simply minimizing loss.
Someone new to strength training, or losing weight at a more typical, gradual pace, is working with a body that has more room to respond to a new training stimulus, which tends to favor at least some lean mass gain even without matching the trial's extreme protocol. The honest expectation for most people is not the exact 1.2 kilograms of lean mass the trial measured, but a real shot at holding steady or gaining a little, rather than losing muscle by default the way an unmanaged deficit typically produces.
A practical version of the same plan
You do not need a 40 percent deficit or six training days a week to benefit from the same underlying combination. A consistent protein floor eaten across the day, paired with resistance training two to four times a week covered in more depth in how often to strength train for weight loss, captures the core mechanism at a sustainable pace. The goal for most people is not maximal muscle gain during a deficit, it is protecting the muscle you already have while losing fat, which the same two levers, protein and training, drive whether the outcome ends up as a gain or simply a smaller loss than doing nothing would produce.
How OffRamp helps
OffRamp sets a personal daily protein floor and includes short home strength sessions, the same two ingredients the trial data points to, made easy enough to actually keep up with rather than requiring an athlete's schedule to benefit from the underlying principle.


