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.

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 2024, the ability to contribute to a Roth IRA phases out for single filers with a MAGI between $146,000 and $161,000. For married couples filing jointly, the phase-out range is $230,000 to $240,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 2024, the deduction phases out for single filers covered by a workplace plan with a MAGI between $77,000 and $87,000, and for married couples filing jointly where the contributing spouse is covered, between $123,000 and $143,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.

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. In 2024, higher-income Medicare beneficiaries can pay significantly more per month than the base premium. 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.

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.