Advertiser disclosure: VistaRates has no affiliate or partner agreements today, and no provider pays for placement. Product links go to the provider's own page. How we make money

Can you deduct IRA contributions if you have a 401(k)?

How the 2026 and 2027 IRA deduction phase-outs work when you or your spouse has a 401(k) or other workplace plan, with worked examples.

By Martin Marinov 8 min read Published Updated Verified
Person analyzing financial charts

Key takeaways

  • Having a 401(k) never stops you from contributing to a traditional IRA, but it can limit how much of that contribution you can deduct.
  • For 2026, the deduction phases out between $81,000 and $91,000 of modified AGI for single filers and heads of household who are covered by a workplace plan.
  • For married couples filing jointly in 2026, the covered spouse phases out between $129,000 and $149,000, while a spouse who is not covered phases out between $242,000 and $252,000.
  • For 2027, the IRS raised these ranges on November 12, 2026, in IR-2026-136: $83,000 to $93,000 for covered single filers, $133,000 to $153,000 for a covered spouse filing jointly, and $250,000 to $260,000 for a spouse who is not covered. The married filing separately range stays $0 to $10,000.
  • If you contribute but cannot deduct, the contribution is nondeductible and you must file Form 8606.
On this page 9 sections

Short answer: yes, you can still contribute to a traditional IRA if you have a 401(k). What changes is the tax deduction. If you or your spouse is covered by a retirement plan at work, the deduction shrinks as income rises and can disappear completely.

The thing to keep in mind is that the test is about coverage and income, and it is applied to each spouse separately. The 2026 figures below are the amounts the IRS published in Notice 2025-67 and repeated in Publication 590-A, as of November 1, 2026. The 2027 figures come from IR-2026-136 and Notice 2026-66, which the IRS released on November 12, 2026.

Step 1: are you covered at work?

Publication 590-A describes this as being “covered by a retirement plan at work.” The tax code calls it being an “active participant.” Under 26 USC 219(g), you are an active participant if, for any part of a plan year ending with or within your tax year, you are an active participant in any of these (or you do what the last item describes):

  • A plan described in section 401(a) that includes a trust exempt from tax under section 501(a)
  • A 403(a) annuity plan or a 403(b) annuity contract
  • A plan set up for its employees by the United States, a state or political subdivision of a state, or an agency or instrumentality of any of them
  • A SEP or a SIMPLE retirement account
  • Making deductible contributions to a trust described in section 501(c)(18)

A few details matter here. Whether you are vested makes no difference. An eligible 457(b) plan is not treated as a government plan for this test. Members of the reserve components (unless they served more than 90 days on active duty during the year, not counting active duty for training) and some volunteer firefighters are not treated as active participants just because of that participation.

If neither you nor your spouse is covered, these phase-outs do not apply to you.

Step 2: find your phase-out range for 2026 and 2027

You get a full deduction if your modified AGI is at or below the bottom of your range, a partial deduction inside the range, and no deduction at or above the top.

Your situation2026 phase-out range2027 phase-out range
Single or head of household, covered at work$81,000 to $91,000$83,000 to $93,000
Married filing jointly (or qualifying surviving spouse), you are covered$129,000 to $149,000$133,000 to $153,000
Married filing jointly, you are not covered but your spouse is$242,000 to $252,000$250,000 to $260,000
Married filing separately, you or your spouse is covered (and you lived together at any time during the year)$0 to $10,000$0 to $10,000

Use the 2026 column for contributions you make for tax year 2026, including ones made in early 2027 before your return’s due date. Use the 2027 column for contributions for tax year 2027.

In 2025 these ranges were $79,000 to $89,000, $126,000 to $146,000, and $236,000 to $246,000. The married filing separately range is not adjusted for inflation each year and stays at $0 to $10,000.

The modified AGI used here is figured without the IRA deduction itself, plus other adjustments listed in the statute. Publication 590-A includes worksheets in Appendix B for figuring modified AGI and the deduction if you also receive Social Security benefits.

Step 3: figure a partial deduction

Inside the range, the statute lowers your limit in proportion to how far into the range you are. Take the amount your income is over the bottom of the range and divide it by the width of the range: $10,000 for single filers, heads of household, married people filing separately, and a spouse who is not covered, or $20,000 for a covered spouse on a joint return. The widths are the same for 2026 and 2027. Multiply the result by your limit ($7,500 for both 2026 and 2027). The answer is how much your limit goes down.

Example with made up numbers: A single filer covered by a 401(k) has a 2026 modified AGI of $86,000. That is $5,000 over $81,000, which is half of the $10,000 range. The $7,500 limit goes down by $3,750, so the most this person can deduct is $3,750.

Example with made up numbers: A married couple filing jointly has a 2026 modified AGI of $144,000, and the spouse making the contribution is covered at work. That is $15,000 over $129,000, or 75% of the $20,000 range. 75% of $7,500 is $5,625. The statute rounds the reduction down to the next lowest $10, giving $5,620, so the deductible amount is $1,880.

