Skip to main content

CalcDune

How Does a 401(k) Work? Contributions, Matching & Withdrawals

Oct 16, 2026 · CalcDune

A 401(k) is the most common way working Americans build retirement savings — yet most people only vaguely understand how one works. Money vanishes from every paycheck, lands in an account with a confusing name, and (hopefully) grows for decades. What happens in between — tax rules, employer contributions, investment choices — can quietly add or subtract tens of thousands of dollars from your future.

This guide explains exactly how a 401(k) works: how contributions move from your paycheck into the account, the difference between traditional and Roth 401(k)s, the 2026 IRS contribution limits, how employer matching and vesting work, what your money is invested in, and what happens when you change jobs or withdraw. This is about mechanics — how the account functions — rather than savings targets, which we cover in our retirement savings guide.

Key Takeaways

  • A 401(k) is an employer-sponsored retirement account. Contributions are deducted from your paycheck automatically and invested for the long term.
  • In 2026, you can contribute up to $24,500 of your own money. Workers 50+ can add an $8,000 catch-up ($32,500 total); workers aged 60–63 get a “super catch-up” of $11,250 ($35,750 total).
  • A traditional 401(k) uses pre-tax dollars (you pay tax later); a Roth 401(k) uses after-tax dollars (qualified withdrawals are tax-free). Employer matching dollars always land on the pre-tax side.
  • The employer match is effectively a pay raise — commonly 50 cents on the dollar up to 6% of salary. Not earning the full match is leaving free money on the table.
  • Withdraw before age 59½ and you generally owe income tax plus a 10% penalty. Changing jobs: leave it, roll it to a new plan, or roll it to an IRA — never cash out.

What Is a 401(k), Exactly?

A 401(k) is a retirement savings account offered through your employer, named for the tax-code section created by the 1978 Revenue Act. It flipped the old pension model: the employer provides the account and sometimes contributes, but you decide how much to save and how to invest it.

The basic flow: each pay period, you elect to contribute a percentage of your salary — say 6% — and that amount is pulled from your paycheck before it reaches your bank account. The money lands in your 401(k), where it is invested in funds you choose. Because it moves automatically, it bypasses willpower entirely: you cannot spend what you never see.

Two parties put money in: you, and — if your company offers it — your employer. Your contributions have IRS-set annual limits; employer contributions do not count against your personal limit (though the combined total has its own cap). The account grows tax-advantaged: the IRS gives you a tax break either on the way in or on the way out, depending on which flavor you choose.

Traditional vs Roth 401(k): The Tax Choice

Most employers offer a traditional 401(k), and many also offer a Roth 401(k). The mechanics are identical — same account, same investments, same limits — but the tax treatment is opposite.

Traditional 401(k): pay taxes later. Contributions are pre-tax. Earn $80,000, contribute $8,000, and your taxable income drops to $72,000. You owe no tax now, and the investments grow without annual taxes on dividends or gains. You pay ordinary income tax when you withdraw in retirement. Since most people sit in a lower bracket after they stop working, paying later is often cheaper.

Roth 401(k): pay taxes now. Contributions are after-tax — no immediate deduction — but qualified withdrawals in retirement, including all investment growth, are completely tax-free. This favors younger workers in lower brackets now, and anyone who believes tax rates will rise.

Key distinctions from IRAs: the Roth 401(k) has no income limits (high earners shut out of Roth IRAs can still use it), and employer matching contributions always go into the pre-tax side. You can split your contributions between both types, with the $24,500 employee limit applying to the combined total. See our Roth vs traditional comparison for the full breakdown.

How Contributions Work (and the 2026 Limits)

Contributions happen through salary deferral: you choose a percentage, and it is diverted from each paycheck before payday. On your paycheck, it appears as a pre-tax line item reducing your taxable wages.

Many employers use automatic enrollment: new hires start at a default rate, often 3%, unless they opt out. A helpful nudge — but 3% is rarely enough. Check your current deferral rate and raise it, ideally to at least the full employer match threshold.

