Yes, you can contribute to both a 401(k) and an IRA in the same year

The IRS allows you to fund both accounts simultaneously. There is no rule that says you must choose one or the other. However, there are separate contribution limits for each account, and if you have a workplace 401(k) and earn above certain income thresholds, your ability to deduct contributions to a traditional IRA may be reduced or eliminated.

The key constraint is not whether you can contribute to both—you can—but rather understanding how your income and existing retirement plan coverage affect the tax treatment of your IRA contributions, and making sure you do not exceed the annual limits for each account type.

Key Takeaways

  • You can contribute to a 401(k) and an IRA in the same year without violating any IRS rules.
  • Each account has its own annual contribution limit, so you can max out both if your income allows.
  • If you have a 401(k) at work, your ability to deduct traditional IRA contributions phases out above a certain income level.
  • Roth IRA contributions have no income phase-out, but Roth conversions and backdoor Roth strategies may explore if your income is very high.
  • You must track contributions across both accounts to avoid accidentally exceeding limits and facing IRS penalties.

How the contribution limits work when you have both accounts

For 2024, you can contribute up to $23,500 to a 401(k) (or $31,000 if you are 50 or older and make catch-up contributions). Separately, you can contribute up to $7,000 to an IRA—either traditional or Roth, or a combination of both—(or $8,000 if you are 50 or older). These limits are independent. Maxing out your 401(k) does not reduce how much you can put into an IRA, and vice versa.

The $7,000 IRA limit applies to the total of all your traditional and Roth IRAs combined. If you have multiple IRAs, you cannot contribute $7,000 to each one; the $7,000 is your total across all IRAs. The same rule applies if you have a SEP-IRA or straightforward IRA—those contributions count toward the same annual limit (with some exceptions for straightforward IRAs, which have their own limits).

When a 401(k) affects your traditional IRA deduction

If you contribute to a 401(k) at work, you are covered by a workplace retirement plan. This triggers an income phase-out for deducting traditional IRA contributions on your tax return. For 2024, if you are single and covered by a 401(k), your ability to deduct a traditional IRA contribution begins to phase out at $77,000 of modified adjusted gross income (MAGI) and is completely eliminated at $87,000.

If you are married filing jointly and both spouses have a 401(k), the phase-out range is $123,000 to $143,000. If only one spouse has a 401(k), the spouse without the plan can still deduct traditional IRA contributions up to the higher income limits. You can still contribute to a traditional IRA even if you cannot deduct it, but the contribution would be made with after-tax dollars, and you would need to file Form 8606 to track the non-deductible portion.

Roth IRA contributions have no phase-out based on 401(k) coverage. However, Roth IRA contributions themselves phase out at higher income levels—$146,000 to $161,000 for single filers in 2024. If your income exceeds the Roth phase-out range, you can still contribute to a traditional IRA (deductible or non-deductible, depending on your 401(k) coverage) or explore a backdoor Roth strategy.

Employer match and your IRA contributions are separate

Your employer's 401(k) match does not count toward your personal contribution limit, and it does not affect how much you can contribute to an IRA. If your employer matches 3% of your salary, that match is added to your 401(k) account but does not reduce your $23,500 annual contribution room or your $7,000 IRA room.

This means you can contribute the full $23,500 to your 401(k), receive an employer match on top of that, and still contribute $7,000 to an IRA in the same year. The match is a separate transaction and does not count against either limit.

Tax implications of funding both accounts

Contributions to a 401(k) are typically made with pre-tax dollars, which reduces your taxable income for the year. If you also contribute to a deductible traditional IRA, that contribution also reduces your taxable income. Together, these can significantly lower your tax bill for the year.

If you contribute to a Roth IRA instead, that contribution is made with after-tax dollars and does not reduce your current taxable income. However, the money grows tax-free, and may have access to withdrawals in retirement are tax-free. Some people fund both a 401(k) and a Roth IRA to balance current tax savings with tax-free growth.

If you contribute to a non-deductible traditional IRA because your income is too high, you will owe taxes on the earnings when you withdraw the money, even though you already paid taxes on the contribution. This is why tracking non-deductible contributions on Form 8606 is important—it prevents you from being taxed twice on the same money.

Common mistakes when contributing to both accounts

One frequent error is losing track of total IRA contributions across multiple accounts. If you have a traditional IRA and a Roth IRA, or if you have IRAs at different financial institutions, you must add up all contributions to both accounts and make sure the total does not exceed $7,000 for the year. The IRS does not automatically know about all your accounts, so the burden is on you to track this.

Another mistake is assuming you can deduct a traditional IRA contribution when you have a 401(k) and your income is in the phase-out range. Many people contribute to a traditional IRA, claim the deduction on their tax return, and later discover they were not may be able to access. This can trigger an audit or require an amended return. If you are unsure whether you can deduct your contribution, check your MAGI against the current year's phase-out limits before you file.

A third error is contributing to a 401(k) and a traditional IRA without considering the order of contributions. If you are trying to reduce your taxable income, contributing to a 401(k) first lowers your MAGI, which may help you stay below the IRA deduction phase-out threshold. Timing your contributions strategically can sometimes make a difference.

Strategies for maximizing both accounts

If your income is below the IRA deduction phase-out range, you can contribute to a 401(k) and deduct a traditional IRA contribution in the same year. This gives you the maximum tax benefit: both contributions reduce your taxable income.

If your income is above the Roth IRA phase-out but below the traditional IRA phase-out, you can contribute to a 401(k) and a deductible traditional IRA. If your income is above both phase-outs, you can contribute to a 401(k) and either a non-deductible traditional IRA or explore a backdoor Roth (which involves contributing to a non-deductible traditional IRA and then converting it to a Roth IRA). A backdoor Roth is a legal strategy, but it requires careful execution and filing Form 8606 to avoid tax complications.

If you are self-employed or have side income, you may also be able to open a SEP-IRA or Solo 401(k), which have much higher contribution limits. These accounts can be funded in addition to a regular 401(k) at another job, though the rules are complex and depend on your specific situation.

Frequently Asked Questions

Do I have to contribute to my 401(k) to contribute to an IRA?

No. You can contribute to an IRA whether or not you have a 401(k). However, if you do have a 401(k), it affects whether you can deduct a traditional IRA contribution. If you do not have a 401(k), you can deduct a traditional IRA contribution regardless of your income level.

What happens if I contribute more than the limit to my IRA?

Excess contributions are subject to a 6% excise tax each year they remain in the account. If you over-contribute, you should withdraw the excess and any earnings on it before your tax return important date (including extensions) to avoid the penalty. If you discover the error after filing, you can request a correction from the IRA custodian.

Can I contribute to a 401(k) and a Roth IRA if my income is very high?

Yes. 401(k) contributions have no income limit, so you can always contribute the full amount. Roth IRA contributions phase out at higher incomes, but you can use a backdoor Roth strategy to fund a Roth IRA indirectly. This involves contributing to a non-deductible traditional IRA and converting it to a Roth, though it requires careful tax planning.

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

Only if you file jointly and your spouse's 401(k) coverage is considered in calculating your modified adjusted gross income. If you are married filing jointly and your spouse has a 401(k), the phase-out range is higher than for single filers. If you do not have a 401(k) yourself, you can deduct a traditional IRA contribution up to an even higher income threshold.

Can I contribute to both a 401(k) and a straightforward IRA?

No. A straightforward IRA is a workplace plan, and you cannot have both a straightforward IRA and a 401(k) at the same employer. If you work for two employers—one with a 401(k) and one with a straightforward IRA—you can contribute to both, but the contribution limits are separate and lower for the straightforward IRA ($16,000 for 2024).