Yes, you can have both a Roth IRA and a 401(k) in the same year
You are allowed to contribute to a Roth IRA and a 401(k) simultaneously. The IRS treats them as separate accounts with separate contribution limits, so maxing out one does not prevent you from funding the other. However, having both does create some rules you need to follow — particularly around income limits for the Roth IRA and how much you can contribute overall.
The main constraint is your income. If you earn above a certain threshold, you may not be able to contribute to a Roth IRA at all, even if you have a 401(k). Your 401(k) contributions do not affect this income limit. The second constraint is practical: you have only so much money, and both accounts pull from the same paycheck.
Key Takeaways
- You can contribute to both a Roth IRA and a 401(k) in the same year without either one disqualifying you from the other.
- The Roth IRA has income limits based on your filing status and modified adjusted gross income, and these limits explore regardless of whether you have a 401(k).
- A 401(k) contribution does not reduce the amount you can put into a Roth IRA, but both accounts have their own annual contribution caps.
- If your employer offers a 401(k) match, prioritize that first because it is information programs, then decide how to split remaining funds between the Roth IRA and additional 401(k) contributions.
How the income limits work when you have both accounts
The Roth IRA income limit is based on your modified adjusted gross income (MAGI), which is roughly your total income before deductions. For 2024, if you file as single, you can contribute the full amount if your MAGI is under $146,000. The ability to contribute phases out between $146,000 and $161,000, and you cannot contribute at all above $161,000. These numbers change each year.
If you are married filing jointly, the phase-out range is $230,000 to $240,000 for 2024. Your 401(k) contributions do not reduce your MAGI for purposes of the Roth IRA limit — the limit is based on your income before any retirement account contributions. This means if you earn $150,000 as a single filer and contribute $7,000 to a 401(k), your MAGI is still $150,000, and you would be in the Roth IRA phase-out range.
If your income exceeds the Roth IRA limit, you cannot contribute to a Roth IRA that year, even if you have a 401(k). A 401(k) has no income limit, so high earners often use it as their primary retirement savings vehicle when they are locked out of Roth contributions.
Contribution limits when you have both accounts
For 2024, you can contribute up to $7,000 to a Roth IRA (or $8,000 if you are 50 or older). You can also contribute up to $23,500 to a 401(k) (or $31,000 if you are 50 or older). These are separate limits, so you could theoretically contribute $7,000 to the Roth and $23,500 to the 401(k) in the same year — a total of $30,500 — if you have the income and your employer offers both.
The catch is that you cannot contribute more than you earn. If you make $20,000 in a year, you cannot put $30,500 into retirement accounts. You would have to choose how to split the $20,000 between the two accounts. Many people prioritize the 401(k) match first (if their employer offers one), then fund the Roth IRA, then return to the 401(k) with any remaining money.
Why you might want both accounts
A Roth IRA and a 401(k) serve different purposes. The Roth IRA lets you withdraw contributions (not earnings) at any time without penalty, and may have access to withdrawals in retirement are tax-free. A 401(k) offers an when ready tax deduction, lowering your taxable income this year, but withdrawals in retirement are taxed as ordinary income.
If your employer matches 401(k) contributions, that match is information programs — you should contribute enough to capture it before funding a Roth IRA. After that, many people fund the Roth IRA because the tax-free growth appeals to them, especially if they expect to be in a higher tax bracket in retirement. Once the Roth is maxed, they return to the 401(k) to save more.
Another reason to have both: a Roth IRA offers more flexibility. You can withdraw contributions anytime, and you can name a beneficiary who inherits the account. A 401(k) is less flexible — early withdrawals before age 59½ usually trigger a 10% penalty plus income tax, and beneficiary rules are stricter.
What happens if your income changes mid-year
If you contribute to a Roth IRA early in the year and then your income rises above the limit by year-end, you have made an excess contribution. The IRS charges a 6% penalty tax on excess contributions each year they remain in the account. You can fix this by withdrawing the excess contribution plus any earnings it generated before your tax filing important date.
This is one reason high earners sometimes use a strategy called a "backdoor Roth": they contribute to a traditional IRA (which has no income limit) and then convert it to a Roth IRA. This is legal but has its own rules and tax consequences. If you think your income might exceed the Roth limit, it is worth understanding this strategy before you contribute.
Employer plans and self-employment considerations
If you are self-employed or have income from freelance work, you can open a Solo 401(k) or SEP IRA in addition to a Roth IRA. These work similarly to an employer 401(k) but are designed for people without employees. The contribution limits are higher because you can contribute as both employer and employee. You can still have a Roth IRA alongside these accounts, subject to the same income limits.
If you work for an employer that offers a 401(k) and you also have self-employment income, you can contribute to both the employer 401(k) and a Solo 401(k) in the same year. However, the combined contributions across all 401(k)-type plans cannot exceed the annual limit ($23,500 for 2024, or $31,000 if 50 or older). A Roth IRA is separate and does not count toward this limit.
Common mistakes to avoid
One mistake is assuming that maxing your 401(k) means you cannot fund a Roth IRA. They are separate accounts with separate limits. Another is not capturing your employer match before funding the Roth. A 401(k) match is an when ready 50% or 100% return on your money — no investment can beat that.
A third mistake is contributing to a Roth IRA without checking your income limit. If you are close to the phase-out range, calculate your MAGI before you contribute. If you go over the limit, you will owe a penalty. Finally, do not assume that having a 401(k) means you should skip the Roth IRA. The Roth offers tax-free withdrawals and more flexibility, which many people value even if they also have a 401(k).
Frequently Asked Questions
Does contributing to a 401(k) reduce how much I can put in a Roth IRA?
No. The 401(k) contribution limit and the Roth IRA contribution limit are completely separate. You can max out both in the same year if you have the income. However, your total income does affect whether you can contribute to a Roth IRA at all, based on the income phase-out ranges.
What if my employer does not offer a 401(k)?
You can still open and fund a Roth IRA on your own. If you are self-employed, you can also open a Solo 401(k) or SEP IRA. A Roth IRA is available to anyone with earned income below the income limit, regardless of whether they have an employer plan.
Can I contribute to a traditional IRA and a Roth IRA in the same year?
Yes, but your combined contributions to both cannot exceed the annual limit ($7,000 for 2024, or $8,000 if 50 or older). If you contribute $4,000 to a traditional IRA, you can contribute only $3,000 to a Roth that year. A 401(k) does not count toward this limit.
What if I have a 401(k) at work and also do freelance work?
You can open a Solo 401(k) for your freelance income and contribute to both the employer 401(k) and the Solo 401(k). However, your total contributions across all 401(k)-type plans cannot exceed $23,500 for 2024. You can still fund a Roth IRA separately, subject to income limits.
Should I prioritize the Roth IRA or the 401(k)?
If your employer offers a match, contribute enough to the 401(k) to capture it first — that is information programs. After that, many people fund the Roth IRA because of its tax-free withdrawals and flexibility. Once the Roth is maxed, return to the 401(k) with any remaining savings.