NutritionTerms

Macronutrient Science

Flexible Dieting (IIFYM)

Also known as: If It Fits Your Macros, IIFYM

An approach where any food can fit into your daily calorie and macro targets, regardless of its source — emphasizing math over food moralism.

By Nina Alvarez · NASM-CPT, Nutrition Coach ·

Key takeaways

  • Flexible dieting is the opposite of "clean eating" — no foods are banned, everything counts against totals.
  • Works when calorie and macro targets are met; fiber and micronutrient quality still matter in the long run.
  • Often easier to sustain than restrictive diets because it reduces "off-limits food" rebound.
  • Not a license to eat pop-tarts all day — the best flexible dieters eat mostly whole foods and save room for occasional treats.

Flexible dieting, often shortened to IIFYM ("If It Fits Your Macros"), is the approach to calorie tracking that treats food primarily as numbers. No food is categorically banned. As long as your intake totals fit your calorie and macro targets, any specific food fits. It emerged from bodybuilding and physique sports around 2012–2014 and has since become one of the dominant tracking philosophies.

The core idea

Set your targets — calories, protein, carbs, fat — based on your goals. Hit them by eating whatever foods get you there. A donut fits if it fits your macros; a donut doesn't fit if hitting it means missing your protein or blowing your calories. The logic is mathematical, not moral.

What it's not

Flexible dieting isn't "eat anything, forever, no consequences." It's math-bound. You're still hitting a calorie target (which for weight loss means a deficit). You're still hitting a protein target (usually high enough that 80% of your food volume ends up being whole-food protein + veg). The flexibility is in how the remaining room gets filled, and in the explicit permission to include foods that restrictive diets ban.

Why it often works better than restriction

Research on dietary restraint and rebound eating (Polivy, Herman, and related behavioral work) consistently shows that strict restriction tends to produce counter-regulatory eating when broken. "I can't have carbs" becomes "I broke my diet, might as well eat everything" — the classic all-or-nothing pattern. Flexible dieting short-circuits this by making nothing forbidden. Nothing to "break."

Where it gets misapplied

  • Pop-tart-only diets. You can technically hit macros with nothing but processed foods. You'll feel terrible and miss micronutrients.
  • Ignoring fiber. Many flexible dieters hit calories and macros but come in at 10g fiber when 25–35g is the recommended range.
  • Ignoring micronutrients. Vitamin D, magnesium, potassium, omega-3s don't appear on a basic macro tracker.
  • "Reserving calories" for treats. Eating 300 kcal of actual food then 900 kcal of ice cream hits targets but isn't healthy.

The practical compromise

Most experienced flexible dieters follow a soft 80/20 rule: roughly 80% of calories from whole foods — lean protein, vegetables, fruit, grains, legumes, dairy — and 20% from whatever else fits. The 80% provides fiber, micronutrients, and satiety; the 20% provides flexibility for social meals, sweet tooths, and sustainability.

App support

Every major tracking app — MyFitnessPal, Cronometer, MacroFactor, Lose It!, Yazio — supports flexible dieting by default. You set macro targets and track. MacroFactor and Cronometer are particularly popular with flexible dieters because of their adaptive targets and nutrient detail, respectively.

Who it fits

  • People who don't respond well to "no" lists.
  • Tracking-comfortable people who like math and data.
  • Athletes periodizing calories around training.
  • Anyone with a history of restrict-rebound cycles on traditional diets.

Who it doesn't fit

  • People with current or historical disordered eating — the tracking itself can become a problem.
  • People who find calorie math stressful; intuitive eating may serve them better.
  • People with medical conditions requiring specific food restrictions (celiac, severe allergies) — flexible inside those constraints, not unlimited.

Coaching note

The flexibility is the feature. The discipline of actually hitting targets — consistently, honestly — is the work. Skipping the second part and keeping only the first is where IIFYM gets a bad rap. Done right, it's one of the more sustainable frames for long-term calorie management.

References

  1. "International Society of Sports Nutrition Position Stand: Diets and Body Composition". Journal of the International Society of Sports Nutrition , 2017 .
  2. Polivy J, Herman CP. "Dieting and binging: a causal analysis". American Psychologist .
  3. "Dietary Guidelines for Americans 2020–2025". USDA and HHS .
  4. "Healthy eating plate". Harvard T.H. Chan School of Public Health .

Related terms