How Do People Gain Weight? The Science Explained

People gain weight when their body stores more energy than it burns, and this imbalance gets deposited primarily as fat regardless of whether the extra calories come from carbs, protein, or fat. But the full picture is more complex than “eat too much, move too little.” Hormones, sleep, stress, genetics, medications, and even gut bacteria all influence how easily your body tips into that surplus and where it stores the result.

Energy Balance: The Core Mechanism

Your body runs on a simple accounting system. When you take in more energy from food than you spend through metabolism and movement, the excess gets converted into triglycerides and packed into fat cells. Your body coordinates this process through a suite of hormones, with insulin playing a central role, so that energy surpluses end up reflected as changes in fat tissue no matter what you ate to create them. A diet heavy in carbs and a diet heavy in fat will both increase body fat if the total energy exceeds what you burn.

Where that energy goes matters, too. Your body doesn’t just have a single “burn” rate. Roughly 60% to 70% of the energy you use each day goes toward keeping your organs running, your cells dividing, and your body temperature stable. That’s your basal metabolic rate, the energy cost of simply being alive. Another 10% gets spent digesting and processing the food itself. The remaining 20% to 30% fuels physical movement, from walking to the gym to fidgeting at your desk. When any combination of these drops, or when food intake rises, the surplus accumulates.

What Hormones Do Behind the Scenes

Insulin is the body’s primary fat-storage signal. After you eat, rising insulin levels tell fat cells to pull in glucose and fatty acids and store them as triglycerides. Insulin also puts the brakes on fat breakdown, keeping stored energy locked inside fat cells. In people with obesity, fat cells often become resistant to some of insulin’s signals, which paradoxically disrupts the normal on-off cycling of fat storage and release. The result is that fatty acids leak out of fat cells at higher rates, circulate through the bloodstream, and contribute to metabolic problems elsewhere in the body.

Leptin, a hormone produced by fat cells themselves, is supposed to act as a built-in thermostat. As your fat stores grow, leptin levels rise proportionally. Leptin then binds to receptors in the brain that suppress appetite and increase energy expenditure. In theory, this should prevent runaway weight gain. In practice, many people with obesity develop leptin resistance: their brains stop responding to the signal despite high circulating levels. The appetite-suppressing effects disappear, but the body keeps producing more leptin in an attempt to compensate. This creates a cycle of high leptin, reduced satiety, overconsumption, and continued fat gain.

How Sleep and Stress Push the Scale Up

Sleep deprivation is one of the most underestimated drivers of weight gain. In a controlled experiment, people whose sleep was restricted ate an additional 559 calories per day compared to their baseline, while a well-rested control group showed no increase. That’s roughly the caloric equivalent of an extra meal each day, and it happens without any conscious decision to eat more. Short sleep disrupts the hormones that regulate hunger, tilting the balance toward increased appetite, especially for calorie-dense foods.

Chronic stress works through a different but overlapping pathway. When you’re stressed, your body produces cortisol. In the presence of insulin (which is elevated after eating), cortisol ramps up the activity of an enzyme that promotes fat accumulation specifically in visceral fat, the deep abdominal fat surrounding your organs. This is why people under chronic stress often notice weight gain around their midsection even without obvious changes in diet. When insulin is low, cortisol actually promotes fat breakdown, but most people under stress are also eating more, keeping insulin elevated and locking the system into storage mode.

Genetics Set the Range

Your genes don’t determine your weight, but they heavily influence how your body handles energy. A large meta-analysis covering more than 140,000 twins found that genetic factors account for roughly 40% to 90% of the variation in BMI across twin studies, with a midpoint estimate around 75%. Family studies, which capture a different slice of heritability, put the range at 24% to 81%. The wide spread in these numbers reflects real differences in populations, ages, and study methods, but the takeaway is consistent: genetics play a substantial role in how easily a person gains weight, where fat is deposited, how strong their appetite signals are, and how efficiently their metabolism runs.

This doesn’t mean weight gain is predetermined. What it means is that two people eating the same diet and doing the same exercise can end up at very different weights. Some people have a genetic makeup that defends a higher body weight more aggressively, making it easier to gain and harder to lose.

Your Gut Bacteria Extract Extra Calories

The trillions of microbes in your gut don’t just sit there. They ferment complex carbohydrates that your own digestive enzymes can’t break down, producing short-chain fatty acids that get absorbed into your bloodstream and used as fuel. This microbial energy harvest has been estimated to account for about 10% of total energy intake in people eating a typical Western diet. Some research has linked a higher ratio of certain bacterial groups (Firmicutes relative to Bacteroidetes) to obesity, though findings have been inconsistent across studies. What is clear is that the composition of your gut microbiome influences how much energy you extract from the same plate of food.

Medications That Cause Weight Gain

Several common drug classes reliably cause weight gain, and for many people this is the primary explanation for unexpected changes on the scale. A systematic review and meta-analysis found weight increases across multiple categories:

  • Atypical antipsychotics: Olanzapine caused the most gain at an average of 2.4 kg, followed by quetiapine at 1.1 kg and risperidone at 0.8 kg.
  • Antidepressants: Amitriptyline was associated with 1.8 kg of gain, and mirtazapine with 1.5 kg.
  • Anticonvulsants: Gabapentin added an average of 2.2 kg after just six weeks of use.
  • Corticosteroids: Glucocorticoids used for conditions like rheumatoid arthritis increased body weight by 4% to 8% in clinical trials.

These are averages, and individual responses vary widely. Some people on these medications gain substantially more. The mechanisms differ by drug. Some increase appetite, some slow metabolism, some alter how the body partitions fuel between muscle and fat. If you’ve started a new medication and noticed weight creeping up, the drug itself may be a significant factor.

Gaining Weight as Muscle

Not all weight gain is fat. People who strength train while eating in a caloric surplus can direct a meaningful portion of that extra energy toward building muscle. The recommended surplus for muscle gain is conservative: roughly 360 to 480 calories per day for weight-stable individuals. Going much beyond that doesn’t accelerate muscle growth; it just increases fat storage alongside it. Building muscle requires both the mechanical stimulus of resistance training and adequate protein to supply the raw materials, so a surplus alone won’t do it.

The distinction matters because muscle tissue is denser than fat, metabolically active, and contributes to a higher basal metabolic rate over time. Two people who each gain five kilograms can look and feel completely different depending on the composition of that gain.

Why Small Surpluses Add Up

Most real-world weight gain doesn’t happen from dramatic overeating. It happens from small, persistent surpluses that compound over months and years. An extra 200 to 300 calories a day, roughly a large latte or a handful of nuts beyond what you burn, can produce noticeable weight gain over the course of a year. The body is efficient at storing these small surpluses as fat, and the hormonal shifts that come with gradual weight gain (rising leptin resistance, altered insulin dynamics) can make it progressively harder to return to a lower weight.

This is why weight gain often feels like it “snuck up” on people. No single meal or single week caused it. The accumulation was slow enough to stay below the threshold of daily awareness, but the biology of energy storage was working steadily the entire time.