MAGI: The Income Number That Quietly Gates Your Financial Options
Whether you can contribute directly to a Roth IRA, deduct a traditional IRA contribution, or pay a Medicare surcharge all hinge on one specific number, and it is not simply your salary. Modified adjusted gross income adds certain deductions back to your adjusted gross income, and missing that distinction leads people to blow eligibility calculations that are worth real money.
The core principle
Modified adjusted gross income (MAGI) starts with adjusted gross income (AGI), your gross income after certain above-the-line deductions, and then adds back specific items that were subtracted to reach AGI, chosen depending on which tax benefit is being tested. Common add-back items include the foreign earned income exclusion, deducted student loan interest in some calculations, and tax-exempt municipal bond interest for certain thresholds. In general form: MAGI = AGI + specific add-back items relevant to the benefit in question.
The single most important thing to understand about MAGI is that there is no one universal MAGI figure. Roth IRA eligibility uses one MAGI calculation. The premium tax credit for marketplace health insurance uses a different one. Medicare's IRMAA surcharge uses yet another, based on a return filed two years earlier rather than the current year. Student loan income-driven repayment plans use their own version as well. For most taxpayers without foreign income, significant municipal bond holdings, or unusual deductions, these different MAGI calculations converge to nearly the same number as AGI itself, but for anyone sitting near a threshold, the specific add-backs for that specific benefit can matter enormously.
MAGI thresholds function as gates, and in several important cases they function as sharp cliffs rather than smooth ramps. Roth IRA contribution eligibility phases out gradually across a defined income band. Medicare's IRMAA surcharges, by contrast, jump in full tier increments the moment MAGI crosses a threshold, meaning one extra dollar of MAGI can trigger a materially higher premium for an entire year, not a proportional adjustment.
It is worth naming a few of the specific benefits that key off MAGI, since the list is broader than most people expect and spans well beyond retirement accounts. Eligibility to deduct traditional IRA contributions when a workplace plan is also available phases out based on MAGI. The child tax credit and certain education credits phase out based on MAGI. Marketplace health insurance premium tax credits under the Affordable Care Act are calculated using a household MAGI figure. Even eligibility to deduct student loan interest, up to a capped annual amount, phases out based on a MAGI calculation of its own. Each of these uses a similar but not identical add-back methodology, which is precisely why checking the specific rule in question, rather than assuming a MAGI figure calculated for one purpose transfers cleanly to another, matters as much as it does.
How the math works
Example 1: how a small deduction changes MAGI-based eligibility. A single filer has wages of $150,000 and no other income or deductions relevant to this calculation, so both AGI and MAGI for Roth purposes sit at $150,000. Suppose the Roth IRA phase-out band for single filers runs from $146,000 to $161,000, a $15,000-wide range. This filer sits $150,000 minus $146,000 = $4,000 into the band, or $4,000 / $15,000 = 26.7% of the way through it. If the annual Roth limit is $7,000, her allowed contribution is reduced by roughly that same 26.7%, to about $7,000 x (1 minus 0.267) = $7,000 x 0.733 ≈ $5,131. If she instead contributes $4,000 to a traditional 401(k) pre-tax, her AGI and MAGI both drop to $146,000, right at the bottom edge of the phase-out band, restoring her full $7,000 Roth contribution limit.
Example 2: how the IRMAA cliff differs from a smooth phase-out. Suppose an IRMAA tier boundary for a married couple sits at $206,000 MAGI, and crossing it adds a surcharge of $70 per person per month to Part B premiums, which applies for the entire following IRMAA year once triggered. A couple with MAGI of $205,900 pays the base premium. A couple with MAGI of $206,100, just $200 higher, pays the full surcharge of 2 x $70 x 12 = $1,680 more for the year, an outcome completely disproportionate to the $200 of income that caused it. This cliff structure, unlike the smoother Roth phase-out, is exactly why retirees plan large one-time income events carefully around known IRMAA thresholds.
How it shows up in real portfolios
The most common scenario is a dual-income couple who assume their gross salaries alone determine Roth IRA eligibility, only to discover that pre-tax 401(k) contributions, HSA contributions, and other above-the-line deductions have already lowered their MAGI well below where their salaries alone would suggest, restoring eligibility they thought they had lost.
A second scenario involves a self-employed professional near an Affordable Care Act premium tax credit cliff, who realizes that a larger deductible retirement contribution before year end lowers MAGI enough to preserve a meaningful health insurance subsidy, effectively making a retirement contribution do double duty as a health insurance cost-reduction strategy for that year.
A third scenario, common among retirees approaching age 65, involves someone completing a large Roth conversion or capital gain two years before enrolling in Medicare, without checking how that income will translate into MAGI for IRMAA purposes once the two-year lookback catches up. Spreading the same total conversion across several smaller-MAGI years, rather than one large year, is a common way advisors help clients avoid an avoidable IRMAA cliff.
A fourth scenario involves a family evaluating a college financial aid application, where certain aid formulas reference a MAGI-adjacent figure from the parents' or student's tax return as part of determining expected family contribution. A parent who realizes a large capital gain, perhaps from selling investment property, in the tax year that ends up being used for a financial aid application can inadvertently reduce a child's aid eligibility for that year, an outcome that becomes visible only when the household understands, in advance, which prior year's return the aid formula actually references and plans the timing of any large discretionary income event around it.
A useful way to think about the pattern across all four scenarios is that MAGI functions less like a single number a household calculates once a year and more like a shared input feeding several independent, differently defined tests at once. A retirement contribution decision, a capital gain realization decision, and a Roth conversion decision can each move the same underlying figure, and because that figure gates unrelated benefits with unrelated formulas and unrelated timing, the household that models these decisions together, ideally with a full-year income projection rather than a snapshot taken at any single point in time, generally captures more of the available benefit than a household reacting to each threshold individually as it comes up.
Actionable breakdown
- Identify which MAGI calculation actually applies:
- Roth IRA eligibility.
- Marketplace premium tax credit.
- Medicare IRMAA, based on a two-year-prior return.
- Student loan income-driven repayment.
- Estimate MAGI before year end, not after filing.
- Use pre-tax contributions deliberately to move MAGI when near a threshold.
- Time large one-time income events around known cliff boundaries.
- Recheck exact dollar thresholds each year, since most are indexed annually.
Common pitfalls
- Confusing gross salary with MAGI, and assuming ineligibility for a benefit that pre-tax contributions would actually restore.
- Applying one benefit's MAGI calculation to a different benefit, when the specific add-back items differ between them.
- Missing IRMAA's two-year lookback, and realizing a large one-time gain without checking how it lands two years later.
- Waiting until tax filing season to check thresholds, after the window to make an adjusting contribution for that tax year has closed.
Related concepts
For the figure MAGI is built from, see adjusted gross income (AGI). For the surcharge most affected by MAGI's two-year lookback, see Medicare. For the workaround high earners use once phased out of direct Roth contributions, see backdoor Roth IRA and net investment income tax. For broader context, see the guides on high income tax planning, retirement accounts, and tax efficiency.
The bottom line
MAGI, not gross income, determines eligibility for many valuable tax, healthcare, and retirement benefits, so calculate the specific version of it that applies to whatever threshold you are checking against, well before the year closes.