Example with made up numbers: A spouse who is not covered files jointly with a covered spouse, and their 2026 modified AGI is $245,000. That is $3,000 over $242,000, or 30% of the $10,000 range. The reduction is $2,250, so the deductible amount is $5,250. With the same income in 2027, the couple would be below the $250,000 start of the range, so this spouse could deduct up to the full $7,500.

Two spouses, two different answers

The statute figures the maximum deduction separately for each person. That can give two very different results on the same return.

Example with made up numbers: Spouse A has a 401(k) at work. Spouse B has no workplace plan. They file jointly with a 2026 modified AGI of $200,000. Spouse A is past the $149,000 cutoff for covered spouses, so Spouse A’s traditional IRA contribution is not deductible. Spouse B uses the $242,000 to $252,000 range, and $200,000 is below it, so Spouse B can deduct up to the full $7,500.

Under the Kay Bailey Hutchison Spousal IRA rule, if the couple files a joint return and Spouse B earns less than Spouse A, Spouse B’s deduction limit is the lesser of the deductible amount or Spouse B’s own compensation plus Spouse A’s compensation reduced by Spouse A’s IRA deduction, nondeductible IRA contributions and Roth IRA contributions.

Details that trip people up

  • The $200 floor. Once you are in the range, your limit is not reduced below $200 unless it goes all the way to zero. Example with made up numbers: A single covered filer at $90,900 in 2026 would have a $7,425 reduction, rounded down to $7,420, which leaves an $80 limit, so the floor raises it to $200.
  • Age 50 and older. The 2026 deductible amount is $8,600 for people 50 or older. For 2027, the $7,500 limit and the $1,100 catch-up both stay the same. The reduction applies to that higher figure.
  • Compensation cap. Your deduction cannot be more than your taxable compensation. Pension income, annuity income, and interest and dividends do not count as compensation.
  • Separate filers living apart. Spouses who file separately and live apart all year are not treated as married for this rule, so a covered spouse uses the single filer range, and a spouse who is not covered is not affected by the other spouse’s plan.
  • Timing. A contribution made for 2026 by your return’s due date (not counting extensions) is treated as made on the last day of 2026, so it uses the 2026 ranges even if you make it in 2027.

If you cannot deduct the contribution

You can still contribute. There is no upper income limit on contributing to a traditional IRA. The part you cannot deduct becomes a nondeductible contribution, and the IRS requires Form 8606 for it. Earnings in the account are generally not taxed until they are distributed.

A Roth IRA is the other option to compare. Roth contributions are never deductible, and you can only make them below certain income levels: for 2026, the Roth limit phases out between $153,000 and $168,000 for single filers and heads of household, and between $242,000 and $252,000 for married couples filing jointly. For 2027, those ranges are $158,000 to $173,000 and $250,000 to $260,000. See our IRA contribution limits guide for the annual contribution limits.

Once you have settled on an account, the next question is what to hold in it. If certificates of deposit are on your list, one way to compare is our current CD rates page. Check with the provider whether a CD can be held in an IRA.

How we make money

VistaRates currently has no affiliate or partner agreements and is not paid for any link on this page. Links go to the provider’s own page. See our advertiser disclosure.

FAQ

Can I contribute to a traditional IRA if I have a 401(k)?

Yes. IRS Publication 590-A says you can have a traditional IRA whether or not you are covered by another retirement plan. The workplace plan only affects how much of the contribution you can deduct.

Does my spouse's 401(k) affect my IRA deduction?

It can. If you are not covered at work but your spouse is and you file a joint return, your 2026 deduction phases out when modified AGI is more than $242,000 but less than $252,000. You get no deduction at $252,000 or more. For 2027, that range is $250,000 to $260,000. If you file separately and lived with your spouse at any time during the year, the $0 to $10,000 range applies instead.

What are the 2027 IRA deduction phase-out ranges?

The IRS announced them on November 12, 2026, in IR-2026-136 and Notice 2026-66. For 2027, the range is $83,000 to $93,000 for single filers and heads of household covered at work, $133,000 to $153,000 for a covered spouse on a joint return, and $250,000 to $260,000 for a spouse who is not covered but is married to someone who is. For a covered person who is married filing separately, the range is not adjusted for inflation and remains $0 to $10,000.

What happens if I am married filing separately?

If you or your spouse is covered at work and you file separately (and lived together at any time during the year), the phase-out range is $0 to $10,000, so you get no deduction if your modified AGI is $10,000 or more. This range is the same for 2026 and 2027. The statute says spouses who file separately and live apart for the whole year are not treated as married for this rule.

Does a 457(b) plan count as being covered at work?

Under the statute, an eligible 457(b) deferred compensation plan is not treated as a government plan for the active participant test. Check the rest of the active participant definition to see whether another plan applies to you.

What is the most I can deduct for 2026 if neither my spouse nor I is covered by any plan?

The 2026 deductible amount is $7,500, or $8,600 if you are age 50 or older. For 2027, the IRS says the $7,500 limit and the $1,100 catch-up for age 50 and over both stay the same. The deduction also cannot be more than your taxable compensation for the year, with special rules for a spouse on a joint return.

Related reading

Browse all guides

Not advice. This guide is general education, not personalized financial, tax, or legal advice. Confirm numbers on primary sources before you act.