Understand your taxes. No accountant required.

What is
MAGI (Modified Adjusted Gross Income)?

Income & Eligibility

Written by the TaxPlain Editorial Team · Reviewed for accuracy · Last updated August 2026

⚠️ Educational only. TaxPlain does not provide tax, legal, or financial advice. Always consult a qualified tax professional about your specific situation.

MAGI (Modified Adjusted Gross Income) is your AGI with certain deductions and exclusions added back. It isn't a number you see printed on your Form 1040 — you have to calculate it yourself, starting from your AGI on line 11 and adding specific items back on top.

The reason MAGI exists is eligibility testing. The IRS uses it as the gatekeeper number for things like Roth IRA contribution limits, traditional IRA deduction phase-outs, the Premium Tax Credit for marketplace health insurance, and Medicare's IRMAA surcharge for high earners. AGI tells you your taxable income; MAGI tells you whether you qualify for something.

For a lot of taxpayers with straightforward returns, MAGI and AGI come out to the exact same number — if you don't have any of the specific add-back items, there's nothing to modify. The gap only opens up once deductions like student loan interest or IRA contributions enter the picture.

✓ Applies to

Anyone contributing to a Roth IRA, claiming the Premium Tax Credit, or deducting traditional IRA contributions.

↑ Also applies to

Medicare beneficiaries checking IRMAA brackets, and anyone claiming education credits or the student loan interest deduction.

📅 CHECK MAGI BEFORE YOU CONTRIBUTE

Unlike AGI, which you calculate once your return is done, MAGI is worth estimating before year-end — especially for Roth IRA contributions. Contributing when your MAGI ends up over the limit creates an excess contribution you'll need to correct.

MAGI vs. AGI — what actually changes

These two numbers get used interchangeably in casual conversation, but they're not the same calculation, and mixing them up is the single most common mistake people make when checking eligibility for something. Here's the plain breakdown:

Calculating your MAGI from your W-2 and 1040

Start with your AGI, which you'll find on Form 1040, line 11. That figure already accounts for your wages from your W-2 plus any other income, minus above-the-line deductions.

From there, add back whichever of the following apply to your return:

For most people without these specific items, the math is simple: MAGI equals AGI. It's worth running the calculation anyway before assuming you're under a threshold, since even a small add-back can push you over a limit you were close to.

MAGI shows up as the deciding number across several unrelated parts of the tax code, which is part of why it causes so much confusion.

⚠️ USING AGI WHEN MAGI IS REQUIRED

Checking a Roth IRA or IRMAA threshold against your AGI instead of your MAGI can make you think you qualify when you don't, since MAGI is always equal to or higher than AGI.

⚠️ APPLYING ONE MAGI FORMULA EVERYWHERE

Assuming the MAGI you calculated for Roth IRA purposes is the same figure used for IRMAA or the Premium Tax Credit — the add-back list isn't identical across programs.

Pull your AGI from Form 1040, line 11, then add back student loan interest and IRA deductions if they apply to you. Compare that MAGI figure against the specific threshold you're checking — Roth IRA limits, IRMAA brackets, or Premium Tax Credit eligibility — since each uses its own MAGI definition. If your HSA or pre-tax retirement contributions could bring your MAGI under a limit, confirm the math with a tax professional before year-end.
What's the difference between MAGI and AGI?
AGI is your gross income minus above-the-line deductions, shown directly on your Form 1040. MAGI starts with that AGI figure and adds back certain deductions and exclusions, like student loan interest, IRA contributions, or foreign earned income. For many taxpayers with simple returns, MAGI and AGI end up being the same number — but the add-backs matter once you're near an eligibility threshold.
Why does MAGI matter more than AGI for some things?
The IRS uses MAGI, not AGI, to test eligibility for specific benefits: Roth IRA contribution limits, traditional IRA deduction limits, the Premium Tax Credit, and Medicare's IRMAA surcharge. AGI alone isn't the number that determines whether you qualify for these — MAGI is.
How do I calculate my MAGI?
Start with your AGI from Form 1040, line 11. Then add back specific items depending on which MAGI test applies — common add-backs include student loan interest deduction, traditional IRA deduction, foreign earned income exclusion, and tax-exempt interest. The exact add-back list varies slightly by which credit or limit you're calculating MAGI for.
Is MAGI the same for Roth IRA limits and IRMAA?
No. Each program defines MAGI with a slightly different set of add-backs. Roth IRA MAGI and Premium Tax Credit MAGI are calculated differently from the MAGI used for Medicare IRMAA brackets, even though they all start from the same AGI base. Always check which specific MAGI definition applies to the benefit you're checking.
Can lowering my MAGI help me qualify for a Roth IRA?
Yes, in some cases. Contributing to a traditional 401(k) or a pre-tax HSA lowers your AGI, which flows through to a lower MAGI. If you're close to the Roth IRA income phase-out range, increasing pre-tax retirement or HSA contributions can bring your MAGI back under the limit.

Decode any tax form instantly

Use our free AI-powered tool to look up any IRS notice or tax term in plain English.

Open the Decoder →