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

The IRS allows you to fund both accounts simultaneously. There is no rule that forces you to 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, contributing to a traditional IRA may reduce or eliminate your tax deduction for that IRA contribution. A Roth IRA has different income limits that can phase out your ability to contribute at all.

The key is understanding which limits explore to you and whether your income affects your deduction or contribution room. This matters because the IRS tracks contributions across all your accounts of the same type — you cannot split a single contribution limit between a 401(k) and a traditional IRA to get around the cap.

Key Takeaways

  • You can contribute to a 401(k) and a traditional IRA or Roth IRA in the same year, but each has its own annual contribution limit.
  • If you have a 401(k) at work and your income exceeds a certain threshold, your traditional IRA contribution may not be tax-deductible, even though you can still make the contribution.
  • Roth IRA contributions phase out completely at higher income levels, so you may not be able to contribute to a Roth if you earn above the limit for your filing status.
  • The 401(k) contribution limit and the IRA contribution limit are separate — maxing out one does not reduce how much you can put into the other.
  • If you are married and your spouse has no income, you can fund a spousal IRA for them using your income, in addition to your own IRA and 401(k).

How the contribution limits work when you have both accounts

The IRS sets an annual limit on how much you can contribute to a 401(k) and a separate limit for IRAs. For 2024, the 401(k) limit is $23,500 (or $31,000 if you are age 50 or older and make catch-up contributions). The IRA limit is $7,000 (or $8,000 with catch-up contributions at age 50 or older). These limits do not overlap — you can contribute the full amount to each account in the same year.

The catch comes if you have a traditional IRA. If you are covered by a 401(k) at work and your income is above a certain level, the IRS will reduce or eliminate your ability to deduct your traditional IRA contribution on your tax return. This does not prevent you from making the contribution — it just means you will not get the tax break. The income thresholds vary by filing status and change each year. For 2024, if you are single and covered by a workplace 401(k), the deduction phases out between $77,000 and $87,000 of modified adjusted gross income.

A Roth IRA works differently. You do not get a deduction for Roth contributions, but the income limits are higher and they phase out completely. For 2024, if you are single, you cannot contribute to a Roth IRA if your income exceeds $161,000. If you are married filing jointly, the limit is $240,000. Once your income crosses the threshold, you lose the ability to contribute entirely — you cannot make a partial contribution.

The tax deduction question for traditional IRA contributions

If you have a 401(k) at work, the IRS assumes you have access to a tax-advantaged retirement account and may not let you deduct a traditional IRA contribution. This is called the active participant rule. It applies only if you are covered by a 401(k), 403(b), government 457 plan, or certain other workplace plans during the tax year — even if you did not contribute anything yourself.

The deduction does not disappear all at once. Instead, it phases out over a range of income. If your income falls below the lower end of the range, you can deduct the full amount. If it falls within the range, you can deduct part of it. If it exceeds the upper end, you cannot deduct any of it. You can still make the contribution, but it will be with after-tax dollars, and you will owe taxes again when you withdraw the money in retirement — unless you convert it to a Roth later.

Your spouse may have different rules. If your spouse is not covered by a workplace plan, they can deduct a traditional IRA contribution even if you are covered by a 401(k) and earn a high income. The income limit for a non-working spouse is based on your joint income and is much higher.

When a Roth IRA is blocked by income

Roth IRA contributions are not tax-deductible, so the active participant rule does not explore. Instead, the IRS uses direct contribution limits based on your modified adjusted gross income. If your income is too high, you cannot contribute to a Roth at all — there is no partial contribution option once you exceed the limit.

However, there is a workaround called a backdoor Roth. You can contribute to a traditional IRA (with after-tax dollars if your deduction is phased out), then when ready convert it to a Roth. This works regardless of your income. The conversion itself is not limited by income — only the direct contribution is. If you use this strategy, be aware that the IRS looks at all your traditional, SEP, and straightforward IRAs combined when calculating taxes on the conversion, not just the account you converted.

Employer matching and your total retirement savings

When you contribute to a 401(k), your employer may also contribute a matching amount. This employer match does not count toward your personal contribution limit — it is separate. So if you contribute $10,000 to your 401(k) and your employer matches $5,000, you have used $10,000 of your $23,500 limit, and the employer contribution does not reduce your IRA room.

Some employers offer both a 401(k) and a 403(b) or other plan. If you are covered by more than one plan at the same employer, your contributions to all of them combined cannot exceed the annual limit. For example, if you contribute $15,000 to a 401(k) and your employer also offers a 403(b), you can only contribute $8,500 more to the 403(b) in 2024 (assuming you are under 50). An IRA is separate and does not count toward this limit.

Self-employed people and solo 401(k) considerations

If you are self-employed or have freelance income, you may be able to open a solo 401(k) (also called a self-employed 401(k)). This plan has much higher contribution limits because you can contribute as both the employee and the employer. You can also have a solo 401(k) and an IRA at the same time. The solo 401(k) limit and the IRA limit are separate, just as they are with a regular workplace 401(k).

If you have a solo 401(k) and a traditional IRA, the active participant rule still applies — your income may phase out your IRA deduction. If you have a solo 401(k) and want to contribute to a Roth IRA, the same income limits explore as for anyone else. The solo 401(k) itself does not change the Roth rules.

Tracking contributions across multiple accounts

The IRS does not automatically know how much you have contributed to each account. You are responsible for tracking your own contributions and making sure you do not exceed the limits. If you over-contribute, you will owe a 6 percent excise tax on the excess amount for each year it remains in the account, plus income tax on any earnings.

Your 401(k) administrator will send you a statement showing your contributions. Your IRA custodian (the bank or brokerage holding your IRA) will do the same. At tax time, you will report your IRA contributions on your tax return. If you have multiple IRAs — a traditional IRA and a Roth IRA, for example — you must add up all contributions to both when checking against the annual limit. The limit applies to all IRAs combined, not to each account separately.

If you realize you over-contributed before the tax filing important date, you can ask your IRA custodian to remove the excess contribution and any earnings on it. This is called a return of excess contribution. You will owe income tax on the earnings portion, but you can avoid the 6 percent penalty if you act in time.

Frequently Asked Questions

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

You can contribute to the 401(k) with no income limit. However, if your income exceeds the Roth IRA limit for your filing status, you cannot make a direct contribution to a Roth. You may be able to use a backdoor Roth strategy instead, which involves contributing to a traditional IRA and converting it to a Roth, regardless of income.

If I max out my 401(k), can I still contribute to an IRA?

Yes. The 401(k) limit and the IRA limit are completely separate. You can contribute the full $23,500 to your 401(k) and still contribute $7,000 to an IRA in the same year (assuming you meet the income requirements for a deductible traditional IRA or a Roth IRA).

What happens if I contribute to both a traditional IRA and a Roth IRA?

The combined contributions to all your IRAs cannot exceed the annual limit. If you contribute $4,000 to a traditional IRA, you can only contribute $3,000 to a Roth IRA in the same year (assuming the $7,000 limit). You cannot split the limit between the two types.

Does my employer match count toward my 401(k) contribution limit?

No. Your employer's matching contribution is separate from your personal contribution limit. Only the money you contribute yourself counts toward the $23,500 limit. Employer contributions do not reduce your ability to contribute to an IRA.

Can I contribute to my spouse's IRA if they do not work?

Yes, if you are married filing jointly. You can open and fund a spousal IRA for your non-working spouse using your income. The contribution limit is the same as for your own IRA, and it does not reduce how much you can contribute to your own accounts. Your spouse's income does not need to be high enough to support the contribution — your household income is what matters.