Skip to content
← All financial terms

Taxes · Financial term

Modified Adjusted Gross Income (MAGI)

Also called MAGI · Modified AGI · MAGI for IRMAA · MAGI for Roth IRA · ACA household income

What is modified adjusted gross income (MAGI)?

Modified adjusted gross income (MAGI) is your adjusted gross income with certain items added back, or occasionally subtracted, for a specific tax or benefit rule. There is no single MAGI: Roth IRA eligibility, Medicare IRMAA surcharges, Affordable Care Act premium credits and the net investment income tax each define it differently. For many households, though, MAGI and AGI are the same number.

9 min readWorked example5 common questions

How MAGI works

Every MAGI begins with adjusted gross income, the figure on line 11a of the 2025 Form 1040. The rule that uses it then writes its own recipe, adding back income that AGI leaves out or deductions that pulled AGI down, and occasionally removing something. Most add-backs are income that escapes income tax but still counts for the rule in question, so the gap between AGI and MAGI is usually widest for retirees and for Americans working abroad. The usual adjustments are:

  • Tax-exempt interest, such as interest from municipal bonds: added back for Medicare IRMAA and ACA premium credits.
  • The untaxed part of Social Security benefits: added back for ACA premium credits, so the whole benefit counts there.
  • Foreign earned income and housing exclusions: added back by nearly every MAGI test.
  • Deductions that lowered AGI: the IRA and student loan interest deductions are added back for the IRA contribution and deduction tests.
  • The one common subtraction: Roth conversion income is removed for the Roth IRA contribution test, and only for that test.

Phase-outs vs. cliffs

What happens as MAGI rises depends on the rule, and that decides how much one extra dollar can cost.

Phase-outs shrink a benefit gradually. In 2026 the amount you can put into a Roth IRA falls from the full limit to zero as MAGI moves from $153,000 to $168,000 for a single filer, or from $242,000 to $252,000 for a married couple filing jointly. The $6,000 senior deduction shrinks by 6 cents for each dollar of MAGI above $75,000 ($150,000 joint), so for one person it is gone at $175,000.

Cliffs switch on all at once. One dollar over the first IRMAA threshold, $109,000 single or $218,000 joint, adds $81.20 a month to the Medicare Part B premium and $14.50 to Part D for each enrollee, about $1,148 a year. For 2026 marketplace coverage, premium tax credits end above 400% of the federal poverty line, $62,600 for one person in the 48 contiguous states, so one dollar over can cost the entire credit.

Thresholds sit in between. The 3.8% net investment income tax applies only to the smaller of your investment income or your MAGI above $200,000 ($250,000 joint), so crossing the line costs at most 3.8 cents per extra dollar.

Which year’s MAGI counts

Timing differs as much as the definitions. Roth IRA eligibility uses the MAGI of the year the contribution is for, and because you can contribute until the tax filing deadline the following April, you can wait until you know the figure.

Medicare looks back two years: 2026 IRMAA is set from 2024 tax returns. A large Roth conversion or taxable gain at 63 can therefore raise premiums at 65. If your income has since dropped because of a life-changing event such as retirement, divorce or the death of a spouse, you can ask Social Security to use a more recent year by filing Form SSA-44.

Marketplace premium credits run the other way. You estimate the current year’s MAGI when you enroll, receive the credit in advance and settle up when you file. For 2026 coverage there is no longer any cap on repaying excess advance credit, so an unplanned conversion, bonus or capital gain late in the year can turn into a large bill at tax time.

Common MAGI mistakes

Most MAGI surprises come from income that feels invisible, or from assuming one MAGI figure fits every rule. They cluster in two stretches: the years between leaving work and enrolling in Medicare, when income is low and flexible and the ACA cliff is closest, and the years after required withdrawals begin, when IRMAA tiers come into play. Before a large conversion, sale or withdrawal, run the numbers through the worksheet for each rule it could touch.

  • Using AGI for ACA credits and leaving out untaxed Social Security or municipal bond interest.
  • Expecting the standard or senior deduction to lower MAGI: both come after AGI, on the way to taxable income.
  • Forgetting that long-term gains count in full, even when they are taxed at 0%.
  • Ignoring the two-year IRMAA lag when planning income at 63 and 64.

Managing MAGI in a retirement plan

Because every MAGI starts from AGI, the usual ways to lower AGI, such as pre-tax 401(k) deferrals, HSA contributions and, from age 70½, qualified charitable distributions, lower MAGI too. In retirement the bigger lever is which account pays the bills: qualified Roth IRA withdrawals add nothing to MAGI, and cash raised by selling taxable investments counts only to the extent of the gain.

The other lever is timing. Retirees with large pre-tax balances often face higher MAGI once required minimum distributions start than in their early 60s. Filling the low-income years with measured conversions or gains, while staying under the next cliff, can even out income across the whole retirement. A tax-efficient withdrawal strategy counts these thresholds as part of the tax cost of each dollar.