The IRS resets limits yearly for inflation. For 2026 (IRS Notice 2025-67):

  • Employee elective deferral limit: $24,500 (up from $23,500 in 2025), covering traditional and Roth combined.
  • Catch-up (age 50+): an extra $8,000, for a personal total of $32,500.
  • Super catch-up (ages 60–63 only): $11,250 instead of $8,000 (SECURE 2.0) — a personal total of $35,750. At 64, you revert to the standard $8,000 catch-up.
  • Combined employee + employer limit: $72,000 ($80,000 with the standard catch-up; $83,250 with the super catch-up).

One SECURE 2.0 change takes effect in 2026: if you earned more than $150,000 in the prior year, your catch-up contributions must be Roth (after-tax) — confirm with HR that your plan handles this. To see what these numbers become over a career, plug your contribution rate into our 401(k) calculator.

The Employer Match: Free Money With a Catch

The employer match is the 401(k)’s superpower: companies match a portion of your contributions as an incentive to save. It is free money in the most literal sense — contribute, and your employer adds to your account.

The most common formula is 50% of your contributions up to 6% of your salary. On $75,000: contribute 6% ($4,500) and your employer adds $2,250, for $6,750 total. Contribute only 3% and you get just $1,125 of match. The rule is simple: at minimum, contribute enough to capture the full match. A 50% instant return exists nowhere else in investing.

The catch is vesting: employer contributions are not fully yours until you have worked there long enough. Your own contributions are always 100% yours, immediately. Two common vesting schedules for the match:

  • Cliff vesting: 0% until a tenure milestone — often three years — then 100% all at once.
  • Graded vesting: ownership grows gradually, e.g., 20% per year over six years.

Your plan documents state the schedule — and if a job change is on the horizon, knowing your vesting date can be worth thousands.

What Your Money Is Invested In

A 401(k) is an account, not an investment. It holds whatever you pick from your plan’s menu — usually a few dozen funds. Three categories cover almost everything:

Target-date funds. The default in most plans, and the right choice for most beginners. Pick the fund matching your expected retirement year (e.g., “Target 2060”) and it automatically shifts from aggressive to conservative as you age. One decision, no maintenance.

Index funds. Low-cost funds tracking the whole stock or bond market. Watch the annual fee — the expense ratio — because a 1% fee can siphon off hundreds of thousands of dollars over a career.

Stable value and money market funds. Ultra-safe, ultra-low-return parking spots. Fine for someone months from retirement; a drag on growth for anyone decades away. And beware overloading on company stock if your plan offers it — tying your savings and your salary to the same risk is the wrong kind of diversification.

Withdrawals, the 10% Penalty, and RMDs

The magic age is 59½: withdraw after that and you simply pay ordinary income tax on traditional 401(k) money (Roth withdrawals are tax-free if the account is at least five years old). Withdraw before 59½ and you owe income tax plus a 10% early-withdrawal penalty. The main exceptions:

  • The Rule of 55: leave your job in or after the year you turn 55 and you can tap that employer’s 401(k) penalty-free.
  • Substantially Equal Periodic Payments (72(t)): withdrawals based on your life expectancy, taken for at least five years, penalty-free.
  • Hardship withdrawals: plans may allow penalty-free access for immediate needs like medical bills, under strict rules — the tax is still due.

On the far end, the IRS forces the issue: required minimum distributions (RMDs) begin at age 73 if born 1951–1959, and age 75 if born 1960 or later (SECURE 2.0). Skip an RMD and the penalty is 25% of what you should have taken. One more SECURE 2.0 improvement: Roth 401(k)s no longer require RMDs at all.

401(k) Loans: Borrowing From Yourself

Many plans let you borrow from your own 401(k) — typically up to 50% of your vested balance or $50,000, whichever is less. You pay the interest to yourself, which makes it sound like a free lunch. It is not.

Repayment is usually five years, deducted from your paycheck. The real risk is job loss: leave and the balance is typically due by your tax filing deadline for that year. Miss it and the balance counts as a distribution — taxes plus the 10% penalty if you are under 59½. The subtler cost: borrowed money is not invested while it is out, missing the compounding that is the entire point of the account. A 401(k) loan beats a payday loan, but it should sit near the bottom of your emergency options.

