IRA vs 401(k): how the two accounts differ and how they work together
An IRA vs 401(k) comparison covering contribution limits, employer matches, tax deductions, investment choice, withdrawal rules and RMDs.

A 401(k) is a retirement plan your employer sets up, funded mainly through payroll deductions and often with a matching contribution, and it allows much higher annual contributions than an IRA. An IRA is an account you open yourself at a bank or brokerage, with a lower contribution limit but far wider investment choice. Both come in traditional (pre-tax) and Roth (after-tax) versions, and most people who have access to both can contribute to both in the same year.
So the question is rarely which one to have. It is how the rules differ, because those differences affect where the next dollar goes, how easy the money is to reach early, and what happens at required distribution age. This guide sets the two side by side.
IRA vs 401(k) at a glance
| Feature | 401(k) | IRA |
|---|---|---|
| Who sets it up | Your employer | You |
| How you contribute | Payroll deduction | Direct deposit or transfer by you |
| Annual contribution limit | Higher; set by the IRS each year | Lower; set by the IRS each year |
| Employer contributions | Often a match or profit-sharing contribution | None |
| Roth option | Only if the plan offers it; no income limit | Roth IRA has income limits on direct contributions |
| Tax deduction for traditional contributions | Pre-tax through payroll, no income test | Deduction can phase out if you or your spouse are covered by a workplace plan |
| Investment choice | Limited to the plan's menu | Almost anything the custodian offers |
| Loans | Allowed if the plan permits | Not allowed |
| Contribution deadline | Through payroll by year end | Up to the tax filing deadline for the prior year |
| Still-working RMD delay | Available if the plan allows | Not available for traditional IRAs |
The IRS adjusts both contribution limits most years, along with the extra catch-up amount allowed from age 50. Check the current annual IRS limits, which change each year, before setting a contribution amount.
Contribution limits and the employer match
The most visible difference is size. The 401(k) employee deferral limit is several times the IRA limit, and that is before counting employer money. A separate, larger overall cap applies to the total of employee and employer contributions to a 401(k).
The employer match is the other big structural difference. Many plans match part of what you defer, for example a set percentage of salary up to a stated cap. The formula is in your plan's summary plan description. Matching contributions may be subject to a vesting schedule, meaning you only keep them in full after a period of service, commonly a cliff or graded schedule set out in the plan documents.
An IRA has no employer contribution at all. Its limit is shared across all your traditional and Roth IRAs combined, and you need taxable compensation at least equal to what you contribute. A non-working spouse can contribute based on the working spouse's income through a spousal IRA.
How the tax treatment compares
Both accounts offer the same two basic tax models.
- Traditional: contributions reduce taxable income now, growth is tax-deferred, and withdrawals are taxed as ordinary income.
- Roth: contributions are made from after-tax income, and qualified withdrawals, including growth, are tax-free.
The details differ in ways that matter.
Traditional IRA deductions can phase out
Traditional 401(k) deferrals come out of your pay before income tax regardless of how much you earn. A traditional IRA contribution is deductible in full only if neither you nor your spouse is covered by a workplace retirement plan, or if your income is below the IRS phase-out range for your filing status. Above that range, you can still contribute, but the contribution is nondeductible and creates after-tax basis you must track on Form 8606.
Roth IRA has income limits; Roth 401(k) does not
Direct Roth IRA contributions phase out above income thresholds set by the IRS each year. A Roth 401(k), where the plan offers one, has no income test. Higher earners who want Roth money often use the Roth 401(k) or a backdoor Roth IRA. For the traditional vs Roth choice inside a plan, see Roth 401(k) vs traditional 401(k).
Low- and moderate-income savers may also qualify for the Saver's Credit on contributions to either type of account.
Investment choice and costs
A 401(k) offers a fixed menu chosen by the plan sponsor, often a set of mutual funds, index funds and target-date funds, sometimes with a stable value or company stock option. You cannot buy outside that list.
An IRA at a brokerage can hold individual stocks, bonds, ETFs, mutual funds, CDs and in some cases annuities. That flexibility is useful but puts the work and the risk of poor choices on you.
Costs work in both directions. Large employer plans can sometimes access institutional share classes with low expense ratios, while small plans may carry higher administrative and fund fees. Plans subject to ERISA must provide fee disclosures to participants, so read yours. IRA costs depend on the custodian and the investments you pick.
Getting money out before retirement
This is where the accounts differ most in practice.
Loans
Many 401(k) plans let you borrow from your balance and repay through payroll, within limits set by tax law and the plan. IRAs do not allow loans; using IRA money as security for a loan can be treated as a distribution. See 401(k) loan for how repayment and default work.
Hardship withdrawals
A 401(k) may permit hardship withdrawals for specific needs if the plan includes that feature. IRAs have no hardship concept; you can withdraw at any time, though tax and possibly the 10% additional tax apply.
Exceptions to the 10% additional tax
Withdrawals before 59½ are generally subject to a 10% additional tax on the taxable part, but the exceptions differ by account type. Based on the IRS's published table of exceptions:
| Exception | 401(k) | IRA |
|---|---|---|
| Separation from service in or after the year you turn 55 | Yes | No |
| Payments to an ex-spouse under a QDRO | Yes | No |
| Qualified higher education expenses | No | Yes |
| First-time home purchase, up to a lifetime cap | No | Yes |
| Health insurance premiums while unemployed | No | Yes |
| Death, disability, substantially equal periodic payments | Yes | Yes |
The age-55 rule is a good example of why moving everything out of a 401(k) at separation is not always the right step. Rolling the balance into an IRA would give up that exception. The rule of 55 guide explains how it works.
Required minimum distributions
Traditional 401(k)s and traditional IRAs both require minimum distributions starting at the age set by current law. Two differences stand out.
First, if you are still working for the employer that sponsors your 401(k) and you do not own 5% or more of the business, the plan may allow you to delay RMDs from that plan until you retire. That still-working exception does not apply to traditional IRAs.
Second, Roth IRAs and designated Roth accounts in a 401(k) or 403(b) do not require withdrawals during the owner's lifetime, according to the IRS. Beneficiaries are subject to RMD rules on inherited accounts. You also cannot combine RMDs across account types: IRA RMDs can be totalled and taken from any of your IRAs, but each 401(k) must satisfy its own RMD.
Creditor protection
Assets in most 401(k) plans covered by ERISA generally have strong protection from creditors under federal law. IRAs are protected in federal bankruptcy, with traditional and Roth IRA contributions protected up to an inflation-adjusted cap, while rollover amounts from employer plans generally keep fuller protection. Outside bankruptcy, IRA protection depends on state law, which varies. If asset protection matters in your situation, it is worth raising with an attorney before rolling a large 401(k) balance into an IRA.
Using both: a common way people sequence contributions
Since you can usually contribute to both, many people work through a simple order. This is a general framework, not a recommendation for your circumstances:
- Contribute enough to the 401(k) to receive the full employer match, if there is one.
- Consider an IRA next if you want wider investment choice or lower costs than your plan offers, and check whether a traditional IRA deduction or a direct Roth IRA contribution is available at your income.
- Return to the 401(k) for additional savings up to the annual limit.
Your tax bracket now and in retirement, your plan's fees and fund menu, and whether you may need early access all change the order. The 401(k) rollover guide covers what to do with the account when you change jobs.
Frequently asked questions
Can I have both an IRA and a 401(k)?
Yes. Contributing to a 401(k) does not stop you contributing to an IRA. It can, however, limit whether a traditional IRA contribution is tax-deductible, depending on your income and filing status. Roth IRA eligibility depends on income alone.
Is a 401(k) or an IRA better for retirement?
Neither is better in every case. A 401(k) allows higher contributions and may include an employer match. An IRA usually offers wider investment choice. Many people use both, and the right balance depends on your plan's features, costs and your tax position.
Can I roll a 401(k) into an IRA?
Generally yes, after you leave the employer, and some plans allow in-service rollovers. A direct rollover avoids mandatory withholding. Before rolling over, compare fees, investment choice, creditor protection and features such as the age-55 exception that only the plan offers.
Do IRA and 401(k) contribution limits overlap?
No. The 401(k) employee deferral limit and the IRA limit are separate, so you can contribute up to each in the same year if you are eligible. The IRA limit is shared across all your traditional and Roth IRAs.
This article is general education, not personal financial or tax advice. Contribution limits, income thresholds and RMD ages are set by law and change over time, so check current IRS guidance and your plan documents, or speak to a qualified professional.
This guide is for general educational purposes only and is not financial, tax, or legal advice. Rates and rules change; verify current figures before acting. Consult a licensed professional about your situation.