Direct Answer
A 401(k) is a retirement account created and administered by an employer (or, for a self-employed person with no employees, by that person acting as their own employer through a solo 401(k)), funded mainly through payroll deferral and often paired with an employer match, and restricted to whichever fund lineup the plan sponsor has chosen. An IRA is opened independently at a bank or brokerage of the individual's own choosing, funded by direct contribution rather than payroll deduction, carries no employer-match mechanism at all, and can generally hold any publicly traded stock, bond, ETF, or mutual fund the custodian offers. Most working investors who have access to both end up using each one for what it does well, rather than treating the choice as either-or.
Key Takeaways
- A 401(k) must be sponsored by an employer; an IRA requires no employer at all and can be opened by anyone with qualifying compensation.
- Only a 401(k) can carry an employer matching or profit-sharing contribution. An IRA has no mechanism for an employer to add money directly.
- A 401(k)'s contribution ceiling is really two layered limits, one on what the employee defers and a separate, higher combined limit that also counts employer money; an IRA has a single limit shared across every traditional and Roth IRA an individual owns.
- A 401(k)'s investments are limited to the menu the plan sponsor selected; an IRA opened at a brokerage can generally hold the same universe of securities the brokerage offers anyone.
- Some 401(k) plans allow a participant loan repaid through payroll; an IRA has no loan feature of any kind.
- 401(k) balances get broad federal creditor protection under ERISA; IRA protection is a mix of a capped federal bankruptcy exemption and separate, more variable, state law.
How Each Account Actually Works
Both account types exist to do the same basic job, letting investment growth compound without an annual tax bill along the way, and both come in a traditional (pre-tax) and Roth (after-tax) flavor. Where they diverge is in who sets the account up, who is allowed to contribute, and who controls what you can invest in.
The 401(k): an employer-sponsored, payroll-deferral plan
A 401(k) is a qualified retirement plan under the tax code that only an employer can establish. That employer can be a large corporation, a small business, a nonprofit, or, through a solo 401(k), a self-employed individual with no other employees acting in the dual role of employer and employee. Once the plan exists, an eligible employee elects to defer a percentage or dollar amount of each paycheck into the plan, and that deferral is deducted automatically before the paycheck is issued. The plan is administered by a third-party recordkeeper the employer selects, and the investment menu, the actual list of mutual funds, index funds, or target-date funds a participant can choose among, is likewise selected by the employer (or a committee acting on the employer's behalf), which carries an ongoing fiduciary duty under the Employee Retirement Income Security Act (ERISA) to monitor the funds it offers for cost and quality. A shrinking but real share of 401(k) plans layer a "self-directed brokerage window" on top of the core menu, which opens up individual stocks and a much broader fund universe within the same account, but that is a plan-specific feature, not something every 401(k) offers.
An employer can, but is not required to, add money on top of what an employee defers. That employer contribution usually takes one of two forms: a match, calculated as a percentage of what the employee personally defers, or a nonelective (sometimes called profit-sharing) contribution that the employer makes regardless of whether the employee defers anything at all. Neither form is guaranteed; whether a match exists, and its exact formula, is a plan design decision made by each individual employer.
The IRA: opened independently, with no employer involved
An Individual Retirement Arrangement, the IRA's formal name, is opened directly by an individual at a bank, credit union, brokerage, or other IRS-approved custodian, with no employer in the process at any point. Eligibility turns on having taxable compensation for the year, wages, self-employment income, or certain other earned income, not on where or whether you work for anyone in particular. Funding an IRA is a manual or self-scheduled act: the account holder transfers money in directly, whether as a lump sum, a series of manual contributions, or a recurring automatic transfer set up through the custodian, rather than having it deducted from a paycheck by a plan administrator.
Because there is no employer selecting a fund menu, an IRA opened at a full-service brokerage can generally hold whatever that brokerage makes available to any of its account holders, individual stocks, ETFs, mutual funds, bonds, and other publicly traded securities, subject only to the custodian's own platform and a small set of IRS prohibitions (collectibles and most life insurance contracts, for example, are barred from IRAs). There is also no mechanism for an employer to contribute directly to an IRA; an employer that wants to fund retirement savings on an employee's behalf without running a 401(k) uses a different vehicle entirely, such as a SEP-IRA or a SIMPLE IRA, both of which have their own separate rules.
Side-by-Side Comparison
The table below compares the structural mechanics of each account type. Contribution limits, income phase-outs, and other figures the IRS adjusts periodically are deliberately not listed here; see the References section for where to check the current numbers.
| Dimension | 401(k) | IRA |
|---|---|---|
| Who can open one | Only through an employer-sponsored plan (including a solo 401(k) for a self-employed person with no employees) | Anyone with qualifying taxable compensation, opened independently, no employer required |
| How contributions get in | Payroll deferral, deducted automatically by the employer's plan administrator | Direct contribution the account holder makes or schedules themselves |
| Employer money | Can include an employer match or nonelective contribution, at the employer's discretion | None; an employer wanting to contribute directly uses a separate vehicle such as a SEP-IRA |
| Contribution-limit structure | Two layers: an employee elective-deferral limit, plus a separate, higher combined limit that also counts employer contributions | One limit, shared across every traditional and Roth IRA the individual owns |
| Investment menu | Limited to the fund lineup the plan sponsor selected, unless the plan offers a self-directed brokerage window | Generally the full range of securities the chosen brokerage offers any customer |
| Loans against the balance | Some plans permit a participant loan, at the plan's discretion, typically repaid via payroll deduction | Not available; only a 60-day rollover window applies, and it is not a loan |
| Creditor protection | Broad protection from creditors under ERISA's anti-alienation rule, with narrow exceptions (a QDRO, a federal tax levy) | A capped federal bankruptcy exemption for contributory balances (uncapped for amounts rolled in from an employer plan), plus separate and more variable state-law protection outside bankruptcy |
Contribution Mechanics: Two Layered Limits vs. One Combined Limit
Beyond the mechanics of how money gets into each account, the two types are also governed by contribution ceilings built on entirely different structures. Neither structure is described here with a dollar figure, because the IRS adjusts both sets of numbers periodically, and a stale figure in a comparison guide is worse than no figure at all.
The 401(k)'s two-tier limit
A 401(k) is governed by two separate ceilings that apply at the same time. The first is a limit on the employee's own elective deferrals, the amount taken directly out of a paycheck. The second is a broader "annual additions" limit that covers the total of employee deferrals, employer matching contributions, employer nonelective contributions, and any allocated forfeitures, all added together. Because the second limit is meaningfully higher than the first and includes employer money, a participant whose employer contributes generously can end up with total 401(k) contributions well above what the employee limit alone would suggest, something no other retirement account structure replicates.
The IRA's single combined limit
An IRA works differently: there is one annual contribution limit, and it applies across every traditional and Roth IRA the individual owns combined, not per account. Contribute to a traditional IRA and a Roth IRA in the same year, and the two contributions share one ceiling rather than each getting a separate one. There is no employer layer to add to it, because there is no employer involved in an IRA at all. The IRA limit and the 401(k) limits are set independently of one another under different sections of the tax code, so contributing the maximum to a 401(k) does not reduce, and is not reduced by, what an individual can separately contribute to an IRA in the same year.
For the current-year dollar amounts for both account types, along with the Roth IRA income phase-out ranges, see Swoopr's U.S. Rule & Limit Tracker or the IRS pages cited in the References section below.
Worked Example: What the Match and the Menu Are Actually Worth
Illustrative scenario with assumed figures, for educational purposes only. Not the current contribution limit, tax rate, or any other IRS-set number.
Suppose, purely as an illustration, a worker earns an illustrative $70,000 a year and their employer's 401(k) plan matches 50% of the first 6% of pay the employee defers, an illustrative match formula chosen for this example, not a standard or universal one. Deferring 6% of pay means setting aside an illustrative $4,200 for the year. The 50% match on that adds an illustrative $2,100 in employer money, an immediate 50% return on that portion of the contribution before any investment gain is even considered. No IRA, however it is funded or invested, has any mechanism to add that $2,100; it exists only because a 401(k) can receive employer contributions.
Now suppose the same worker has an illustrative $3,000 in additional annual savings capacity left after capturing the full match. Two structurally different things happen depending on where that next dollar goes. Directed further into the 401(k), it lands inside whatever fund menu the plan sponsor selected, perhaps a small set of actively managed funds carrying an illustrative 0.65% expense ratio. Directed instead into an IRA opened at a low-cost brokerage, the same dollar can go into a broad-market index fund carrying an illustrative 0.04% expense ratio, a difference that compounds meaningfully over a multi-decade holding period even though it produces no employer match either way. Neither destination is "correct" in the abstract: the 401(k) captures no additional match at this stage (the match was already fully captured on the first 6%), so the comparison here turns entirely on menu cost and investment choice, which is precisely the dimension where the IRA's structure has an advantage over a 401(k) with an expensive fund lineup, and precisely where a 401(k) with a low-cost, well-designed menu would erase that advantage.
This example illustrates the mechanism, not a recommendation; run your own numbers, current limits, and actual plan fund costs before deciding.
Which Fits Which Situation
Neither account type is structurally better in every case. What each one is well suited for depends on circumstances specific to the saver.
- An employee whose plan offers a match. The match is compensation that has no equivalent in an IRA, which is the main reason the common sequencing advice puts capturing it first, regardless of what else is true about the plan.
- A self-employed person with no other employees. A solo 401(k) is itself an employer-sponsored plan, just one where the same person wears both hats; it can carry a higher combined contribution ceiling than an IRA because it counts both the "employee" and "employer" sides of that one person's income. A SEP-IRA is a separate alternative built specifically for this situation and is compared in Swoopr's SEP-IRA vs. solo 401(k) guide.
- Someone whose 401(k) menu is expensive or thin. A plan sponsor's fund lineup is not guaranteed to be low-cost or broad; if it is neither, the open investment universe of an IRA becomes relatively more attractive for savings beyond whatever captures the match.
- Someone who has left a job and wants full investment control. A former employer's plan no longer accepts new payroll contributions once employment ends, and consolidating into an IRA through a rollover trades the old plan's fixed menu for the custodian's full offering.
- Someone in a profession with above-average lawsuit or creditor exposure. The 401(k)'s broad, near-uniform federal creditor protection under ERISA is a meaningfully different risk profile than an IRA's capped, and partly state-dependent, protection, a dimension worth weighing more heavily for someone with real exposure to it.
- Someone who wants the ability to borrow against a balance for a short-term need. Only a 401(k) can offer this, and only if the specific plan's design permits it; an IRA has no equivalent feature at all.
- A high earner locked out of direct Roth IRA contributions. A workplace Roth 401(k), where offered, carries no income limit on contributions the way a Roth IRA does, making it a route to Roth-style tax treatment that an IRA alone cannot provide at high income levels without the extra steps of a backdoor conversion. See Swoopr's backdoor Roth IRA guide for that alternative route.
Most people who have access to both accounts use them together rather than picking one, which is the subject of the next section.
Using Both Accounts Together
Because the two accounts serve different structural purposes rather than competing head-to-head, most working investors with access to a 401(k) end up using both over time instead of treating the decision as exclusive. A commonly cited sequencing approach, when a match is available, is to defer enough into the 401(k) to capture the full match first, since that specific dollar amount cannot be obtained any other way, then direct additional savings toward an IRA to take advantage of its open investment menu and generally lower available costs, and then return to the 401(k) for further tax-advantaged capacity once the IRA is fully funded, if there is still more to save. This is a general framework rather than a fixed rule; it assumes a match actually exists, that the saver meets IRA eligibility and (for a Roth IRA) income requirements, and that near-term financial needs outside of retirement accounts have already been accounted for. Swoopr's 401(k) investing basics guide covers this sequencing question, along with 401(k) vesting schedules and rollover mechanics, in more depth than this comparison focuses on.
When a 401(k) balance does eventually move, most often after leaving the employer that sponsored it, it is typically rolled into an IRA rather than cashed out, converting a limited, employer-selected menu into the open universe an IRA offers, without triggering the tax and penalty consequences of a distribution. See Swoopr's rollover IRA rules guide for the direct-versus-indirect rollover mechanics and the 60-day window that applies if a rollover is not done trustee-to-trustee.
Misconceptions vs. Reality
| Misconception | Reality |
|---|---|
| A 401(k) is always the better account because of the match | False as a blanket rule. The match, where one exists, is real money an IRA cannot replicate, but a 401(k) with an expensive or thin fund menu can still be a worse home for dollars beyond the match than a low-cost IRA. |
| Every 401(k) plan comes with an employer match | False. A match is a plan design choice each employer makes independently; some plans match nothing at all, and some make a fixed contribution regardless of employee deferrals instead. |
| You can't contribute to an IRA if you already have a 401(k) | False. The two accounts have separate, independently set contribution limits. Having a 401(k) does not by itself block IRA contributions, though it can affect whether a traditional IRA contribution is tax-deductible. |
| An IRA lets you invest in anything | Mostly true but not absolute. An IRA opened at a brokerage offers a far wider menu than a typical 401(k), but the IRS still bars a small set of assets, including most collectibles and life insurance contracts, from any IRA. |
| 401(k) and IRA contribution limits are the same number | False. They are set under different sections of the tax code, adjusted on different schedules, and are not equal to each other in a given year; check each account's own current limit rather than assuming they match. |
| You can take a loan from an IRA the same way you can from a 401(k) | False. Only some 401(k) plans permit participant loans, and only at the plan's own discretion. An IRA has no loan feature under any circumstance; its closest analog, the 60-day rollover, is not a loan and carries real tax risk if not completed on time. |
Common Mistakes
Leaving employer match money uncaptured. Deferring less than the amount needed to receive the full match, often because a saver defaults to an arbitrary percentage or prioritizes an IRA first, forfeits compensation that has no equivalent source. Checking the plan's specific match formula before setting a deferral rate avoids this.
Assuming a 401(k)'s menu is automatically low-cost. A plan sponsor's fiduciary duty is to monitor the menu it offers, not to guarantee it is the cheapest possible option; some plans still carry meaningfully higher-cost funds than a comparable index fund available in a self-directed IRA. Checking each fund's actual expense ratio, rather than assuming employer selection implies low cost, matters for money beyond the match.
Treating a 401(k) loan as a routine option. Not every plan permits participant loans, and even where allowed, an unpaid balance at job separation is often treated as a taxable distribution on a compressed timeline. Confirming the specific plan's loan terms, rather than assuming they mirror a previous employer's plan, avoids an unpleasant surprise.
Forgetting that the 401(k) and IRA limits are independent but not unlimited. Because the two ceilings are set separately, it is possible to max out an IRA while still having 401(k) capacity remaining, or the reverse; tracking each account's own current-year limit separately, rather than assuming one number governs both, avoids either an excess contribution or leaving available tax-advantaged space unused.
Cashing out a 401(k) at job separation instead of rolling it over. A cash distribution is generally taxable in the year received, can trigger an early-withdrawal penalty if the saver is under the applicable age, and permanently removes the money from tax-advantaged compounding. A direct rollover into a new employer's plan or an IRA avoids the tax event entirely.
Frequently Asked Questions
What is the main difference between a 401(k) and an IRA?
A 401(k) is established and administered by an employer (or by a self-employed person acting as their own employer through a solo 401(k)), funded through payroll deferral, and limited to the investment menu the plan sponsor has selected. An IRA is opened independently by an individual at a bank or brokerage of their choosing, funded by direct contribution rather than payroll deduction, and can generally hold any publicly traded security the custodian offers. The 401(k) can also carry an employer matching or profit-sharing contribution that an IRA has no mechanism to receive.
Can I contribute to both a 401(k) and an IRA in the same year?
Yes. The two accounts have separate contribution limits set under different sections of the tax code, so contributing the maximum to a workplace 401(k) does not reduce how much you can put into an IRA in the same year, and vice versa. The IRA's own annual limit is a combined cap shared across every traditional and Roth IRA you own, not a separate limit per account, and it is set independently of whatever you contribute to an employer plan. Both figures are set and adjusted by the IRS; check the IRS pages cited in the References section below for the current-year amounts.
Does every 401(k) come with an employer match?
No. An employer match is a plan design choice, not a legal requirement of offering a 401(k). Some plans match a percentage of what an employee defers, some make a fixed nonelective contribution regardless of what the employee contributes, and some make no employer contribution at all. Where a match exists, it is usually described in the plan's summary plan description, and the standard advice is to defer at least enough to capture the full match before directing savings elsewhere, since it is otherwise unclaimed compensation.
Can I hold individual stocks inside a 401(k)?
Usually not, though a growing minority of plans offer a self-directed brokerage window that opens up a much wider investment universe within the 401(k). Most 401(k) plans limit participants to a curated menu the plan sponsor selected and has an ongoing fiduciary duty to monitor, typically a set of mutual funds or target-date funds rather than individual securities. An IRA opened at a brokerage carries no such menu restriction; the investment universe is whatever the brokerage itself offers, which for most brokerages includes individual stocks, bonds, ETFs, and mutual funds.
What happens to my 401(k) after I leave my employer?
The balance does not disappear, but it also usually cannot keep receiving new payroll contributions once you are no longer employed there. Former employees typically choose among leaving the balance in the old plan (if the plan and balance size allow it), rolling it into a new employer's 401(k) if that plan accepts incoming rollovers, rolling it into an IRA to gain a broader investment menu, or taking a taxable cash distribution, generally the least favorable option. See Swoopr's 401(k) investing basics guide for the full rollover mechanics, including the difference between a direct and an indirect rollover.
Is a 401(k) always better than an IRA because of the employer match?
Not necessarily, and the comparison depends on what each account actually offers a given person. The employer match, when one exists, is money an IRA cannot replicate, which is why capturing it is usually prioritized. But a 401(k)'s investment menu is chosen by the plan sponsor and can carry higher costs than a self-selected IRA menu, and someone whose employer offers no match at all is comparing a curated, possibly higher-cost fund lineup against the open investment universe of an IRA. Neither account type is structurally superior in every case; the match, the plan's fund costs, and the investor's own priorities all factor in.
Which account offers stronger creditor protection?
401(k) and other ERISA-covered employer plans get broad protection from creditors under federal law's anti-alienation rule, with narrow exceptions such as a qualified domestic relations order in a divorce or a federal tax levy. IRA protection is different: in bankruptcy, federal law shields IRA balances up to a dollar cap that is adjusted for inflation on a set schedule, though amounts rolled into the IRA from an employer plan are not subject to that cap, and outside of bankruptcy an IRA's protection from creditors depends on the laws of the state you live in, which vary considerably. Someone in a profession with above-average lawsuit exposure may weigh this dimension more heavily than someone who is not.
Should I contribute to my 401(k) or my IRA first?
The common sequencing approach, when both are available, is to contribute enough to the 401(k) to capture the full employer match first, since that match is otherwise-unavailable money, then direct further savings to an IRA for its broader investment menu, then return to the 401(k) for additional tax-advantaged capacity if there is more to save. That said, this is only one approach; it assumes a match exists, that IRA eligibility rules are met, and that the saver has already accounted for near-term needs outside of retirement accounts. See Swoopr's 401(k) investing basics guide, which covers this sequencing question in more detail.
References
This guide describes account mechanics based on publicly available IRS, U.S. Department of Labor, and federal statutory sources, verified as of August 2026. No contribution limit, income phase-out, or other figure the IRS adjusts periodically is stated in this guide; check the sources below for the current-year numbers.
- IRS: Retirement Topics, 401(k) and Profit-Sharing Plan Contribution Limits: the two-tier structure of the employee elective-deferral limit and the combined annual-additions limit.
- IRS: Retirement Topics, IRA Contribution Limits: the single combined limit shared across all traditional and Roth IRAs an individual owns.
- IRS: One-Participant 401(k) Plans: eligibility for a solo 401(k), where a self-employed person with no other employees acts as both employer and employee.
- IRS: 401(k) Resource Guide, Plan Participants, General Distribution Rules: 401(k) loans as a discretionary, plan-specific feature.
- IRS: Traditional and Roth IRAs: IRA eligibility based on taxable compensation, independent of employer sponsorship.
- U.S. Department of Labor: FAQs about Retirement Plans and ERISA: ERISA's anti-alienation protection for employer-sponsored plan assets, including 401(k) balances, and its exceptions.
- Cornell Law School Legal Information Institute: 11 U.S.C. § 522: the federal bankruptcy exemption cap for contributory IRA balances and its carve-out for amounts rolled over from an employer-sponsored plan.
This content was reviewed by the Swoopr Editorial Team in August 2026 and reflects publicly available information at that time. Retirement account rules and limits are subject to change; verify current figures with the IRS, the Department of Labor, or a qualified tax professional before making contribution decisions.
Conclusion
A 401(k) and an IRA are not competing versions of the same product; they are built on different structural foundations, one requiring an employer sponsor and payroll deferral, the other opened independently with a far wider investment menu, and each carries features the other cannot replicate, an employer match on one side, an open investment universe on the other. Framing the choice as which account is universally better misses that most people with access to both end up using each for what it does well: capturing employer money the 401(k) alone can provide, then using the IRA's flexibility for savings beyond that. Understanding the mechanics covered here, sponsorship, contribution structure, investment menu, loan availability, and creditor protection, is what makes it possible to sequence the two accounts deliberately instead of defaulting to whichever one happens to be easiest to set up.