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 contribute 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, and withdrawal rules, and this guide connects them.

Last reviewed: July 2026 | Written and reviewed by Craig Wear, CFP®, 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. 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.

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 distribution (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, and the first salary-deferral plans followed shortly after. The account belongs to you, travels with you between jobs, and is separate from any pension the employer might offer.

Two versions exist inside most modern plans. A traditional 401(k) takes contributions pre-tax; a Roth 401(k) takes them after-tax. The section below on tax treatment explains how those two paths diverge at contribution time and at withdrawal.

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; the employer’s payroll system and plan provider handle the mechanics.

  1. You elect a contribution rate (a percentage of pay) and pick traditional pre-tax, Roth after-tax, or a split.
  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 a 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 for you through auto-enrollment, typically defaulting new hires to a contribution rate in the 3% to 10% range, with auto-escalation that nudges the rate up each year, often toward 15%. You can change or stop the default rate 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).

Both types still have Social Security and Medicare tax withheld on the contribution, because those payroll taxes apply to deferrals regardless of income-tax treatment (Source: IRS Topic no. 424).

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
Best-fit tax logic 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; a Roth conversion is a related strategy for shifting pre-tax balances to Roth treatment.

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).

2026 limit Amount Total with catch-up
Employee deferral (under 50) $24,500 $24,500
Age 50+ catch-up +$8,000 $32,500
Ages 60-63 super catch-up +$11,250 $35,750
Combined employee + employer (415(c)) $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 IRA limit for 2026 is a separate $7,500 (Source: IRS Notice 2025-67). See the 2026 retirement contribution limits for the full table.

The 2026 mandatory Roth catch-up rule

Under SECURE 2.0, catch-up contributions for higher earners must now 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. Plans that offer catch-ups must support this Roth treatment for affected employees.

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. In a traditional 401(k), employers may make matching contributions tied to your deferrals, nonelective contributions for everyone, or both (Source: IRS Topic no. 424).

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 aim to contribute at least enough to receive the full match before directing dollars elsewhere.

A match is not guaranteed and not universal. Formulas, caps, and eligibility periods vary by plan, so the plan’s 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 +20% per year to 100% at 6 years

Safe harbor and SIMPLE 401(k) employer contributions must be 100% vested at all times (Source: IRS Issue Snapshot on vesting schedules). 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. The plan offers an investment menu, and your balance rises or falls with the markets you choose, 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 offer 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, forecasts should be treated as illustrations, not promises, and a 401(k) balance can decline when markets fall.

The fees that quietly reduce your balance

Fees are among the largest lifetime drags on a 401(k), yet many plan pages skip them. Three common layers exist: fund expense ratios charged by each investment, plan administration and recordkeeping fees, and any 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/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 without changing how much they contribute.

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) (Source: IRS Topic no. 558).
  • 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.
  • Age 73: required minimum distributions generally begin for those born 1951-1959; the age rises to 75 for those born 1960 or later under SECURE 2.0 (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 (Source: IRS RMD FAQs). Missing an RMD can carry a penalty of up to 25% of the shortfall. Traditional distributions are taxed as ordinary income; qualified Roth 401(k) distributions are tax-free (Source: IRS Publication 575, 2025). See the 2026 RMD guide, and note that large withdrawals can interact with the Social Security tax torpedo and Medicare IRMAA brackets.

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, by contrast, is 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½. Weighing repayment ability against the tax cost is central to choosing between them.

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. Cashing out is the costliest because it triggers income tax and, if you are under 59½, the 10% penalty, plus the lost future compounding.

  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.

Rollovers matter here. 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). For company stock in a plan, net unrealized appreciation rules can apply.

How a 401(k) differs from an IRA

A 401(k) is an employer-sponsored plan; an IRA is an individual account you open on your own. 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 article is educational and is not advice; for guidance on your own circumstances, consult a qualified tax or financial 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 (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 and IRS newsroom, “401(k) limit increases to $24,500 for 2026” (https://www.irs.gov/newsroom/401k-limit-increases-to-24500-for-2026-ira-limit-increases-to-7500); IRS Topic no. 424, 401(k) plans (https://www.irs.gov/taxtopics/tc424); IRS Publication 575, Pension and Annuity Income (2025) (https://www.irs.gov/publications/p575); IRS Topic no. 558, Additional tax on early distributions (https://www.irs.gov/taxtopics/tc558); IRS Retirement topics – Vesting (https://www.irs.gov/retirement-plans/plan-participant-employee/retirement-topics-vesting); IRS Required Minimum Distributions FAQs (https://www.irs.gov/retirement-plans/retirement-plan-and-ira-required-minimum-distributions-faqs); IRS COLA increases for dollar limitations on benefits and contributions (https://www.irs.gov/retirement-plans/cola-increases-for-dollar-limitations-on-benefits-and-contributions); 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 approaching and in retirement. Learn more about the team at Q3 Advisors.

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; 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