Modified Adjusted Gross Income, or MAGI, is a version of your income that the IRS uses to decide whether you qualify for certain tax credits, retirement account contributions, healthcare subsidies, and income-based surcharges. It starts with your Adjusted Gross Income and adds back specific deductions and exclusions. The catch worth knowing up front: MAGI isn’t a single formula. The items you add back depend on which tax benefit you’re testing, so your MAGI for a Roth IRA can differ from your MAGI for a Premium Tax Credit or the Net Investment Income Tax.1Internal Revenue Service. Modified Adjusted Gross Income
Start With AGI
Every MAGI calculation begins at the same place: your Adjusted Gross Income, which is line 11 on Form 1040. AGI is your total income from all sources — wages, dividends, business profits, capital gains, retirement distributions — minus a specific set of deductions listed in the tax code.2Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined Those deductions are subtracted before you choose between the standard deduction and itemizing, which is why they’re called above-the-line.
Common above-the-line deductions that reduce AGI include:
- Health Savings Account contributions, up to $4,400 for self-only coverage or $8,750 for family coverage in 2026.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
- Educator expenses, up to $300 per qualifying teacher, or $600 if both spouses on a joint return are eligible educators.4Internal Revenue Service. Topic No. 458, Educator Expense Deduction
- Student loan interest, up to $2,500, subject to income limits.
- Traditional IRA contributions, with the deductible amount depending on workplace retirement plan coverage and income.
- Single or head of household: full contribution below $153,000, reduced between $153,000 and $168,000, none at $168,000 or above.
- Married filing jointly: full contribution below $242,000, reduced between $242,000 and $252,000, none at $252,000 or above.
- Married filing separately: the phase-out runs from $0 to $10,000, which effectively eliminates the contribution for most people using this filing status.
ul>
For most people, AGI is the number that drives the return. MAGI only enters the picture when a specific tax provision says: take your AGI and add certain items back.
Why the MAGI Formula Changes
This is where most explanations go wrong. There isn’t one MAGI. Each provision that uses MAGI defines its own version, and the IRS instructs taxpayers to calculate it separately for each benefit they’re claiming.1Internal Revenue Service. Modified Adjusted Gross Income
The common thread is that MAGI adds back income you sheltered from taxation, so the government can see a fuller picture of your resources when weighing eligibility. But the specific add-backs differ. Mix them up and you’ll miscalculate whether you qualify.
For the Premium Tax Credit, MAGI equals your AGI plus three items: foreign earned income you excluded, tax-exempt interest such as municipal bond interest, and the non-taxable portion of your Social Security benefits.1Internal Revenue Service. Modified Adjusted Gross Income
For Roth IRA contributions, the add-backs are different. You include your Traditional IRA deduction, student loan interest deduction, savings bond interest exclusion, excluded adoption benefits, and foreign earned income or housing exclusions. You actually subtract certain Roth conversion income.
The Child Tax Credit uses yet another definition, adding back only amounts excluded under the foreign earned income exclusion.5Office of the Law Revision Counsel. 26 USC 24 – Child Tax Credit
And the passive rental loss allowance uses its own rules that ignore Social Security income, passive losses themselves, IRA deductions, and the student loan interest deduction.6Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited
The takeaway: never assume one MAGI figure covers everything on your return.
Roth and Traditional IRA Contributions
MAGI controls both whether you can contribute to a Roth IRA and whether you can deduct Traditional IRA contributions.
For 2026, the Roth IRA contribution phase-out ranges are:7Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
The maximum you can contribute across all your IRAs, Roth and Traditional combined, is $7,500 for 2026, or $8,600 if you’re 50 or older.7Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500
Traditional IRA contributions themselves are always allowed, but the deduction phases out if you or your spouse are covered by a workplace retirement plan. For 2026, a single filer covered by a workplace plan loses the full deduction above $81,000 MAGI, and the deduction disappears entirely above $91,000. Married couples filing jointly face a phase-out between $129,000 and $149,000 when the contributing spouse has workplace coverage.7Internal Revenue Service. 401(k) Limit Increases to $24,500 for 2026, IRA Limit Increases to $7,500 If you’re not covered but your spouse is, the joint-filer phase-out range is $230,000 to $240,000.1Internal Revenue Service. Modified Adjusted Gross Income
Family and Education Benefits
Child Tax Credit
The Child Tax Credit begins to shrink once MAGI crosses $200,000, or $400,000 on a joint return.8Internal Revenue Service. Child Tax Credit Above those thresholds, the credit drops by $50 for every $1,000 of additional income, or any fraction of $1,000.5Office of the Law Revision Counsel. 26 USC 24 – Child Tax Credit The MAGI definition here is narrow: AGI plus any foreign earned income exclusion. These thresholds are fixed by statute and don’t adjust for inflation.
American Opportunity Tax Credit
The American Opportunity Tax Credit covers up to $2,500 per year of higher education expenses for the first four years of college. You qualify for the full credit at or below $80,000 MAGI, or $160,000 for joint filers. It phases out completely at $90,000, or $180,000 for joint filers.9Internal Revenue Service. American Opportunity Tax Credit These thresholds also aren’t indexed for inflation.
Student Loan Interest Deduction
You can deduct up to $2,500 of student loan interest per year, and MAGI decides whether you qualify. For 2025, the deduction phases out for single filers between $85,000 and $100,000 MAGI, and for joint filers between $170,000 and $200,000.10Internal Revenue Service. Publication 970 (2025), Tax Benefits for Education The 2026 figures will be modestly higher; unlike the credits above, these thresholds do adjust slightly for inflation.
Adoption Tax Credit
For 2026, the maximum adoption credit is $17,670 per child.11Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 It phases out for MAGI between roughly $265,000 and $305,000 and disappears above the upper limit. This threshold does adjust for inflation.
Healthcare Subsidies and Medicare Surcharges
Premium Tax Credits
The Affordable Care Act uses MAGI to determine who qualifies for subsidies on health insurance bought through the marketplace. For 2026, Premium Tax Credits are available to households with income between 100% and 400% of the federal poverty level.12Internal Revenue Service. Eligibility for the Premium Tax Credit
This is a change from 2021 through 2025, when temporarily expanded rules allowed households above 400% of the poverty level to receive subsidies. Those enhanced credits expired at the start of 2026. Households above the 400% line no longer qualify for any premium assistance and must repay any advance credits received during the year.
Medicaid
Medicaid eligibility in states that expanded coverage under the ACA also uses MAGI, typically capped at 138% of the federal poverty level for most adults. States that didn’t expand use different, often more restrictive, criteria.
Medicare IRMAA
Higher-income Medicare beneficiaries pay an Income-Related Monthly Adjustment Amount on top of the standard Part B and Part D premiums.13Social Security Administration. Premiums: Rules for Higher-Income Beneficiaries Social Security determines IRMAA using MAGI from two years prior, so your 2024 tax return sets your 2026 premiums. For 2026, individuals with MAGI at or below $109,000, or $218,000 on a joint return, pay only the standard Part B premium of $202.90 with no surcharge. Above those thresholds, surcharges rise through five tiers, reaching an extra $487.00 for Part B and $91.00 for Part D at the top bracket.14Centers for Medicare & Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles
The two-year lookback catches some retirees off guard when their final working year drives their first Medicare premiums. If you’ve had a qualifying life-changing event, such as retirement, divorce, or a spouse’s death, you can ask Social Security to use a more recent year.
Investment Income and Rental Losses
Net Investment Income Tax
A 3.8% surtax applies to net investment income, meaning interest, dividends, capital gains, rental income, and royalties, when MAGI exceeds $200,000 for single filers, $250,000 for married filing jointly, or $125,000 for married filing separately.15Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The tax is 3.8% of whichever is less: your net investment income, or the amount by which MAGI exceeds the threshold.16Internal Revenue Service. Topic No. 559, Net Investment Income Tax These thresholds have never changed since the tax took effect in 2013 and aren’t indexed for inflation.
Passive Rental Loss Allowance
If you actively manage rental property, you can deduct up to $25,000 in rental losses against other income, but only if MAGI stays below $100,000. Above that, the allowance shrinks by 50 cents for every dollar of MAGI over $100,000, disappearing entirely at $150,000.6Office of the Law Revision Counsel. 26 USC 469 – Passive Activity Losses and Credits Limited For married taxpayers filing separately who lived apart all year, the numbers halve: phase-out starts at $50,000 and ends at $75,000.17Internal Revenue Service. Instructions for Form 8582 (2025) These thresholds are fixed in the statute with no inflation adjustment.
Getting the Calculation Right
The IRS provides worksheets for each major MAGI calculation. The Student Loan Interest Deduction Worksheet and IRA Deduction Worksheet both appear in the Form 1040 instructions, and the American Opportunity Credit calculations sit on Form 8863. Tax software handles all of this automatically. If you’re calculating by hand, the critical step is using the right worksheet for the right benefit rather than treating every MAGI as the same.
The stakes are real. Overstate your Premium Tax Credit eligibility by underreporting MAGI and you’ll owe back the excess subsidies at filing time. Contribute to a Roth IRA when your MAGI is above the limit and you’ll face a 6% penalty on the excess for every year it stays in the account. More broadly, understating income can trigger an accuracy-related penalty of 20% of the resulting underpayment, plus interest.18Internal Revenue Service. Accuracy-Related Penalty
The most common mistake is forgetting to add back tax-exempt interest or excluded foreign income. If you hold municipal bonds or work abroad, those amounts don’t show up on many lines of your return, which makes them easy to miss. Run each MAGI-dependent benefit separately, use the specific worksheet for each one, and the numbers will line up.