What Is Modified Adjusted Gross Income (MAGI)?

An artistic rendering of a stock chart

If you have ever filled out a tax return, applied for health insurance through the marketplace, or looked into contributing to a Roth IRA, you have likely encountered the term modified adjusted gross income, or MAGI. It sounds like bureaucratic jargon, but it is one of the more consequential numbers in your financial life. Understanding what it is, how it is calculated, and why it matters can save you money and help you make smarter decisions about how you earn, save, and invest.

What Is Adjusted Gross Income?

Before getting to MAGI, you need to understand adjusted gross income, or AGI. Your AGI is your total gross income minus certain above-the-line deductions. Gross income includes wages, salaries, tips, freelance income, investment income, rental income, and other sources. Above-the-line deductions are subtractions the IRS allows you to take before you get to your standard or itemized deductions.

Common above-the-line deductions that reduce gross income to AGI include contributions to a traditional IRA, student loan interest, alimony paid under pre-2019 divorce agreements, contributions to a health savings account (HSA), and self-employment taxes.

Your AGI is the number found on line 11 of Form 1040. It is the foundation for many other calculations on your return.

How MAGI Is Different

Modified adjusted gross income takes your AGI and adds certain deductions back in. The purpose is to get a cleaner picture of your actual economic income for specific eligibility calculations. The IRS does not want people who have deducted certain expenses to qualify for additional tax benefits they would not otherwise qualify for without those deductions.

The specific add-backs that convert AGI to MAGI depend on the context. Different programs use slightly different MAGI definitions, which is part of what makes this concept confusing. That said, common items added back to AGI to arrive at MAGI include:

Student loan interest deduction, IRA deductions, tuition and fees deductions, passive income or loss, rental losses, excluded foreign earned income, tax-exempt interest income, and certain Social Security benefits.

For most people with straightforward financial situations, MAGI and AGI are the same number or very close to it.

One Acronym, Several Formulas

Here is the wrinkle most explainers gloss over: there is no single MAGI formula. The IRS publishes different add-back lists for different benefits, and the number you compute for one purpose does not necessarily carry over to another. The agency even maintains a dedicated page spelling out which items to add or subtract for each use case, from the child tax credit to the premium tax credit to IRA eligibility.

A few examples show how the lists diverge. For Roth IRA and deductible traditional IRA purposes, you add back the student loan interest deduction, any traditional IRA deduction, and income excluded under the foreign earned income exclusion. For the premium tax credit on the health insurance marketplace, you instead add back excluded foreign income, tax-exempt interest, and the nontaxable portion of Social Security benefits. For Medicare premium surcharges, the add-back is simply tax-exempt interest. The same taxpayer can therefore have three different MAGI figures in the same year.

Why MAGI Matters: Where It Is Used

The reason MAGI gets so much attention is that it determines eligibility for a surprising number of programs and tax benefits. Here are the most important ones.

Roth IRA Contributions

This is where MAGI comes up most often for people who are investing for retirement. The IRS uses your MAGI to determine whether you can contribute to a Roth IRA, and if so, how much. For 2026, the ability to contribute to a Roth IRA phases out for single filers with a MAGI between $153,000 and $168,000. For married couples filing jointly, the phase-out range is $242,000 to $252,000. Above those limits, direct Roth IRA contributions are not allowed.

If your MAGI exceeds these thresholds, you are not completely locked out of a Roth IRA. A strategy called the backdoor Roth IRA allows higher earners to make a non-deductible traditional IRA contribution and then convert it to a Roth, subject to certain rules and potential tax implications.

Traditional IRA Deductibility

If you or your spouse are covered by a workplace retirement plan like a 401(k), your MAGI determines whether your traditional IRA contributions are tax-deductible. For 2026, the deduction phases out for single filers covered by a workplace plan with a MAGI between $81,000 and $91,000, and for married couples filing jointly where the contributing spouse is covered, between $129,000 and $149,000.

If neither you nor your spouse participates in a workplace retirement plan, your traditional IRA contributions are fully deductible regardless of income.

Affordable Care Act Premium Tax Credits

If you purchase health insurance through the federal marketplace or a state exchange, your MAGI determines whether you qualify for premium tax credits, which reduce the monthly cost of your insurance. Eligibility is based on your MAGI relative to the federal poverty level. This is one area where even modest differences in income can have a meaningful impact on what you pay for health coverage each month. The enhanced premium tax credits Congress created in 2021 expired at the end of 2025, so the standard credit rules apply again for 2026.

Medicare Premiums (IRMAA)

