The Money Pocket

What Is MAGI and Why It Matters for Your Taxes

Modified Adjusted Gross Income (MAGI) determines Roth IRA eligibility, ACA subsidies, and Medicare IRMAA surcharges. Learn how to calculate yours and reduce it.
Federal Income Tax Guide Hub MAGImodified adjusted gross incomeRoth IRAACA subsidiesMedicare IRMAA

Written and reviewed by

Kevin Valopouloss

Kevin Valopouloss

Sole publisher · US taxation & finance

Informational only — not a substitute for a tax, legal, or investment professional who knows your facts. About the publisher

Use this calculator
Estimate MAGI for Roth IRA limits, ACA premium credits, and Medicare IRMAA. Different programs use different add-backs. Educational only.

AGI vs. MAGI: Why There Are Two Numbers

When you file your federal tax return, you calculate your Adjusted Gross Income (AGI) — your total income minus specific above-the-line deductions like 401(k) contributions, HSA contributions, and student loan interest. AGI is what determines your tax bracket after subtracting the standard or itemized deduction.

But AGI isn't the last word. Congress created Modified Adjusted Gross Income (MAGI) to determine eligibility for specific tax benefits — and it adds certain deductions back to your AGI, effectively making your income look higher for those particular purposes.

MAGI is not a single number. Different tax benefits use different MAGI formulas — adding back different items depending on the rule in question. Your Roth IRA MAGI, your ACA MAGI, and your Medicare MAGI may all be different figures derived from the same tax return.

Use the MAGI Calculator to calculate your MAGI for each major purpose automatically.

The Common MAGI Add-Backs

Most MAGI calculations start with AGI and add back some or all of the following:

Student loan interest deduction: Up to $2,500 in student loan interest is deductible above-the-line. For Roth IRA and IRA deductibility calculations, this deduction is added back.

Traditional IRA deduction: If you deducted contributions to a traditional IRA, that amount is added back for Roth IRA eligibility calculations. This prevents IRA contributors from artificially reducing their MAGI.

Passive activity losses: Rental real estate and other passive losses that were deductible on your return may be added back for certain MAGI calculations.

Tuition and fees deduction: This deduction, when available, is added back for MAGI-dependent benefits.

Foreign earned income exclusion: US citizens living abroad can exclude foreign earned income from taxable income, but it's added back to MAGI for most benefit calculations.

Tax-exempt Social Security benefits: The portion of Social Security not included in your taxable income is added to MAGI for ACA and Medicare calculations.

Tax-exempt interest income: Municipal bond interest, which is excluded from federal income tax, is added to MAGI for Medicare IRMAA calculations.

Why Different Rules Use Different Formulas

Congress designed each provision independently, which is why there's no single universal MAGI formula. Here's how several important MAGI calculations differ:

PurposeKey Add-Backs
Roth IRA eligibilityStudent loan interest, IRA deduction, tuition, foreign income exclusion
ACA premium tax creditTax-exempt SS benefits, tax-exempt interest
Medicare IRMAATax-exempt interest only
Saver's Match (§6433)Foreign earned income and possession exclusions (911/931/933), plus any exclusion or deduction for the qualified retirement contributions being matched

The Saver's Match calculator uses that last definition, not Roth MAGI. Phase-out thresholds in 2027 start at $20,500 (single) and $41,000 (joint) — far below Roth IRA limits. Details are in the Saver's Match guide.

The practical implication: you may be under the Roth IRA phase-out limit but still face IRMAA surcharges, or vice versa. Each one requires a separate calculation.

Roth IRA MAGI Limits and the Phase-Out

Direct Roth IRA contributions are limited based on your MAGI. In 2026 (IRS Notice 2025-67 / IRB 2025-49), the contribution cap is $7,500 ($8,600 with the $1,100 age-50 catch-up):

  • Single / head of household: Phase-out begins at $153,000, contribution is zero at $168,000 and above
  • Married filing jointly: Phase-out begins at $242,000, contribution is zero at $252,000 and above
  • Married filing separately: Phase-out begins at $0, effectively $0 allowed at $10,000 and above

Within the phase-out range, your maximum contribution is reduced proportionally. The calculation:

Reduced contribution = $7,500 × (1 − (MAGI − Phase-out start) / Phase-out range)

Example: Single filer with $160,500 MAGI. The phase-out range is $15,000 ($153,000–$168,000). Your MAGI is $7,500 into the range — halfway through. Your maximum Roth contribution is half of $7,500 = $3,750.

The Backdoor Roth IRA

If your MAGI exceeds the Roth contribution limit, the backdoor Roth strategy lets you still get money into a Roth:

  1. Contribute to a non-deductible traditional IRA (no income limit on contributions)
  2. Convert the traditional IRA to a Roth IRA

The conversion is generally tax-free if you have no other pre-tax IRA balances. See the Backdoor Roth Calculator to check if this strategy works for your situation. If you already made a direct Roth contribution that MAGI does not allow, a backdoor does not undo it — use the excess Roth IRA contribution calculator and the excess contribution guide.

ACA Premium Tax Credits and the Subsidy Cliff

The Affordable Care Act provides premium subsidies for health insurance purchased on the marketplace, based on your household MAGI as a percentage of the Federal Poverty Level (FPL).

Approximate 2026 subsidy thresholds:

Household Size400% FPL (Subsidy Cliff)
1 person~$60,240
2 people~$81,760
3 people~$103,280
4 people~$124,800