Illustrative numbers

An early retiree near the 2026 ACA subsidy cliff (single, age 60)

Formula
MAGI = AGI + add-backs required by the rule − any subtractions the rule allows
AGI
Adjusted gross income, line 11a of the 2025 Form 1040
Add-backs
Rule-specific items such as tax-exempt interest, untaxed Social Security, excluded foreign income, or the IRA and student loan interest deductions
Subtractions
Rare; the Roth IRA contribution test removes income from Roth conversions

Use the worksheet for the rule you are testing; one MAGI figure does not fit every test.

Traditional IRA withdrawals$35,000

Qualified dividends$6,000

Roth conversion$20,000

Adjusted gross income$61,000

Municipal bond interest, added back+$4,000

MAGI for the premium tax credit$65,000

400% of the poverty line for one person, 2026 coverage$62,600

AGI alone sits under the cliff, but the premium tax credit adds back the $4,000 of tax-exempt interest, putting MAGI $2,400 over the line and wiping out the credit for 2026. Cutting the conversion to $17,500 lowers MAGI to $62,500 and restores it.

At a glance

Common MAGI definitions and their 2026 thresholds

RuleMAGI starts from AGI and…2026 threshold (single / joint)
Roth IRA contributionsSubtracts Roth conversion income; adds back IRA and student loan interest deductions and certain exclusionsPhase-out $153,000–$168,000 / $242,000–$252,000
Traditional IRA deduction, covered at workAdds back IRA and student loan interest deductions and certain exclusionsPhase-out $81,000–$91,000 / $129,000–$149,000
Medicare IRMAAAdds tax-exempt interest and certain excluded income, from the return two years earlierSurcharge above $109,000 / $218,000
ACA premium tax creditAdds tax-exempt interest, untaxed Social Security and excluded foreign incomeNo credit above 400% of the poverty line: $62,600 for 1, $84,600 for 2 (48 states)
Net investment income taxAdds excluded foreign earned income3.8% tax above $200,000 / $250,000
Senior deduction, 2025–2028Adds excluded foreign and US-possession income$6,000 shrinks by 6% of MAGI above $75,000 / $150,000

Put it in your plan

MAGI in MoneyWhatIf

MoneyWhatIf recomputes a settled MAGI for each projected year after that year’s withdrawals and sales, rather than freezing it before the year is funded. It keeps the figure for the IRMAA lookback and reads it two years later, applies 2026 MAGI phase-out ranges, carried into later years, to traditional IRA deductibility and Roth IRA contributions, and measures the net investment income tax against it. Municipal bond interest is added back for IRMAA and marketplace eligibility, and untaxed Social Security for the marketplace credit. It is a planning approximation, not every program’s official worksheet.

Open your forecast

Common questions

MAGI FAQs

Is MAGI the same as AGI?

Often, yes. If you have no tax-exempt interest, untaxed Social Security, foreign income exclusion, IRA or student loan interest deduction, or Roth conversion, most versions of MAGI equal your AGI. Differences appear as soon as one of those items shows up, and they are largest for retirees who hold municipal bonds, collect Social Security or convert IRA money to Roth.

Does a Roth conversion count toward MAGI?

For most tests, yes. Conversion income is in AGI, so it raises MAGI for IRMAA, ACA premium credits, the net investment income tax and the senior deduction. The exception is the Roth IRA contribution test: IRS Publication 590-A has you subtract conversion income before comparing MAGI with the phase-out range, which starts at $153,000 single or $242,000 joint in 2026, and warns not to subtract it for any other AGI-based limit.

Where do I find my MAGI on my tax return?

Form 1040 has no MAGI line. Start from AGI on line 11a and apply the recipe for the rule you are testing. Form 8962 asks for MAGI on line 2a for the premium tax credit, Form 8960 on line 13 for the net investment income tax, and IRS Publication 590-A has worksheets for Roth IRA eligibility and the traditional IRA deduction. For Medicare surcharges there is nothing to fill in: Social Security sets IRMAA from your tax return two years back.

Do 401(k) and HSA contributions lower MAGI?

Yes, for nearly every test. Pre-tax 401(k) deferrals are left out of your wages, and HSA contributions are either excluded from wages or deducted, so both lower AGI, and every MAGI starts from AGI. Roth 401(k) deferrals don’t lower it. A deductible traditional IRA contribution lowers AGI, but the IRA tests add that deduction back, so it won’t help you qualify for a Roth IRA.

Does Social Security count in MAGI?

The taxable part does, because it is already in AGI; between none and 85% of benefits is taxable, depending on your other income. For ACA premium credits the untaxed part is added back too, so the entire benefit counts. How much of a benefit is taxed is decided by a separate measure, provisional income: AGI-type income plus tax-exempt interest plus half of your benefits.