How Does a 401(k) Work? (2026 Guide)

How Does a 401(k) Work? (2026 Guide)

How does a 401k work? A 401(k) is an employer-sponsored retirement account that lets you defer a slice of each paycheck through automatic payroll deduction, invest it, and let it grow with a tax advantage until you take it out in retirement. The moving parts are contributions, tax treatment, an optional employer match, investing, fees, and withdrawal rules, and this guide connects them end to end.

Last reviewed: August 2026 | Written and reviewed by Craig Wear, CFP®, founder of Q3 Advisors

A 401(k) works by deferring part of your salary into an investment account before or after tax, often with an employer match, where the money compounds until you withdraw it in retirement. For 2026, an employee can defer up to $24,500 (Source: IRS Notice 2025-67). Traditional contributions are pre-tax and taxed at withdrawal; Roth contributions are after-tax and grow tax-free.

What is a 401(k)?

A 401(k) is a workplace retirement savings plan named after the section of the Internal Revenue Code that authorizes it. It is a qualified deferred compensation plan: an employee elects to defer part of their pay into an individual account inside the employer’s plan, where it is invested until retirement (Source: IRS Topic no. 424).

Talk With Craig Wear's Team

Craig has helped IRA millionaires save over $1 million each in unnecessary taxes. Find out if a Roth conversion strategy fits your retirement, with no sales pressure and no product pitch.

The design traces to 1978, when Congress added Section 401(k) to the tax code. The account belongs to you and travels with you between jobs. Two versions exist inside most modern plans: a traditional 401(k) takes contributions pre-tax, and a Roth 401(k) takes them after-tax.

How does a 401(k) work, step by step?

A 401(k) works by routing a chosen percentage of your salary into your account automatically each pay period, investing it in options the plan offers, and taxing it under either pre-tax or Roth rules. You decide the contribution rate; payroll and the plan provider handle the rest.

  1. You elect a contribution rate (a percentage of pay) and pick traditional pre-tax, Roth after-tax, or both.
  2. Payroll deducts that amount from each paycheck automatically and sends it to your plan account.
  3. You choose investments from the plan’s menu; the money buys shares of those funds.
  4. If the employer offers a match, its contribution lands in your account on the schedule the plan sets.
  5. The balance compounds over time, tax-deferred in a traditional account or tax-free in a Roth account.
  6. You take distributions in retirement under the plan’s and the IRS’s withdrawal rules.

Many plans now start this process automatically through auto-enrollment, defaulting new hires to a rate in the 3% to 10% range, with auto-escalation that nudges it up each year. You can change or stop the default at any time.

Traditional vs. Roth 401(k): how are they taxed?

The difference is timing. Traditional 401(k) contributions are excluded from your taxable wages now (Form W-2 box 1) and taxed as ordinary income when withdrawn. Roth 401(k) contributions are made from after-tax pay, so qualified withdrawals later come out tax-free (Source: IRS Topic no. 424; IRS Publication 575, 2025).

Feature Traditional 401(k) Roth 401(k)
Contribution taxed now? No (pre-tax) Yes (after-tax)
Growth Tax-deferred Tax-deferred, tax-free if qualified
Qualified withdrawal taxed? Yes, as ordinary income No, if 5-year and age rules met
When it tends to fit Higher bracket now than in retirement Same or higher bracket in retirement

A Roth 401(k) withdrawal is qualified only after a five-tax-year participation period and after you reach 59½, die, or become disabled (Source: IRS Publication 575, 2025). Choosing between the two often turns on whether you expect a higher tax rate today or later. For pre-tax balances you already hold, a Roth conversion is a related strategy, and how much to convert depends on your bracket each year.

2026 contribution limits

For 2026, an employee can defer up to $24,500 into a 401(k), up from $23,500 in 2025. Workers age 50 and older can add an $8,000 catch-up, and a SECURE 2.0 super catch-up lets those ages 60 to 63 add $11,250 instead (Source: IRS Notice 2025-67). A separate 415(c) cap limits everything that goes into the account.

2026 limit Amount Total with catch-up
Employee deferral (under 50) $24,500 $24,500
Age 50+ catch-up plus $8,000 $32,500
Ages 60 to 63 super catch-up plus $11,250 $35,750
Combined employee plus employer (415(c)) n/a $72,000

The $72,000 figure is the overall annual-addition cap on everything that goes into your account in 2026: your deferrals plus employer match plus any other employer contributions (Source: IRS COLA increases for dollar limitations). The 2026 IRA limit is a separate $7,500, or $8,600 age 50 and older.

The 2026 mandatory Roth catch-up rule

Under SECURE 2.0, beginning January 1, 2026, catch-up contributions for higher earners must be made as Roth. The rule applies to participants whose prior-year FICA wages from that employer exceeded $150,000; their age-based catch-ups have to go into the Roth side of the plan rather than pre-tax (Source: IRS Notice 2025-67).

How does the employer match work?