The ACA subsidy "cliff" at 400% FPL is severe: crossing the threshold by even $1 can eliminate thousands of dollars in annual premium subsidies. For early retirees or self-employed individuals managing their taxable income, staying below 400% FPL is often worth significant planning effort.

Strategies to stay below the ACA cliff:

  • Maximize traditional 401(k) or IRA contributions to reduce MAGI
  • Contribute to an HSA
  • Time Roth conversions carefully to avoid pushing MAGI over the threshold
  • Use tax-loss harvesting to offset capital gains

ACA MAGI formula: AGI + tax-exempt Social Security benefits + tax-exempt interest income. It does not add back student loan interest or IRA deductions, making it simpler than other MAGI calculations.

Medicare IRMAA: The Two-Year Lookback

If your MAGI exceeds certain thresholds, you pay higher Medicare Part B and Part D premiums through the Income-Related Monthly Adjustment Amount (IRMAA). For 2026 premiums, Medicare looks at your 2024 MAGI.

This two-year lookback creates a planning challenge: high income in one year means higher Medicare costs two years later. Common triggers include large Roth conversions, business sales, or required minimum distributions.

2026 Part B IRMAA thresholds (based on 2024 income):

2024 MAGI Single2024 MAGI MarriedExtra Monthly Cost
≤ $106,000≤ $212,000$0
$106,001 – $133,000$212,001 – $266,000+$70.00
$133,001 – $167,000$266,001 – $334,000+$176.60
$167,001 – $200,000$334,001 – $400,000+$283.20
$200,001 – $500,000$400,001 – $750,000+$389.80
Over $500,000Over $750,000+$426.10

You can appeal an IRMAA surcharge if your income has since decreased due to a life-changing event (retirement, divorce, death of spouse) using Form SSA-44.

Medicare MAGI formula: AGI + tax-exempt interest income. Social Security benefits are not added back for Medicare IRMAA — unlike the ACA calculation.

Strategies to Reduce Your MAGI

Maximize Pre-Tax Retirement Contributions

Every dollar contributed to a traditional 401(k) or 403(b) reduces your W-2 income, which lowers your AGI and MAGI. The 2026 elective-deferral limit is $24,500 ($32,500 if age 50+, including the $8,000 catch-up).

Impact example: A married couple earning $250,000 combined who each max out a 401(k) reduces MAGI by $49,000 — potentially keeping them in a lower Roth phase-out tier, below IRMAA thresholds, and preserving ACA eligibility.

Contribute to an HSA

Health Savings Account contributions are above-the-line deductions. For 2026: $4,400 (self-only) or $8,750 (family). The deduction reduces your AGI and MAGI dollar-for-dollar.

Harvest Capital Losses

Capital losses offset capital gains on your return. Net losses reduce your AGI (up to $3,000 of ordinary income per year, with excess carried forward). This directly reduces MAGI.

Defer or Accelerate Income

If you're near a MAGI threshold that triggers a cliff (ACA subsidy, Roth phase-out, IRMAA), timing income carefully around year-end can help. Deferring a year-end bonus into January, or accelerating retirement plan distributions into this year, are common levers.

Roth Conversion Laddering

Strategic Roth conversions let you control your MAGI in retirement. Converting just enough each year to fill lower brackets — while staying below IRMAA thresholds or the ACA cliff — is a core retirement income planning strategy. Model this with our Roth Conversion Calculator.

Putting It All Together

MAGI is not one number — it's a framework for understanding how your income interacts with the tax code. The same income on your tax return can look different for Roth IRA purposes versus Medicare versus the ACA.

The good news: every add-back to MAGI starts with your AGI. The best way to reduce MAGI across the board is to lower your AGI through pre-tax retirement savings, HSA contributions, and strategic income timing.


Related tools: MAGI Calculator | Saver's Match Calculator | Excess Roth IRA Contribution Calculator | Roth Conversion Calculator | Backdoor Roth Calculator

More Federal Income Tax Guide articles

Other guides in the Federal Income Tax Guide hub
IRS Inflation Adjustments: Official Tax Limits
Official 2026 tax inflation adjustments from IRS Rev. Proc. 2025-32. Brackets, deductions, credits, estate limits, and benefit caps in one guide.
Complete Guide to Tax Changes Under the OBBBA
Comprehensive guide to 2026 tax changes from the One Big Beautiful Bill Act. New brackets, senior deduction, QBI changes, and how they affect your taxes.
Adoption Tax Credit: Eligibility and Limits
How the federal adoption tax credit works in 2026. $17,670 max credit, $5,120 refundable, income limits, and Form 8839 filing explained.
Calculating Sales Tax Worksheets: Complete Guide for Business and Education
Master sales tax calculations with comprehensive worksheets, formulas, and examples. Perfect for business owners, students, and tax professionals.
Foreign Earned Income Exclusion: Complete Guide
How the FEIE works for US expats in 2026. Qualification tests, the $132,900 exclusion limit, housing exclusion, and MAGI impacts explained.
How Lottery Winnings Are Taxed: What Every Winner Must Know
Lottery winnings are taxed as ordinary income at up to 37% federal plus state tax. Learn how lump sum vs annuity affects your tax bill and how to keep more.

© 2026 The Money Pocket. Published by Kevin Valopouloss. For information only — not tax, legal, or investment advice.