Changing Jobs: Rollovers Done Right

Your contributions and any vested match stay yours when you leave. You have four options:

  • Leave it with your old employer. Fine if the plan has good funds and low fees, but you cannot contribute further.
  • Roll it into your new employer’s 401(k). Keeps everything in one place and preserves ERISA creditor protections.
  • Roll it into an IRA. Usually the best choice: the full universe of funds and often lower fees. Use a direct rollover (check payable to the new custodian) — if the check comes to you instead, the old plan withholds 20% for taxes and you have 60 days to replace it, an unnecessary trap.
  • Cash out. Do not. Taxes, the 10% penalty, and the permanent loss of compounding: a $15,000 cash-out at 30 is not $15,000 gone — at 7% growth, it is roughly $160,000 gone from your 65-year-old self.

Common 401(k) Mistakes to Avoid

  • Contributing below the match. The single most expensive beginner mistake.
  • Parking everything in cash-like options. The stable value fund feels safe in your 30s, but inflation quietly eats it.
  • Ignoring fees. A 1% expense ratio versus 0.1% sounds trivial; over 30 years it can cost six figures.
  • Cashing out on job changes. Taxes, penalties, and the permanent loss of compounding make this the costliest option on the list.

Getting the mechanics right is the foundation of a working personal finance plan: the 401(k) rewards steady, automatic behavior more than brilliance. Set the contribution, capture the match, pick low-cost funds, and let the decades do the heavy lifting.

Frequently Asked Questions About How a 401(k) Works

How much can I contribute to a 401(k) in 2026?

In 2026, you can contribute up to $24,500 of your own money (traditional and Roth combined). If you are 50 or older, an $8,000 catch-up brings the total to $32,500. Workers aged 60–63 get a SECURE 2.0 “super catch-up” of $11,250, for a total of $35,750. Combined employee-plus-employer contributions are capped at $72,000.

What is the difference between a traditional and a Roth 401(k)?

A traditional 401(k) uses pre-tax dollars — a tax deduction now, income tax on withdrawals later. A Roth 401(k) uses after-tax dollars — no deduction now, but qualified withdrawals (including all growth) are tax-free. Unlike a Roth IRA, the Roth 401(k) has no income limits.

How does 401(k) employer matching work?

The employer adds money based on your contributions — commonly 50% of what you put in, up to 6% of your salary. On a $75,000 salary, contributing 6% ($4,500) earns you an extra $2,250 from your employer. The match vests on a schedule, so leaving early can forfeit part of it.

What happens to my 401(k) if I change jobs?

Your contributions and vested match stay yours. Options: leave it with the old employer, roll it into the new employer’s 401(k), roll it into an IRA (use a direct rollover to avoid 20% withholding), or cash out. Cashing out triggers tax plus a 10% penalty under 59½ — almost always the worst choice.

Can I withdraw from my 401(k) before age 59½?

Generally you will owe income tax plus a 10% penalty. Exceptions include the Rule of 55 (leave your job at 55 or later and tap that employer’s plan), Substantially Equal Periodic Payments under rule 72(t), and certain hardship withdrawals.

Should I choose the Roth or traditional 401(k)?

If you expect a lower bracket in retirement than now — typical for most savers — traditional’s deduction usually wins. If you are young, in a low bracket, or expect tax rates to rise, Roth’s tax-free withdrawals win. Splitting between both is a legitimate hedge.

The Bottom Line

A 401(k) is beautifully simple at its core: money leaves your paycheck automatically, gets a tax break now or later, earns free employer matching, and compounds for decades. The mechanics worth mastering are the ones that cost real money when misunderstood — contributing enough to earn the full match, knowing your vesting schedule, keeping fees low, and never cashing out early. In 2026 you can shelter up to $24,500 ($35,750 at ages 60–63), and our 401(k) calculator shows exactly what that turns into. Feed the account and stay out of its way; the decades do the rest.