← Back to Blog

MAGI Optimization in Retirement: Lower Your Taxes and Keep Your Benefits

You've spent decades building your retirement nest egg. But here's the hard truth: how much you keep depends not just on how much you saved, but on how well you manage your Modified Adjusted Gross Income (MAGI).

MAGI is the invisible number that determines:

This guide will show you exactly what MAGI is, why it matters so much in retirement, and most importantly—proven strategies to keep your MAGI low while maintaining your lifestyle.

What is MAGI and Why Does It Matter?

Modified Adjusted Gross Income (MAGI) is your Adjusted Gross Income (AGI) plus certain add-backs like tax-exempt interest and excluded foreign income.

For most retirees: MAGI ≈ AGI (the modifications rarely apply).

What counts toward MAGI:

What does NOT count:

Why MAGI matters: Federal and state programs use MAGI—not your actual spending or wealth—to determine eligibility and costs. You could have $5 million in the bank, spend $100k/year, and qualify for ACA subsidies if your MAGI is under $60k.

The Three Major MAGI Thresholds in Retirement

1. ACA Subsidy Cliff (Under Age 65)

If you retire before Medicare eligibility, MAGI determines your health insurance costs.

2026 threshold:

Cross that line by $1 and you lose subsidies worth $15,000-$30,000/year.

(Full guide to navigating the ACA cliff)

2. IRMAA Surcharges (Medicare Premiums)

Once you're on Medicare (age 65+), MAGI determines your Part B and Part D premiums through Income-Related Monthly Adjustment Amounts (IRMAA).

2026 IRMAA brackets (married filing jointly):

| MAGI | Part B Premium | Part D Surcharge | Total Annual Extra Cost |

|------|---------------|------------------|------------------------|

| <$212,000 | $174.70/month | $0 | $0 (baseline) |

| $212,000-$266,000 | $244.60 | $12.90 | $1,678/year extra |

| $266,000-$322,000 | $349.40 | $33.30 | $3,792/year extra |

| $322,000-$378,000 | $454.20 | $53.80 | $6,192/year extra |

| $378,000-$450,000 | $559.00 | $74.20 | $8,784/year extra |

| >$450,000 | $594.00 | $81.00 | $9,600/year extra |

Key insight: Crossing from $211,000 to $213,000 in MAGI costs you $1,678/year in extra premiums. That's an 84% marginal penalty on $2,000 of income.

3. Capital Gains Tax Brackets

Long-term capital gains rates depend on taxable income (which is driven by MAGI).

2026 brackets (married filing jointly):

The opportunity: Retirees with low MAGI can harvest capital gains at 0% tax—free money.

MAGI Optimization Strategy #1: Live Off Roth Withdrawals

The single most powerful MAGI tool: Roth IRA withdrawals don't count toward MAGI.

Example:

Result: Despite $70k spending, MAGI is $25.5k—well under every threshold.

How to build Roth balances:

(Step-by-step guide to Roth conversion ladders)

MAGI Optimization Strategy #2: Tax-Loss Harvesting

If you hold investments in taxable brokerage accounts, tax-loss harvesting is a powerful MAGI reduction tool.

How it works:

Example:

Advanced move: Harvest losses in December, then immediately buy similar (but not identical) assets to maintain market exposure. Example: Sell VTI (Vanguard Total Stock Market), buy ITOT (iShares Total Market). Economically identical, but avoids wash sale rules.

MAGI Optimization Strategy #3: 0% Capital Gains Harvesting

If your MAGI is under $89,250 (married) or $44,625 (single), long-term capital gains are taxed at 0%.

The strategy:

Example:

When to do this: Every year your MAGI is in the 0% bracket. This is "free" basis step-up that reduces future MAGI from capital gains.

MAGI Optimization Strategy #4: Qualified Charitable Distributions (QCDs)

If you're 70½+ and charitably inclined, QCDs are a powerful MAGI reduction tool.

How it works:

Example without QCD:

Example with QCD:

Benefit: $10k lower MAGI, which could save thousands in IRMAA surcharges or ACA subsidies.

Limitation: QCDs only work for IRAs, not 401ks (though you can roll 401k to IRA first). And you can't take the charitable deduction (but most retirees take standard deduction anyway, so this doesn't matter).

MAGI Optimization Strategy #5: Strategic Roth Conversions

Roth conversions are a trade-off:

Optimal timing for conversions:

Before Age 65 (Pre-Medicare)

Do conversions ONLY if:

