Skip to main content

Contributing to Both a Roth IRA and 401(k) in the Same Year

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

The IRS treats these as separate accounts with separate contribution limits, so maxing out one does not prevent you from funding the other. Your 401(k) contributions come from your paycheck before or after tax (depending on whether it is traditional or Roth), while Roth IRA contributions come from money you have already earned and kept. The two do not interfere with each other's limits.

The real constraint is your own cash flow. If you contribute the maximum to your 401(k), you have less take-home pay left to fund a Roth IRA. But the IRS does not stop you from doing both if you have the money.

Key Takeaways

  • You can contribute to a Roth IRA and a 401(k) in the same year because they have separate contribution limits set by the IRS.
  • Your 401(k) limit is based on your salary deferrals, while your Roth IRA limit is based on total compensation you earned that year, regardless of how much you contributed to your 401(k).
  • Roth IRA contributions have income limits that may reduce or eliminate your ability to fund one, depending on your modified adjusted gross income (MAGI).
  • Contributing to both accounts can lower your current taxes (if you use a traditional 401(k)) while building tax-free retirement savings (through the Roth IRA).

How the contribution limits work when you use both accounts

Your 401(k) limit is the amount you can defer from your salary each year. For 2024, that limit is $23,500 if you are under 50, or $31,000 if you are 50 or older (the extra $7,500 is called a catch-up contribution). This limit applies to your salary deferrals only — it does not count employer matching contributions toward your personal limit.

Your Roth IRA limit is separate. For 2024, you can contribute up to $7,000 if you are under 50, or $8,000 if you are 50 or older. This limit is based on your total earned income for the year, not on what you put into your 401(k). If you earned $50,000 and contributed $10,000 to your 401(k), you can still contribute $7,000 to a Roth IRA — as long as your income does not exceed the Roth IRA income limits.

The two limits are completely independent. Putting $15,000 into your 401(k) does not reduce the $7,000 Roth IRA limit you can use.

Income limits that affect Roth IRA contributions

While 401(k) contributions have no income limit, Roth IRA contributions do. The IRS phases out your ability to contribute based on your modified adjusted gross income (MAGI). For 2024, if you file as single, the phase-out range is $146,000 to $161,000. If you are married filing jointly, it is $230,000 to $240,000. These numbers change each year.

If your MAGI falls within the phase-out range, you can contribute a reduced amount. If your MAGI exceeds the upper limit, you cannot contribute to a Roth IRA directly — though you may be able to use a backdoor Roth strategy, which involves contributing to a traditional IRA and then converting it to a Roth.

Your 401(k) contributions do not count toward your MAGI for Roth IRA purposes, so maxing out your 401(k) does not push you over the Roth income limit. However, other income — wages, self-employment income, investment gains — does count.

Tax treatment when you contribute to both

If you contribute to a traditional 401(k), those contributions reduce your taxable income for the year. If you contribute to a Roth 401(k), they do not. Roth IRA contributions never reduce your taxable income — you fund them with after-tax dollars.

This creates a common strategy: use a traditional 401(k) to lower your current tax bill, then fund a Roth IRA with the after-tax money you have left. You get an immediate deduction from the 401(k) and tax-free growth in the Roth. When you retire, you withdraw from both accounts — the 401(k) withdrawals are taxed as ordinary income, while Roth withdrawals are tax-free.

If you contribute to a Roth 401(k) instead, you get no current deduction, but those contributions grow tax-free and withdrawals are tax-free in retirement. Adding a Roth IRA on top of that gives you even more tax-free growth, though you still fund it with after-tax dollars.

How employer matching affects your strategy

Employer matching contributions to your 401(k) do not count toward your personal $23,500 limit. If your employer matches 3% of your salary, that match goes into your 401(k) but does not reduce the amount you can defer yourself.

This means you can contribute your full $23,500 salary deferral, receive the employer match on top of that, and still fund a Roth IRA separately. The match is assistance programs that does not consume any of your contribution room.

However, the match does affect your total 401(k) balance and your overall retirement savings picture. If you are trying to decide whether to max your 401(k) or fund a Roth IRA first, remember that the employer match is usually the better deal — it is an immediate return on your money that you should capture before prioritizing a Roth IRA.

Deciding which account to prioritize when cash is tight

If you cannot afford to max both accounts, most people should prioritize the 401(k) up to the employer match first. That is assistance programs. After that, the choice depends on your tax situation and retirement timeline.

A Roth IRA is often better if you expect to be in a higher tax bracket in retirement, or if you want maximum flexibility — Roth IRA contributions (not earnings) can be withdrawn penalty-free at any time, and there are no required minimum distributions in retirement. A traditional 401(k) is better if you need the current tax deduction or if you expect to be in a lower tax bracket when you retire.

If your income is near the Roth IRA phase-out limit, fund the Roth first while you still can. Once you exceed the income limit, you lose access to direct Roth contributions for that year.

Tracking contributions across both accounts

Your 401(k) provider tracks your deferrals automatically — they come straight from your paycheck. Your Roth IRA custodian (the bank or brokerage holding your account) tracks your contributions separately.

At tax time, your 401(k) provider sends you a Form 1099-R showing how much you contributed and how much was withheld. Your Roth IRA custodian sends you a Form 5498 showing your contributions. You report the 401(k) information on your tax return, and the Roth contribution is tracked for your records but does not appear on your return (since it is after-tax money).

If you contribute more than the IRS limit to either account, you will face penalties and taxes on the excess. The IRS catches this through the forms your providers send, so it is important to track your own contributions if you have multiple accounts or change jobs during the year.

What happens if you change jobs mid-year

If you leave your job partway through the year, your 401(k) contribution limit for that year is still the full annual amount — $23,500 for 2024 — but it is split between your old employer and your new one. If you contributed $10,000 to your old employer's plan, you can contribute up to $13,500 to your new employer's plan in the same year.

Your Roth IRA limit does not change. You can still contribute $7,000 (or $8,000 if you are 50+) for the year, regardless of how many employers you worked for.

When you leave a job, you can roll your old 401(k) into an IRA or into your new employer's plan if it accepts rollovers. This does not affect your contribution limits for the current year — it is a separate transaction that moves money you have already saved.

Frequently Asked Questions

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

Yes, the contribution limits are separate. Maxing your 401(k) at $23,500 does not reduce the $7,000 Roth IRA limit. However, if your income exceeds the Roth IRA phase-out range, you may not be able to contribute directly to a Roth IRA regardless of how much you put in your 401(k).

Does contributing to a traditional 401(k) reduce my Roth IRA income limit?

No. Your 401(k) contributions do not count toward your modified adjusted gross income (MAGI) for Roth IRA purposes. Only wages, self-employment income, and investment gains count. You can max a traditional 401(k) and still be within the Roth IRA income limit.

Should I fund my 401(k) or Roth IRA first if I can only do one?

Prioritize your 401(k) up to the employer match first — that is an immediate return. After that, a Roth IRA is often better if you expect higher taxes in retirement or want withdrawal flexibility. A traditional 401(k) is better if you need the current tax deduction.

Can I contribute to a Roth 401(k) and a Roth IRA in the same year?

Yes. They have separate limits and do not interfere with each other. You can contribute $23,500 to a Roth 401(k) and $7,000 to a Roth IRA in the same year, as long as your income does not exceed the Roth IRA phase-out range.

What if I contributed too much to both accounts by mistake?

Contact your 401(k) provider and Roth IRA custodian immediately. Excess contributions trigger a 6% excise tax each year they remain in the accounts. Your providers can help you withdraw the excess and correct your records before tax time.