Yes, you can have both a 401k and a Roth IRA, and the IRS allows it
You can contribute to a 401k through your employer and a Roth IRA in the same year with no legal barrier. The IRS does not prohibit holding both accounts. However, there are two separate limits you need to know: a contribution limit for your 401k, and a different contribution limit for your Roth IRA. You cannot exceed either one, and if you have a traditional IRA as well, that affects your Roth IRA limit in a specific way.
The practical reason most people do this is that a 401k often comes with an employer match (assistance programs), while a Roth IRA offers tax-free growth and withdrawal rules that a 401k does not. Many people max out the employer match in their 401k first, then put additional money into a Roth IRA.
Key Takeaways
- You can contribute to both a 401k and a Roth IRA in the same year without breaking any IRS rules.
- Your 401k contribution limit and Roth IRA contribution limit are separate — you do not share a single annual cap between them.
- If you have a traditional IRA and your income is above a certain threshold, you may not be able to contribute to a Roth IRA, even if you have a 401k.
- A common strategy is to contribute enough to your 401k to capture the full employer match, then put additional savings into a Roth IRA.
How the contribution limits work when you have both accounts
The 401k contribution limit and the Roth IRA contribution limit are tracked separately. For 2024, the 401k limit is $23,500 (or $31,000 if you are 50 or older), and the Roth IRA limit is $7,000 (or $8,000 if you are 50 or older). You can contribute the full amount to each account in the same year.
This means if you contribute $15,000 to your 401k, you can still contribute $7,000 to a Roth IRA. The $15,000 does not count against your Roth limit. However, if you have a traditional IRA in addition to these two accounts, the rules change — your traditional IRA and Roth IRA contributions share a single $7,000 annual limit combined.
Your employer's match to your 401k does not count toward your personal contribution limit. If your employer adds $5,000 to your 401k, you can still contribute your full $23,500 yourself.
Income limits for Roth IRA contributions when you have a 401k
Having a 401k does not change the Roth IRA income limits. The IRS phases out your ability to contribute to a Roth IRA based on your modified adjusted gross income (MAGI). For 2024, if you file as single, the phase-out range is roughly $146,000 to $161,000. If you are married filing jointly, it is roughly $230,000 to $240,000. These ranges change each year.
The presence of a 401k does not raise or lower these thresholds. However, if you have a traditional IRA, the situation is different. If you or your spouse have a traditional IRA and you are covered by a 401k at work, your ability to deduct traditional IRA contributions is reduced at higher incomes. This can make a Roth IRA a better choice, but it does not prevent you from having both accounts.
Tax treatment: how contributions and withdrawals differ
Money you contribute to a 401k is usually deducted from your paycheck before taxes, which lowers your taxable income for the year. When you withdraw from a 401k in retirement, you pay income tax on the full amount. This is called a traditional 401k.
Money you contribute to a Roth IRA comes from after-tax dollars — it does not lower your taxable income this year. But when you withdraw in retirement, the money comes out tax-free. This is the main advantage of a Roth IRA: you pay tax now, not later.
Some employers offer a Roth 401k option, which works like a Roth IRA but with higher contribution limits and different withdrawal rules. If your employer offers this, you could have a Roth 401k and a Roth IRA, or a traditional 401k and a Roth IRA, or both types of 401k. The limits still apply separately to each account type.
Required minimum distributions: a reason to plan ahead
At age 73, you must begin taking required minimum distributions (RMDs) from your 401k. This means the IRS requires you to withdraw a certain amount each year and pay tax on it. Roth IRAs do not have RMDs during your lifetime — you can leave the money untouched as long as you want.
This is one reason people use both accounts. You can let your Roth IRA grow tax-free with no forced withdrawals, while your 401k provides income in early retirement or when you need it. Some people also use a strategy called a "backdoor Roth" to move money from a traditional IRA into a Roth IRA, though this gets complicated if you have a large traditional IRA balance.
Employer match: why most people prioritize the 401k first
If your employer offers a 401k match, that is usually the first place to put money. A 401k match is an immediate return on your contribution — if your employer matches 50 cents on the dollar up to 6% of your salary, that is a may provide 50% gain on that portion of your money. No investment can promise that.
The typical strategy is to contribute enough to your 401k to capture the full match, then put additional savings into a Roth IRA. Once your Roth IRA is maxed out, you can go back and contribute more to your 401k if you want to save beyond the Roth limit.
What happens if you exceed the contribution limits
If you contribute more than the annual limit to your 401k, your employer's payroll system usually stops accepting contributions once you hit the cap. Excess contributions are rare because the limit is enforced automatically.
If you over-contribute to a Roth IRA, you must report it to the IRS and remove the excess plus any earnings on it. If you do not catch it by tax filing time, you may owe a 6% penalty tax on the excess amount for each year it remains in the account. The IRS provides a form to report and correct this.
Frequently Asked Questions
Does having a 401k at work prevent me from opening a Roth IRA?
No. Having a 401k does not prevent you from opening or contributing to a Roth IRA. The only barrier is income: if your income is above the Roth IRA phase-out range for your filing status, you cannot contribute, regardless of whether you have a 401k. The 401k itself does not affect this rule.
Can I contribute to a Roth 401k and a Roth IRA in the same year?
Yes. A Roth 401k and a Roth IRA are separate accounts with separate contribution limits. You can max out both in the same year. However, the income limits for Roth IRA contributions still apply — a Roth 401k does not change those thresholds.
What if I leave my job — can I still contribute to my 401k?
No. You can only contribute to a 401k if you are currently employed by the company that sponsors it. Once you leave, you can no longer make contributions. You can roll the balance into an IRA or another employer's 401k, but you cannot add new money to the old 401k. You can still contribute to a Roth IRA as long as you have earned income from any source.
Should I max out my 401k or my Roth IRA first?
If your employer offers a match, contribute enough to your 401k to capture the full match first — that is assistance programs. After that, many people prioritize the Roth IRA because of the tax-free growth and no required withdrawals. Once the Roth is maxed, return to the 401k if you want to save more.
If I have a traditional IRA, does that affect my Roth IRA limit?
Yes. Your traditional IRA and Roth IRA contributions share a single annual limit of $7,000 (or $8,000 if you are 50 or older). If you contribute $4,000 to a traditional IRA, you can only contribute $3,000 to a Roth IRA that year. Having a 401k does not change this rule.