Warning: Do NOT do Roth conversions if it pushes you over the ACA cliff ($60k single, $81k married). The subsidy loss ($15-20k) far exceeds the tax benefit of conversion.

Age 65-72 (Medicare, Pre-RMD)

This is the golden window for Roth conversions:

Strategy: Convert up to the top of the 12% or 22% tax bracket, but watch IRMAA thresholds. If you're close to $212k (first IRMAA tier), consider stopping at $211k.

Advanced move: IRMAA is based on MAGI from 2 years ago. So 2026 Medicare premiums use 2024 MAGI. You can "plan ahead" and spread conversions to avoid IRMAA tiers.

Age 73+ (RMD Years)

Conversions are harder (RMDs already pushing MAGI up), but still valuable if:

MAGI Optimization Strategy #6: Control Social Security Timing

Social Security taxation is based on "provisional income" (AGI + 50% of Social Security + tax-exempt interest).

Thresholds for taxation (married filing jointly):

Strategy: If your MAGI is close to these thresholds, delaying Social Security from 62 to 70 can dramatically improve your tax situation in your 60s.

Example:

MAGI Optimization Strategy #7: Bunch Income and Deductions

Some years you'll spike MAGI no matter what (stock options vest, sell rental property, etc.). When this happens, BUNCH additional income into that year.

The logic: If you're already over the IRMAA or ACA threshold, adding more income to that year has lower marginal cost. Save your low-MAGI years for other purposes.

What to bunch:

Corresponding strategy: Bunch deductions in low-income years (when they're worth less) to save them for high-income years.

How to Track and Optimize Your MAGI

Step 1: Calculate Your Current MAGI Trajectory

Project your MAGI for the next 10 years:

Step 2: Identify Threshold Risks

Step 3: Optimize Withdrawal Sequencing

Determine which accounts to tap each year:

(Full guide to tax-efficient withdrawal strategies)

Step 4: Model It

Use Monte Carlo simulation to test different withdrawal sequences across thousands of market scenarios. See which approach keeps MAGI lowest while maintaining spending.

QuantCalc models:

Run 10,000 simulations to find the optimal strategy for YOUR portfolio and income needs.

Real-World Example: Cutting MAGI by $40,000

Scenario: Married couple, ages 64-65, $1.2M portfolio, needs $80k/year spending.

Naive approach:

Problems:

Optimized approach:

Result:

5-year benefit: $100k+ in subsidies and avoided IRMAA surcharges, just from better withdrawal sequencing.

Common MAGI Optimization Mistakes

Mistake 1: Ignoring the 2-Year IRMAA Lookback

IRMAA uses MAGI from 2 years ago. So a $300k one-time income spike in 2024 will hit you with IRMAA surcharges in 2026-2027 (2 years of penalties for 1 year of income).

Mistake 2: Roth Converting Too Aggressively Before 65

Conversions can cost you $20k/year in lost ACA subsidies. Do the math: paying 12% tax to convert might save $3k, but losing the subsidy costs $20k. Bad trade.

Mistake 3: Not Using QCDs After 70½

If you're charitably inclined and not using QCDs, you're voluntarily increasing MAGI and paying unnecessary taxes.

Mistake 4: Forgetting About State Taxes

MAGI optimization often focuses on federal thresholds, but some states have their own income-based penalties (California, New York, etc.). Factor in state tax brackets when planning.

Mistake 5: Over-Optimizing for MAGI at the Expense of Total Tax Bill

Sometimes it's worth increasing MAGI to reduce lifetime taxes. Example: Taking a $1k IRMAA hit to do a $50k Roth conversion that saves $12k in future taxes.

Always optimize for total after-tax wealth, not just lowest MAGI.

The Bottom Line

MAGI is the most important number in retirement that nobody talks about. It determines your healthcare costs, your subsidy eligibility, and your tax bill—often more than your actual investment returns.

With the right strategies—Roth withdrawals, tax-loss harvesting, QCDs, strategic conversions—you can cut your MAGI by tens of thousands of dollars while maintaining your lifestyle.

The difference between optimized and un-optimized MAGI strategies can be $200k-$500k over a 30-year retirement. That's worth planning for.

Ready to optimize your MAGI and maximize your after-tax retirement income? Model your withdrawal strategy with QuantCalc and see how different approaches affect your taxes and benefits.


Further Reading:

Ready to optimize your retirement plan?

Run Monte Carlo simulations with up to 10,000 scenarios using institutional forecasts from BlackRock, JPMorgan, Vanguard, and GMO.

Try QuantCalc Free