401(k) Explained: How the Whole Thing Actually Works
A 401(k) is a retirement account attached to a job, shaped by decisions your employer made before you arrived. Here is the full mechanical guide, with 2026 figures and worked numbers.
What you will take away
- The 2026 elective deferral limit is $24,500, with an $8,000 catch-up from age 50 and a larger $11,250 catch-up that replaces it during ages 60 to 63.
- An employer match is a return on money you have already earned, and capturing the full formula usually outranks every other use of a marginal dollar.
- Employer contributions may be subject to cliff or graded vesting, so an unvested balance appears on your statement without yet being yours.
- A per-pay-period match with no annual true-up means front-loading your deferrals can forfeit months of employer money.
- Cashing out a $30,000 balance at 35 in the 22% bracket leaves about $20,400 after tax and penalty, against roughly $172,300 if left invested for 30 years.
- Rolling a plan to an IRA gives you a wider menu but forfeits the age-55 separation-from-service exception to the early withdrawal penalty.
On this page
- What it actually is
- 2026 contribution limits
- The employer match, and why it is the highest-return item available
- Vesting: when the match becomes yours
- Traditional or Roth deferrals inside the plan
- The investment menu and target-date funds
- Plan fees
- Loans and hardship withdrawals
- Early withdrawal and the 10% additional tax
- Leaving your job: four options
- Required minimum distributions
- What the usual advice gets wrong
A 401(k) is a retirement savings account attached to a job. Your employer chooses the provider, the investment menu and the matching formula; you choose how much to defer and where it goes inside that menu.
That structure explains most of what is confusing about it. The plan is not your account in the way a bank account is. It is a trust arrangement governed by federal law, administered by a third party, and shaped by decisions your employer made before you arrived.
Understanding the mechanics is worth real money, because the defaults are set by someone whose priorities are not identical to yours. The figures below are the confirmed 2026 amounts; dollar limits change annually.
What it actually is
A 401(k) is a defined contribution plan. You elect to defer part of your pay into it, the money goes in before it reaches your checking account, and it is invested according to your instructions in whatever menu the plan offers.
The account is held in a trust for your benefit, separate from company assets. If the employer becomes insolvent, plan assets are not available to its creditors. That protection comes from federal law, primarily the Employee Retirement Income Security Act, and it is a genuine structural advantage over saving in an ordinary account.
Three parties matter. The employer sponsors the plan and sets the rules. The recordkeeper runs the day-to-day administration. The trustee or custodian holds the assets. Complaints about "my 401(k)" often turn out to be complaints about one of these three, and knowing which is which shortens the phone call considerably.
2026 contribution limits
| Item | 2026 amount |
|---|---|
| Elective deferral limit (401(k), 403(b), most 457 plans) | $24,500 |
| Catch-up contribution, age 50 and over | $8,000 |
| Total deferral, age 50 and over | $32,500 |
| Catch-up contribution, ages 60 to 63 | $11,250 |
| IRA limit, for comparison | $7,500 |
Two points that catch people out.
The catch-up for ages 60 to 63 is a separate, larger amount that replaces the standard age 50 catch-up during those four years. It does not stack on top of it. At age 64 it reverts.
The elective deferral limit applies to you, not to each plan. Two jobs in one year means one combined limit across both plans, and the employer at the second job has no way of knowing what you deferred at the first. Exceeding it and not correcting it before the filing deadline results in the excess being taxed twice.
Note: Employer contributions do not count against the elective deferral limit. A separate, much higher overall limit covers your deferrals plus employer money plus any after-tax contributions combined.
The employer match, and why it is the highest-return item available
A match is money the employer adds based on what you contribute. Formulas vary, but a common structure is 100% of the first 3% of pay plus 50% of the next 2%.
Worked example: Salary $70,000, formula as above. If you defer 5% you contribute $3,500. The match is 3% of $70,000 = $2,100, plus half of the next 2% ($1,400 x 0.5) = $700. Total match $2,800, so $6,300 lands in the account.
If you defer only 3%, you contribute $2,100 and receive $2,100 -- a total of $4,200. Moving from 3% to 5% costs you $1,400 of take-home pay and produces $700 of employer money, an immediate 50% return on that increment before the market does anything.
| Your deferral | You contribute | Employer match | Total into the account |
|---|---|---|---|
| 2% | $1,400 | $1,400 | $2,800 |
| 3% | $2,100 | $2,100 | $4,200 |
| 4% | $2,800 | $2,450 | $5,250 |
| 5% | $3,500 | $2,800 | $6,300 |
| 6% | $4,200 | $2,800 | $7,000 |
| 10% | $7,000 | $2,800 | $9,800 |
Read down the match column. It stops growing at 5% because the formula is exhausted there. Deferring more than 5% is still worthwhile for the tax treatment and the compounding, but it buys no additional employer money. The 5% row is where the match is fully captured -- the specific number depends entirely on your plan's formula, which is stated in the summary plan description.
Warning: If the match is calculated per pay period and the plan has no annual true-up provision, maxing out your deferral early in the year can cost you match in the remaining months. Someone earning $120,000 who defers 20.4% ($942.31 per pay period across 26 periods) spreads it evenly and captures every match; someone who defers 50% and hits $24,500 by August may forfeit four months of it.
Vesting: when the match becomes yours
Your own deferrals are always 100% yours immediately. Employer contributions may be subject to a vesting schedule -- a period of service before the money is unconditionally yours.
Two common structures exist. Cliff vesting gives you nothing until a specified date, then everything at once. Graded vesting releases a percentage per year of service.
| Years of service | Cumulative employer money | Cliff (3-year) vested | Graded (20% per year, years 2-6) vested |
|---|---|---|---|
| 1 | $2,800 | $0 | $0 |
| 2 | $5,600 | $0 | $1,120 |
| 3 | $8,400 | $8,400 | $3,360 |
| 4 | $11,200 | $11,200 | $6,720 |
| 5 | $14,000 | $14,000 | $11,200 |
| 6 | $16,800 | $16,800 | $16,800 |
The comparison is instructive. Cliff vesting is worse for the first three years and better afterwards. Someone leaving at two years and eleven months under a cliff schedule forfeits $5,600; the same person under a graded schedule keeps $3,360.
An unvested balance shows in your account statement and is not yet yours. Reading a total balance and treating it as portable is a common and expensive misunderstanding, particularly when weighing a job offer. Vested balance is the number that matters when you leave.
Traditional or Roth deferrals inside the plan
Most plans now offer both. The choice is the same tax question that applies to IRAs, with one useful difference: there is no income limit on Roth deferrals inside a workplace plan.
- Traditional deferrals reduce your taxable income now. Withdrawals in retirement are taxed as ordinary income.
- Roth deferrals are made from after-tax pay. Qualified withdrawals, including all growth, are tax-free.
Both share the same $24,500 combined limit. Splitting is generally permitted.
The deciding variable is your marginal rate now against your expected marginal rate at withdrawal, worked through in detail in the Roth versus traditional comparison. Two plan-specific notes: employer matching contributions have historically been made on a pre-tax basis and tracked separately even for employees making Roth deferrals, though plans may now permit Roth matching; and Roth balances inside a plan follow plan rules rather than Roth IRA rules until they are rolled over.
The investment menu and target-date funds
A plan menu typically offers between ten and thirty options. You cannot buy anything outside it unless the plan offers a brokerage window, which many do not.
Most plans default new participants into a target-date fund chosen by their expected retirement year. These hold a diversified mix of stocks and bonds and shift gradually toward bonds as the date approaches. They are a reasonable default for someone who will not otherwise make a choice, and their main cost is that two funds with the same target year can follow noticeably different paths.
Two things are worth checking in any menu. First, the expense ratio of each option, since a plan menu can contain both a 0.04% index fund and a 0.95% actively managed one covering nearly the same market. Second, whether the menu offers broad index coverage at all. How expense ratios and investment fees work covers the arithmetic, and index funds versus ETFs covers the wrappers you are likely to see.
Note: Holding a target-date fund alongside separately chosen funds usually undoes the point of the target-date fund. It is designed as a complete portfolio, not a component.
Plan fees
Two layers of cost exist, and only one is obvious.
Fund-level costs are the expense ratios of the investments you choose, deducted inside the fund.
Plan-level costs cover recordkeeping, administration and sometimes advice. These may be paid by the employer, charged to participants as a flat dollar amount per year, charged as a percentage of assets, or embedded in the funds through revenue sharing.
Federal rules require plans to disclose these in an annual fee document. It is dull and worth reading once, because the difference between a well-run plan at 0.15% all-in and a poor one at 1.10% all-in compounds into a very large number over a career. A flat per-participant fee also lands much harder on a small balance than on a large one.
Loans and hardship withdrawals
Many plans permit loans, typically up to 50% of your vested balance subject to a dollar cap, repaid through payroll deduction with interest paid back to your own account.
The interest going to yourself makes this sound cheap. Three costs are less visible.
- The borrowed amount is out of the market while it is repaid, so any growth during that period is forgone permanently.
- Repayments are made with after-tax dollars into an account that will be taxed again on withdrawal, for traditional balances.
- If you leave the job, the outstanding balance generally becomes due within a limited window. An unpaid balance is treated as a distribution, taxable and potentially subject to the 10% additional tax.
That third point is the one that turns a manageable loan into a tax bill, and it arrives exactly when someone has just lost or changed a job.
Hardship withdrawals are permitted by some plans for specified immediate and heavy financial needs. They are not loans -- the money does not come back. They are taxable, generally subject to the early withdrawal penalty, and permanently reduce the balance. Before either route, the case for a separate emergency fund is worth revisiting.
Early withdrawal and the 10% additional tax
Distributions before age 59 1/2 are generally subject to a 10% additional tax on top of ordinary income tax. Statutory exceptions exist, described in general terms: total and permanent disability, certain medical expenses, distributions to a beneficiary after death, substantially equal periodic payments, qualified domestic relations orders in a divorce, certain birth or adoption expenses, and separation from service in or after the year you turn 55 for that employer's plan.
The last one is worth knowing because it does not apply to IRAs. Rolling a 401(k) into an IRA at 56 can forfeit access to that exception.
Exceptions are specific and conditional. IRS material on retirement plans sets out the current list.
Leaving your job: four options
| Option | Tax consequence | Main advantage | Main drawback |
|---|---|---|---|
| Leave it in the old plan | None | No action needed; institutional pricing; age-55 exception preserved | Accounts scatter; menu may be poor; small balances can be forced out |
| Roll to an IRA | None if done as a direct rollover | Full investment choice; usually lower cost; consolidated | Loses age-55 exception; can trigger the pro-rata rule on future backdoor Roth conversions |
| Roll to the new employer's plan | None if direct | Consolidated; preserves age-55 exception; may permit plan loans | Limited to the new menu; transfer can take weeks |
| Cash out | Fully taxable, plus 10% penalty if under 59 1/2 | Immediate cash | Usually the most expensive option by a wide margin |
Worked example: A $30,000 balance cashed out at age 35 in the 22% bracket. The plan withholds 20% ($6,000) automatically. Federal income tax is $6,600 and the additional tax is $3,000, so $9,600 goes to the IRS before any state tax, leaving about $20,400. Left invested at an assumed 6% for 30 years, the same $30,000 would be worth about $172,300. The cash-out is not a $9,600 decision; it is a $150,000 one.
Direct rollovers -- in which the funds travel directly from one institution to another -- avoid the mandatory 20% withholding that applies when a check is issued to you. Indirect rollovers require you to deposit the full pre-withholding amount within 60 days, replacing the withheld portion out of pocket, which is a trap rather than a feature.
Required minimum distributions
Traditional 401(k) balances are eventually subject to required minimum distributions: from the applicable age you must withdraw a calculated amount each year and pay income tax on it. Failing to take one carries a penalty.
Two nuances. Someone still working past the applicable age, and who does not own a substantial share of the business, may be able to delay distributions from that employer's plan while still being required to take them from IRAs and old plans. And Roth 401(k) balances rolled into a Roth IRA escape lifetime required distributions entirely, which is a common reason for that particular rollover.
What the usual advice gets wrong
"Contribute up to the match, then stop." The match is the highest-certainty return available, but a plan with a decent menu and low fees is a perfectly good place for money beyond it. The sequencing that arithmetic tends to support is: capture the full match, clear high-rate debt, fund an IRA where costs are usually lower, then return to the plan. Paying off card balances explains why the middle step outranks the ones around it.
Treating the default deferral rate as a recommendation. Automatic enrolment commonly starts at 3%, a number chosen for participation statistics rather than adequacy. It is a starting point.
Ignoring the vesting schedule when changing jobs. Leaving three weeks before a cliff date can forfeit thousands of dollars. The date is knowable in advance and is negotiable in a start-date conversation.
Cashing out small balances. A $6,000 balance feels too small to bother with. At an assumed 7% over 30 years it is roughly $45,700, and cashing it out costs tax plus penalty plus all of that.
Assuming the plan is bad without checking. Large employer plans frequently offer institutional share classes cheaper than anything available retail. Read the fee disclosure before deciding to roll out.
Forgetting the account exists. Old plans from previous jobs are routinely lost, particularly after mergers and recordkeeper changes. Keeping a simple list of every plan, provider and approximate balance takes minutes and prevents a genuinely common problem. Financial goals by age is a reasonable place to keep that kind of running inventory, and what compound interest does over decades explains why an abandoned balance is worth chasing.
Frequently asked questions
How much can I contribute to a 401(k) in 2026?
Do employer contributions count toward my contribution limit?
What is vesting and when does the match become mine?
Should I choose traditional or Roth deferrals in my plan?
Is taking a 401(k) loan a good idea?
What happens to my 401(k) when I leave a job?
Why is cashing out usually the worst option?
What fees does a 401(k) charge?
Are there exceptions to the 10% early withdrawal penalty?
Sources and further reading
We link to primary sources — federal agencies and official publications — so you can check anything here yourself. External links open in a new tab and we earn nothing from them.
- IRS -- retirement plans overview
- IRS -- 401(k) limit increases to $24,500 for 2026, IRA limit increases to $7,500
- U.S. Department of Labor -- retirement plans and ERISA
- Investor.gov -- U.S. Securities and Exchange Commission investor education
- Consumer Financial Protection Bureau -- Ask CFPB
- MyMoney.gov -- federal financial education resources
Continue reading
All investing guides →- Investing
Roth vs Traditional IRA: How to Actually Decide
One question in an elaborate costume: skip the tax now or skip it later. Here is the arithmetic, the 2026 thresholds, and the edge cases that decide it in practice.
- Investing
Expense Ratios and Investment Fees: The Real Cost Over 30 Years
Investment fees never arrive as a bill, which is why they go unexamined for decades. Here is every layer of cost, how each one is charged, and what the arithmetic looks like over a working lifetime.
- Investing
What Is Compound Interest, and Why Time Does the Heavy Lifting
Compound interest is arithmetic, not magic. This guide works through the formula variable by variable, shows the numbers year by year, and explains why real portfolios never trace a smooth curve.