For people enrolled in Medicare, MAGI from two years prior is used to determine whether you pay a higher premium for Medicare Part B and Part D. This surcharge is called the Income-Related Monthly Adjustment Amount, or IRMAA. For 2026, the first surcharge tier starts when 2024 MAGI exceeds $109,000 for single filers or $218,000 for joint filers, on top of the standard Part B premium of $202.90 per month. This is a planning consideration worth thinking about as you approach retirement age.

Child Tax Credit and Other Credits

Your MAGI also affects eligibility for the child tax credit, the American Opportunity Tax Credit for college expenses, the Lifetime Learning Credit, and the premium tax credit, among others. Each has its own thresholds and phase-out ranges.



How to Calculate Your MAGI

The exact calculation varies by purpose, but the general process is the same. Start with your AGI from line 11 of Form 1040. Then add back specific deductions or exclusions relevant to the benefit or program you are calculating for. The IRS and your tax software will typically walk you through this, but knowing the concept helps you anticipate where you stand before you sit down to file.

If you use tax preparation software, it typically calculates your MAGI automatically in the context of each relevant form or credit. If you work with a tax professional, this is a number worth asking about directly, especially if you are close to a threshold that affects your Roth IRA eligibility or healthcare credits.

A Worked Example

Suppose you are single, covered by a 401(k) at work, and wondering whether you can contribute directly to a Roth IRA for 2026. Your AGI from line 11 of Form 1040 is $148,000, and during the year you deducted $2,200 of student loan interest. For Roth IRA purposes that deduction is added back, so your MAGI is $150,200. The 2026 phase-out for single filers begins at $153,000, so you are clear to make the full $7,500 contribution, or $8,600 if you are 50 or older. Had your MAGI landed between $153,000 and $168,000, your allowed contribution would shrink proportionally, reaching zero at $168,000.

Medicare shows the other side of the coin. Consider a married couple filing jointly who are both on Medicare in 2026. The Social Security Administration looks back at their 2024 return, where MAGI means AGI plus tax-exempt interest. If that number was $218,000 or less, each spouse pays the standard Part B premium of $202.90 per month. A single dollar above $218,000 pushes both spouses into the first surcharge tier for the entire year. That cliff is why retirees keep such a close eye on year-end income.

Common MAGI Misconceptions

Because the rules differ by program, a few misunderstandings come up again and again.

  • My MAGI is the same as my AGI. Not always. Any relevant deduction or exclusion you claim gets added back, which pushes MAGI above AGI. Near a phase-out threshold, even a few hundred dollars can change what you qualify for.
  • A Roth conversion lowers my MAGI. It does the opposite. Converted dollars count as income in the year of the conversion, raising both AGI and MAGI. That matters if the same year brings marketplace subsidies or a Medicare premium determination.
  • Medicare looks at my current income. It looks at your MAGI from two years earlier. If your income has fallen since then, you can file Form SSA-44 to request a reduction after a life-changing event such as retirement.
  • One MAGI number works everywhere. It does not. Because the add-backs differ, compute MAGI separately for each benefit instead of reusing a single figure.

MAGI and Financial Planning

Because MAGI affects so many important thresholds, it is a useful number to monitor throughout the year, not just at tax time. If you are approaching a phase-out range for Roth IRA contributions or a tax credit you rely on, you may have options to reduce your MAGI before year-end.

Strategies that can lower MAGI include maximizing contributions to tax-deferred accounts like a 401(k) or 403(b), contributing to an HSA if you have a high-deductible health plan, harvesting capital losses to offset gains, and timing the receipt of income or deductions when possible.

Books on money and personal finance often emphasize the importance of understanding how the tax code interacts with your investing decisions. The Millionaire Next Door by Thomas Stanley and William Danko, Your Money or Your Life by Vicki Robin and Joe Dominguez, and The Simple Path to Wealth by JL Collins all touch on how tax-efficient behavior compounds over a lifetime of investing. Understanding your MAGI is a practical extension of that mindset.

When to Talk to a Professional

If your income is near a phase-out threshold, or if you have multiple income sources, investment accounts, and deductions, calculating your MAGI and understanding its implications can get complicated quickly. A fee-only financial advisor or a CPA can help you model different scenarios and make sure you are not inadvertently triggering a higher Medicare premium or losing eligibility for a tax credit through a single financial decision made without context.

That said, the concept itself is not out of reach for anyone willing to spend a little time learning it. Your MAGI is a number you can understand, monitor, and in many cases, influence. That puts you in a better position to make smart decisions with your money all year long.