An employer match is money your employer adds to your account based on what you contribute, effectively extra pay for saving toward retirement. Employers may make matching contributions tied to your deferrals, nonelective contributions paid to everyone regardless of what they save, or a combination of both approaches.

The most common formula is 50% of contributions up to 6% of pay. On a $60,000 salary, contributing 6% ($3,600) earns a 50% match of $1,800. Contributing less than 6% leaves part of that match unclaimed, which is why many savers contribute at least enough to receive the full match before directing dollars elsewhere.

A match is not guaranteed or universal. Formulas, caps, and eligibility periods vary by plan, so the summary plan description is the authority on what your employer offers.

Vesting: when is the match yours?

Vesting decides how much of the employer’s contributions you keep if you leave. Your own deferrals are always 100% vested (Source: IRS Retirement topics: Vesting). Employer contributions can follow a schedule, and federal law caps how long that schedule can run (Source: IRC 411(a)(2)(B)).

Schedule type How it vests
Immediate 100% vested right away
3-year cliff (maximum) 0% until 3 years, then 100%
6-year graded (maximum) 20% after 2 years, then plus 20% per year to 100% at 6 years

Safe harbor and SIMPLE 401(k) employer contributions must be 100% vested at all times. Leaving before the match fully vests can forfeit the unvested portion, which is worth checking before a job change.

How does a 401(k) grow? Investing and compounding

A 401(k) grows in two ways: the contributions you and your employer add, and the investment returns those dollars earn over time. Your balance rises or falls with the markets you choose from the plan menu, compounding because gains stay invested rather than being taxed each year.

Typical menu options include:

  • Target-date funds that shift from stocks to bonds as a retirement year approaches
  • Index funds and other mutual funds covering broad stock and bond markets
  • Some plans add ETFs, individual stocks and bonds, or a money market fund

Tax-deferred compounding is the engine: in a traditional account, no annual tax on dividends or gains means more dollars stay at work each year. Because returns are not guaranteed, the balance can decline when markets fall.

The fees that quietly reduce your balance

Fees are a steady lifetime drag on a 401(k), yet many plan pages skip them. Three common layers exist: fund expense ratios, plan administration and recordkeeping fees, and individual service fees for things like loans. Small percentages compound against you over decades.

  • Expense ratios: an annual percentage of assets charged by each fund; index funds often cost less than actively managed funds.
  • Administrative and recordkeeping fees: plan-level costs, sometimes flat, sometimes a percentage of assets.
  • Individual fees: charges for services such as taking a loan or a distribution.

Your plan’s annual fee disclosure and each fund’s prospectus list these figures. Comparing expense ratios across the menu, and favoring lower-cost options where they fit your goals, is one way savers reduce the drag.

Withdrawal rules: penalties, the rule of 55, and RMDs

Withdrawing before age 59½ generally triggers a 10% additional tax on the taxable amount, on top of ordinary income tax (Source: IRS Topic no. 558; IRC 72(t)). Several exceptions exist, and required minimum distributions eventually force withdrawals whether you need the money or not.

Key age markers:

  • Before 59½: 10% penalty plus income tax, unless an exception applies (disability, substantially equal periodic payments, IRS levy, qualified birth or adoption up to $5,000, and others).
  • Rule of 55: if you separate from your employer in or after the year you turn 55, distributions from that employer’s plan can avoid the 10% penalty (income tax still applies).
  • Age 73: required minimum distributions generally begin for those born 1951 to 1959; the age rises to 75 for those born 1960 or later under SECURE 2.0, whose first RMD year is 2035 (Source: IRS RMD FAQs; IRC 401(a)(9)(C)).

The first RMD can be delayed to April 1 of the year after you reach the applicable age, but the second is then due that same December 31. Missing an RMD can carry a penalty of up to 25% of the shortfall. See the 2026 RMD guide, and note that large taxable withdrawals can push income into the net investment income tax range of 3.8% above $200,000 single or $250,000 married filing jointly.

401(k) loans and hardship withdrawals

Some plans let you borrow from your 401(k) rather than withdraw permanently. A loan is generally limited to 50% of your vested balance or $50,000, whichever is less, and you repay it with interest to your own account. A hardship withdrawal is instead a permanent distribution for an immediate financial need and is not repaid.

A loan avoids taxes and the 10% penalty as long as it is repaid on schedule, but an unpaid balance can become a taxable distribution. A hardship withdrawal is generally taxable and may carry the 10% penalty if you are under 59½.

What happens to your 401(k) when you change jobs?

When you leave an employer, your vested 401(k) balance stays yours, and you generally have four choices for what to do with it. Cashing out is usually the costliest route because it triggers income tax and, if you are under 59½, an added 10% penalty on the taxable amount.

  1. Leave it in the former employer’s plan, if the balance and plan rules allow.
  2. Roll it into your new employer’s plan, consolidating your savings.
  3. Roll it into an IRA, which often widens the investment menu.
  4. Cash it out, accepting taxes, any penalty, and the loss of tax-advantaged growth.

