MAGI explained: What Modified Adjusted Gross Income means and how to calculate it
Making the most of Modified Adjusted Gross Income should be a key part of your financial planning and taxes, as it can play an important role when determining your eligibility for various tax credits, deductions, and retirement account contributions.
- MAGI in one sentence: MAGI is your AGI plus or minus specific adjustments required for the tax benefit, credit, or surcharge you are checking.
- Start here: Use AGI from Form 1040, line 11.
- Important: There is no single MAGI formula for every tax rule.
- Common uses: Roth IRA eligibility, traditional IRA deductions, Premium Tax Credit, and Medicare IRMAA.
In this article, we'll explore what MAGI is, and how it differs from Adjusted Gross Income (AGI). We’ll discuss both Roth and Traditional IRAs, and how knowledge of all of these options contributes to your financial well-being.
What is Modified Adjusted Gross Income?
So what is MAGI? Modified Adjusted Gross Income (MAGI) is your adjusted gross income (AGI) after adding back or adjusting certain items required for a specific tax benefit, deduction, surcharge, or account contribution. The exact formula depends on what you are calculating, so MAGI for a Roth IRA, Premium Tax Credit, or Medicare surcharge is not always the same. Start with AGI from Form 1040, line 11, then apply the worksheet or rules for the specific provision you need.
MAGI vs AGI: the difference
AGI and MAGI are related, but MAGI is not calculated the same way for every rule. Depending on the provision, the calculation may require adding back items such as foreign earned income exclusions, certain deductions, tax-exempt interest, or other amounts. Always use the worksheet or instructions tied to the specific benefit you are checking.
Common MAGI adjustments depend on the rule you are applying. For example, some MAGI calculations may add back items such as:
- IRA contributions
- student loan interest
- foreign-earned income exclusion
- passive loss or passive income
- rental losses
- interest from EE savings bonds used to pay higher-education expenses
But the exact adjustments depend on the benefit or surcharge involved, so readers should always use the worksheet or instructions for the specific provision they are checking.
How is MAGI calculated?
A shorthand MAGI calculation formula is:
MAGI = AGI + add-backs or modifications required for a specific tax rule
There is no single universal MAGI formula for all tax benefits.
The specific add-backs used to calculate it can vary depending on the tax benefit you're seeking. Some common adjustments include:
- Tax-exempt interest income: Interest from certain investments, such as municipal bonds, is not federally taxed. But this tax-exempt interest is added back when calculating MAGI for certain tax benefits.
- Excluded foreign-earned income and housing expenses: If you live and work abroad, you can exclude some foreign-earned income and housing expenses from your AGI. However, these exclusions are added back when determining your MAGI.
- The IRA deduction and student loan interest deduction: Some MAGI calculations add back deductions that reduced AGI, such as the student loan interest deduction or the IRA deduction, but only where the rules for that specific tax benefit require it. The exact adjustments differ by provision.
- Passive activity items can affect AGI and may matter for some MAGI calculations, but they are not a universal MAGI add-back.
Examples of income types that can affect your MAGI include:
- wages and salaries
- dividends and capital gains
- alimony received (for divorces finalized before 2019)
- rental income
- business income
- taxable Social Security benefits
How to calculate Modified AGI step by step
A common source of confusion is that there is not one universal MAGI formula for every tax rule. The IRS uses modified adjusted gross income to determine eligibility for certain tax benefits, credits, deductions, and account contributions, but the items added back to AGI depend on the specific provision you are calculating. In other words, MAGI for a Roth IRA is not always the same as MAGI for a traditional IRA deduction, ACA subsidies, or Medicare surcharges. The safest approach is to start with AGI from Form 1040, line 11, then use the worksheet or rules tied to the exact benefit you are checking.
Examples of calculating Modified Adjusted Gross Income
Because MAGI is purpose-specific, the easiest way to understand it is to look at a few real-world examples.
Example 1: MAGI for Roth IRA
Suppose Adriana is single and has an AGI of $146,000.
She also excluded $9,000 of foreign earned income.
For Roth IRA purposes, that exclusion is added back when calculating MAGI, so her MAGI is $155,000.
For 2025, the Roth IRA phaseout range for a single filer is $150,000 to $165,000, so Adriana falls within the phaseout range and may make only a reduced Roth IRA contribution, not the full one.
Example 2: MAGI for traditional IRA deduction
Now suppose Rami is single, participates in a retirement plan at work, and has AGI of $76,000.
He also excluded $5,000 of foreign earned income, which is added back for this IRA-related MAGI calculation, giving him a MAGI of $81,000.
For 2025, the traditional IRA deduction phaseout range for a single filer covered by a workplace plan is $79,000 to $89,000.
Because Rami’s MAGI falls inside that range, he may still deduct part of his traditional IRA contribution, but not the full amount. Use the IRS Publication 590-A worksheet to calculate the exact deductible amount.
Example 3: MAGI for Medicare IRMAA
Medicare uses a different MAGI definition from many tax-credit and retirement-account rules. For Medicare IRMAA purposes, MAGI is generally based on adjusted gross income plus tax-exempt interest income. Suppose Genevieve files as single and has AGI of $104,000.
She also earned $8,000 of tax-exempt municipal bond interest.
Her Medicare MAGI would therefore be $112,000.
For 2026 Medicare premiums, an individual generally begins paying IRMAA when MAGI is above $109,000, so Genevieve would usually fall into the first surcharge tier unless she qualifies for relief based on a life-changing event or another Medicare adjustment rule.
Example 4: Premium Tax Credit (PTC)
The Premium Tax Credit uses its own version of MAGI for Marketplace health insurance. Suppose Maya is single, bought health insurance through the Marketplace, and has AGI of $48,000.
She also has $4,000 of tax-exempt interest and $3,000 of non-taxable Social Security benefits.
For Premium Tax Credit purposes, her MAGI would be $55,000.
That figure is used to determine her household income for ACA subsidy purposes and to reconcile any advance premium tax credit she received during the year on Form 8962. For this version of MAGI, the key add-backs generally include untaxed foreign income, non-taxable Social Security benefits, and tax-exempt interest
Why these examples matter
These examples show why it is risky to think of MAGI as a single number used the same way everywhere. The starting point is usually AGI, but the adjustments can change depending on whether you are checking IRA eligibility, deduction limits, health coverage subsidies, or Medicare premium surcharges. That is why you should always use the worksheet or instructions for the specific benefit they care about rather than relying on a generic MAGI shortcut.
Why does MAGI matter?
It is used to determine your eligibility for several tax credits, deductions, and retirement account contributions.
Here are a few key areas where MAGI comes into play:
1. Tax credits
- Premium Tax Credit (PTC): MAGI-based household income still matters, but for tax year 2025 filed in 2026 you may qualify for the Premium Tax Credit even if household income is above 400% of the federal poverty line. There are also limited exceptions for some taxpayers below 100% of FPL. Eligibility depends on household income, Marketplace enrollment, and other ACA rules.
- Earned Income Tax Credit (EITC): Eligibility is based mainly on earned income, adjusted gross income (AGI), filing status, investment income, and qualifying-child rules. EITC uses AGI and earned income limits rather than a general MAGI rule.
2. Deductions
- Student Loan Interest Deduction: You may deduct up to $2,500 of qualified student loan interest for 2025 tax season, but the deduction phases out if your MAGI is between $85,000 and $100,000 for single filers or $170,000 and $200,000 for joint filers.
- IRA Contribution Deduction: The deductibility of your Traditional IRA contributions depends on your MAGI and whether you or your spouse are covered by an employer-sponsored retirement plan.
3. Retirement account contributions
- Roth IRA: Your ability to contribute to a Roth IRA is phased out at certain levels, which vary based on your tax filing status.
- Traditional IRA: While you can always contribute to a Traditional IRA, the deductibility of those contributions may be limited based on your MAGI if you or your spouse are covered by an employer-sponsored retirement plan.
Conclusion
Understanding MAGI can improve your tax planning because many important tax benefits use it to determine eligibility, phaseouts, or surcharges. The key is to use the right MAGI formula for the specific rule involved, rather than assuming one MAGI calculation applies everywhere.
If you have questions about your MAGI or how it affects your taxes, speak to Taxes For Expats, we prioritize a fast response but also value clear communication when dealing with our clients.
Get peace of mind with TFX
FAQs on Modified adjusted gross income calculation
It depends on the specific tax rule you are applying. MAGI is not one universal formula. Depending on the credit, deduction, or surcharge involved, common add-backs may include foreign earned income excluded under Form 2555, foreign housing exclusions or deductions, tax-exempt interest, non-taxable Social Security benefits, the student loan interest deduction, or the IRA deduction. Always use the worksheet or instructions for the exact benefit you are checking.
No. MAGI often starts with AGI and then adds back certain items, so it is frequently higher than AGI, but not every taxpayer has those add-backs. In some cases, MAGI may be the same as AGI if none of the required modifications apply. Because the formula changes by tax provision, there is no single answer that fits every situation.
No. Roth IRA MAGI is calculated using the IRA rules in IRS Publication 590-A, while Medicare IRMAA MAGI is generally AGI plus tax-exempt interest income. That is why someone can have one MAGI for IRA eligibility and a different MAGI for Medicare premium surcharges.
You usually find your adjusted gross income (AGI) on Form 1040, line 11. That is the number most MAGI calculations start with before applying any required add-backs or adjustments for the specific tax rule.
Yes, often it does. For many MAGI calculations, including some IRA and Premium Tax Credit rules, excluded foreign earned income is added back when figuring MAGI. This matters a lot for Americans abroad because the foreign earned income exclusion can lower AGI while still increasing MAGI for certain eligibility tests.
Often yes. Tax-exempt interest is one of the most common MAGI add-backs. It is specifically included in Medicare IRMAA MAGI and also in the MAGI calculation used for the Premium Tax Credit.
MAGI determines whether you can make a full Roth IRA contribution, a reduced contribution, or no contribution at all. For 2025, Roth IRA contributions begin to phase out at certain MAGI levels based on filing status, so a higher MAGI can reduce or eliminate your ability to contribute directly to a Roth IRA.
No. Taxable income is generally what remains after you take AGI and subtract the standard deduction or itemized deductions and apply other rules under current law. MAGI is a separate calculation built from AGI for a specific tax benefit, deduction, or surcharge. They are related, but they are not the same number.
For Marketplace coverage, your eligibility for the Premium Tax Credit is based on household income, which uses an ACA-specific version of MAGI. That calculation generally starts with AGI and adds back untaxed foreign income, tax-exempt interest, and non-taxable Social Security benefits. You use Form 8962 to calculate and reconcile the credit on your tax return.
MAGI is not listed as a single line on your tax return. In most cases, you start with AGI on Form 1040, line 11, then add back or adjust the items required for the specific rule you are checking, such as a Roth IRA contribution, Premium Tax Credit, or Medicare IRMAA.