A direct rollover moves funds trustee-to-trustee with no withholding. An indirect rollover pays the money to you first, subjects it to 20% mandatory withholding, and requires you to redeposit the full amount within 60 days or the shortfall becomes a taxable distribution (Source: IRS Publication 575, 2025). A lower-income transition year is also a common moment to weigh a Roth conversion break-even; the 2026 Roth conversion deadline is December 31.

How a 401(k) differs from an IRA

A 401(k) is an employer-sponsored plan; an IRA is an individual account you open yourself. The 401(k) has a much higher 2026 employee limit ($24,500) than the IRA ($7,500), can include an employer match, and may allow loans, while IRAs usually offer a broader investment menu (Source: IRS Notice 2025-67).

Feature 401(k) IRA
2026 contribution limit $24,500 employee $7,500
Employer match Possible No
Loans Often allowed Not allowed
Investment menu Plan-selected Broad

Work with Q3 Advisors

Q3 Advisors is a registered investment adviser focused on retirement tax planning. This page is educational and is not advice; consult a qualified professional.

Contact us

Frequently asked questions

What is a 401(k) and how does it work?

A 401(k) is an employer-sponsored retirement plan named after a section of the tax code. It works by deducting a chosen percentage of your pay automatically, investing it, and taxing it under pre-tax or Roth rules. In 2026, employees can defer up to $24,500, and many receive an employer match (Source: IRS Notice 2025-67).

How much of my paycheck should I put in my 401(k)?

There is no single right rate, but two common reference points are contributing at least enough to capture the full employer match, then increasing toward higher savings goals over time. Auto-escalation features in many plans raise the rate gradually, often toward 15%. The 2026 employee ceiling is $24,500 (Source: IRS Notice 2025-67).

How does a 401(k) make money?

A 401(k) grows from contributions plus investment returns on the funds you choose, such as target-date, index, and other mutual funds. Because gains stay invested and are not taxed annually in a traditional account, they compound. Returns are not guaranteed, and balances can fall when markets decline (Source: IRS Topic no. 424).

What is a good employer match for a 401(k)?

A widely cited formula is 50% of contributions up to 6% of pay, though formulas vary and no match is guaranteed. On $60,000 of pay, contributing 6% ($3,600) at that formula adds $1,800 from the employer. The plan’s summary plan description states the exact terms (Source: IRS Topic no. 424).

At what age can I withdraw from my 401(k) without penalty?

Generally at age 59½, after which the 10% early-distribution tax no longer applies. The rule of 55 can allow penalty-free withdrawals from your current employer’s plan if you separate in or after the year you turn 55, and other exceptions exist. Income tax may still apply (Source: IRS Topic no. 558).

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

Your vested balance stays yours. You can generally leave it in the old plan, roll it to a new employer’s plan, roll it to an IRA, or cash it out. Cashing out before 59½ typically triggers income tax plus a 10% penalty and forfeits future growth (Source: IRS Publication 575, 2025).

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

A traditional 401(k) takes pre-tax contributions and taxes withdrawals as ordinary income. A Roth 401(k) takes after-tax contributions, and qualified withdrawals are tax-free once a five-year period passes and you reach 59½ or another qualifying event. Both share the same 2026 employee limit of $24,500 (Source: IRS Publication 575, 2025).

Can I lose money in a 401(k)?

Yes. A 401(k) is invested in assets such as stock and bond funds, and their values fluctuate, so a balance can decline when markets fall. The account carries market risk rather than a guaranteed return, which is why investment choices and fees matter over long horizons (Source: IRS Topic no. 424).

Sources

IRS Notice 2025-67, “401(k) limit increases to $24,500 for 2026”; IRS Topic no. 424, 401(k) plans; IRS Publication 575, Pension and Annuity Income (2025); IRS Topic no. 558, Additional tax on early distributions; IRS Retirement topics: Vesting; IRS Required Minimum Distributions FAQs; IRS COLA increases for dollar limitations; 26 U.S.C. 72(t) and 411(a)(2)(B), Cornell LII.

About the author

Craig Wear, CFP®, is the founder of Q3 Advisors, a registered investment adviser focused on retirement tax planning. His work centers on the tax mechanics of 401(k)s, IRAs, and Roth strategies for savers near and in retirement.

Disclaimer

This article is provided by Q3 Advisors for educational and informational purposes only. It is not investment, tax, or legal advice and is not a recommendation to buy, sell, or hold any security or to pursue any strategy. Figures reflect published rules for the years cited and can change. Consult a qualified tax or financial professional about your own circumstances. Q3 Advisors is a registered investment adviser; registration does not imply a certain level of skill or training. Additional information is available in our Form ADV.

Craig Wear Craig Wear
Helping IRA Millionaires save $1 million (or more) in unnecessary taxes

Is a Roth Conversion Right for You?

Get a personalized strategy from the firm that’s saved clients $9 billion in projected taxes

  • 2,400+ families guided through conversions
  • $9B in tax avoidance
  • Built for $1M+ IRAs

no obligation. 45-minute consultation