Updated 20 October 2026

How Does a 401(k) Work? A Complete Guide to Retirement Savings

Quick answer: What is a 401(k)? A 401(k) is a US workplace retirement plan that lets you invest part of each paycheck before it reaches your bank account. With a traditional 401(k), contributions reduce your taxable income now and you pay tax when you withdraw in retirement; with a Roth 401(k), you pay tax now and qualified withdrawals are tax-free. For 2026 you can contribute up to 24,500 dollars, plus catch-up contributions from age 50. Always contribute at least enough to get your employer's full match, which is effectively free money, choose low-cost diversified funds, and avoid withdrawing early, which usually triggers taxes and a 10% penalty.

For most American workers, the 401(k) is the single most important tool for building retirement savings. It combines tax advantages, automatic saving and, often, free money from your employer. Yet many people never look closely at how their plan works, leave employer matches unclaimed, or cash out when they change jobs.

This guide explains how a 401(k) works, the 2026 contribution limits, traditional versus Roth options, employer matching, investment choices, withdrawal rules and the most common mistakes to avoid. Rules and limits change regularly, so always confirm current figures with the IRS or your plan administrator.

401(k) calculator with employer match

Estimate your 401(k) balance at retirement, including your employer's matching contributions.

Balance at retirement—
In today's dollars—
Your contributions—
Employer contributions—
Investment growth—
Match you get this year—

The default limit is the IRS employee deferral limit for 2025; it usually rises each year, and workers aged 50 and over can make extra catch-up contributions. Check the IRS website for the current figures. Results are pre-tax estimates, not guarantees.

What Is a 401(k)?

A 401(k) is a defined-contribution retirement plan offered by employers in the United States. It's named after section 401(k) of the Internal Revenue Code, added in 1978. The plan became widely used in the 1980s and has largely replaced traditional pensions in the private sector.

With a defined-benefit pension, your employer promises a fixed income in retirement. With a defined-contribution plan like a 401(k), you and your employer contribute money into your own account, you choose how it's invested, and the amount you have at retirement depends on contributions and investment returns. You carry the investment risk, but you also own the account and can take it with you when you leave.

Similar plans exist for other employers: 403(b) plans for schools, hospitals and non-profits, 457(b) plans for state and local government workers, and the Thrift Savings Plan (TSP) for federal employees and the military.

How a 401(k) Works, Step by Step

  1. You enrol through your employer, either by signing up or through automatic enrolment.
  2. You choose a contribution rate, usually a percentage of each paycheck, such as 6% or 10%.
  3. Money is deducted automatically from your pay and deposited into your 401(k) account.
  4. Your employer may add a match or other contribution.
  5. You choose investments from the plan's menu, typically mutual funds, index funds and target-date funds.
  6. Your money grows tax-deferred (or tax-free in a Roth 401(k)), with no tax on dividends or gains while it stays in the account.
  7. You withdraw in retirement, generally after age 59½, paying tax on traditional withdrawals.

2026 Contribution Limits

Type of contribution2026 limit
Employee contributions (traditional and Roth combined)24,500 dollars
Catch-up contribution, age 50 and overAdditional 8,000 dollars
Higher catch-up, ages 60 to 63Additional 11,250 dollars (instead of 8,000)
Total from all sources (employee plus employer), under 5072,000 dollars

Limits are adjusted for inflation most years. From 2026, under the SECURE 2.0 Act, workers who earned more than about 150,000 dollars in FICA wages from that employer the previous year must make any catch-up contributions as Roth contributions.

Traditional vs Roth 401(k)

Many plans offer both options, and you can often split contributions between them.

Traditional 401(k)Roth 401(k)
Tax on contributionsMade before income tax, lowering taxable income nowMade after tax; no deduction now
Tax on growthTax-deferredTax-free
Tax on qualified withdrawalsTaxed as ordinary incomeTax-free (after age 59½ and five years)
Best ifYou expect a lower tax rate in retirementYou expect a similar or higher tax rate in retirement
Required minimum distributionsYes, from age 73No longer required from Roth 401(k)s since 2024

Younger workers in lower tax brackets often benefit from Roth contributions, since their tax rate now may be lower than later in their careers. Higher earners at peak income may prefer traditional contributions for the immediate tax saving. Splitting between the two gives "tax diversification", flexibility to manage taxes in retirement.

Employer Matching: Don't Leave Free Money Behind

Many employers match part of your contributions. Common formulas include:

  • 100% match up to 3% to 6% of salary: if you contribute 5% of a 60,000 dollar salary (3,000 dollars), your employer adds another 3,000 dollars.
  • 50% match up to 6% of salary: contribute 6% (3,600 dollars) and your employer adds 1,800 dollars.

A match is an instant 50% to 100% return on the money you contribute, before any investment growth. Not contributing enough to get the full match is one of the most costly retirement mistakes. Since 2024, employers can also choose to make matching contributions based on employees' student loan payments, helping workers who are paying off loans to still build retirement savings.

Vesting

Your own contributions are always 100% yours. Employer contributions may be subject to a vesting schedule, meaning you earn ownership over time:

  • Cliff vesting: you own nothing until a set point (no more than three years for matching contributions), then 100%.
  • Graded vesting: you gain ownership gradually, for example 20% per year, reaching 100% within six years.

If you're thinking of changing jobs, check your vesting status. Staying a few extra months could mean keeping thousands of dollars of employer contributions.

Choosing Investments in Your 401(k)

Most plans offer a menu of 10 to 30 funds. Common options include:

  • Target-date funds: an all-in-one fund named after your expected retirement year, such as a "2055 fund". It holds a mix of stocks and bonds that automatically becomes more conservative as the date approaches. A simple, sensible default for many people.
  • Index funds: track a market index such as the S&P 500 or a total US stock market index, usually with very low fees.
  • Actively managed funds: managers try to beat the market, typically with higher fees, and many fail to outperform over the long run.
  • Bond funds: lower risk and return, useful for stability as you near retirement.
  • International funds: exposure to companies outside the US for diversification.
  • Stable value or money market funds: very low risk, but returns may barely beat inflation.

Asset Allocation by Age

A common rule of thumb is to hold more stocks when you're young, because you have decades to recover from market falls, and gradually shift toward bonds as retirement approaches. For example:

AgeIllustrative stock / bond mix
20s and 30s85–90% stocks / 10–15% bonds
40s75–80% / 20–25%
50s60–70% / 30–40%
60s45–60% / 40–55%

Your ideal mix depends on your risk tolerance, other savings and retirement plans. Target-date funds handle this shift automatically.

Watch the Fees

Fees matter enormously over decades. A fund charging 1% a year instead of 0.1% can reduce your final balance by tens of thousands of dollars over a career. Check each fund's expense ratio in your plan's fee disclosure, and favour low-cost index or target-date funds where available.

The Power of Compounding: An Example

Suppose you earn 60,000 dollars, contribute 10% (6,000 dollars) a year, and your employer adds a 4% match (2,400 dollars). That's 8,400 dollars a year. Assuming a 7% average annual return:

  • After 10 years: about 116,000 dollars.
  • After 20 years: about 344,000 dollars.
  • After 30 years: about 793,000 dollars.
  • After 40 years: about 1.68 million dollars.

And that assumes your salary never rises. In practice, contributions usually grow with your income. Over 40 years, you'd contribute 336,000 dollars in total, and investment growth would provide the rest. Starting early is the most powerful thing you can do. (Returns are illustrative and not guaranteed.)

Withdrawal Rules

Normal Withdrawals

You can generally withdraw without penalty from age 59½. Traditional 401(k) withdrawals are taxed as ordinary income. Qualified Roth withdrawals are tax-free if you're 59½ or older and the account has been open at least five years.

Early Withdrawals

Withdrawals before 59½ are usually subject to income tax plus a 10% early withdrawal penalty. Exceptions include:

  • The Rule of 55: if you leave your job in or after the year you turn 55, you can withdraw from that employer's 401(k) without the penalty (age 50 for some public safety workers).
  • Total and permanent disability.
  • Certain medical expenses exceeding a share of your income.
  • Substantially equal periodic payments under IRS rules.
  • Qualified birth or adoption expenses, up to 5,000 dollars per child.
  • Limited emergency personal expense withdrawals of up to 1,000 dollars a year, introduced by SECURE 2.0.
  • Withdrawals for victims of domestic abuse and those affected by federally declared disasters, within limits.

Hardship Withdrawals

Some plans allow hardship withdrawals for an "immediate and heavy financial need", such as preventing eviction or paying certain medical or funeral costs. These are usually still taxed and may still incur the 10% penalty.

401(k) Loans

Many plans let you borrow from your account, typically up to the lesser of 50% of your vested balance or 50,000 dollars, repaid with interest through payroll deductions, usually within five years. Loans avoid taxes and penalties if repaid on time, and the interest goes back into your account. But the borrowed money misses out on market growth, and if you leave your job, the outstanding balance may need to be repaid quickly or be treated as a taxable distribution. Use loans only as a last resort.

Required Minimum Distributions (RMDs)

From age 73 (rising to 75 for people born in 1960 or later), you must withdraw a minimum amount each year from traditional 401(k)s, calculated from your balance and life expectancy. Missing an RMD triggers a penalty, now 25% of the amount not withdrawn (reduced to 10% if corrected promptly). If you're still working and don't own 5% or more of the company, you may be able to delay RMDs from your current employer's plan until you retire.

What to Do With Your 401(k) When You Change Jobs

You have four main options:

  1. Leave it in your old employer's plan, if allowed. Fine if the plan has good, low-cost funds.
  2. Roll it into your new employer's 401(k), keeping everything in one place.
  3. Roll it into an IRA, which often gives you a wider choice of investments.
  4. Cash it out. Usually the worst choice: you'll owe income tax, likely the 10% penalty, and lose years of potential growth.

When rolling over, ask for a direct rollover, where funds move straight from one account to the other. If a check is made out to you, 20% is typically withheld for tax and you have only 60 days to deposit the full amount into the new account to avoid taxes. Small balances under 7,000 dollars may be automatically moved to an IRA or cashed out by your old employer, so keep track of old accounts.

401(k) vs IRA

401(k)IRA
Offered byEmployerOpened by you at a bank or brokerage
2026 contribution limit24,500 dollars (+ catch-up)7,500 dollars (+ catch-up from 50)
Employer matchOftenNo
Investment choiceLimited to plan menuVery wide
LoansOften allowedNot allowed

A common strategy is: contribute to your 401(k) up to the full match, then fund an IRA (Roth or traditional), then go back to the 401(k) if you can save more.

How Does a 401(k) Work? A Complete Guide to Retirement Savings - image 2

Other SECURE 2.0 Changes Worth Knowing

  • Automatic enrolment: most new 401(k) and 403(b) plans established after 29 December 2022 must automatically enrol eligible employees at 3% to 10% of pay, increasing by 1% a year, starting with plan years from 2025. You can opt out or change the rate.
  • Part-time workers: long-term part-time employees who work at least 500 hours a year for two consecutive years must be allowed to contribute.
  • Roth employer contributions: employers may allow matching contributions to be made as Roth.
  • Saver's Match: from 2027, the Saver's Credit is scheduled to become a government matching contribution of up to 1,000 dollars deposited directly into eligible lower-income workers' retirement accounts.
  • 529-to-Roth rollovers: up to 35,000 dollars over a lifetime can be rolled from a long-held 529 education plan into a Roth IRA for the beneficiary, subject to conditions.

401(k) Strategies at Different Life Stages

In Your 20s

Enrol immediately, get the full match and consider Roth contributions while your tax rate is likely low. Even 5% to 10% of a starting salary grows enormously over 40 years. Choose a stock-heavy target-date fund and don't worry about short-term market moves.

In Your 30s and 40s

Your income is usually rising, but so are expenses such as housing and children. Keep increasing your contribution rate with each raise, avoid 401(k) loans for lifestyle spending, and make sure you also have an emergency fund so you never need to raid retirement savings. Review whether traditional contributions now make more sense as your tax bracket rises.

In Your 50s

Take advantage of catch-up contributions. Review your asset allocation, estimate your retirement income needs, and check how your 401(k) fits with Social Security and any other savings. This is also a good time to consult a fee-only financial planner.

In Your 60s

Use the higher catch-up limit available at ages 60 to 63 if you can. Plan your withdrawal strategy: which accounts to draw from first, when to claim Social Security, and how to manage taxes. Consider keeping a few years of planned withdrawals in safer investments to avoid selling stocks during a market downturn early in retirement.

How Much Income Can a 401(k) Provide?

A common planning guideline is the 4% rule, based on research by financial planner William Bengen. It suggests that withdrawing about 4% of your portfolio in the first year of retirement, then adjusting for inflation each year, has historically allowed savings to last around 30 years in most market conditions. With a 1 million dollar 401(k), that's roughly 40,000 dollars a year before tax, in addition to Social Security.

The rule is a starting point, not a guarantee. Market conditions, your retirement length, fees and spending flexibility all matter. Many retirees adjust withdrawals, spending less after poor market years.

Protecting Your 401(k) From Scams

Retirement accounts are attractive targets for fraud. Be cautious of unsolicited calls or emails urging you to roll your 401(k) into an unfamiliar investment, promises of guaranteed high returns, pressure to act quickly, or requests for your account login. Log in only through your plan's official website or app, enable multi-factor authentication, and register your online account even if you don't plan to use it often, so fraudsters can't register it first.

Common 401(k) Mistakes

  • Not contributing enough to get the full match.
  • Starting late. Every year of delay costs compounding growth.
  • Cashing out when changing jobs.
  • Being too conservative when young, leaving money in cash or stable value funds for decades.
  • Taking unnecessary 401(k) loans.
  • Ignoring fees.
  • Over-investing in company stock. Holding a large share of your retirement in your employer's shares ties both your job and savings to one company.
  • Never increasing contributions. Raise your rate by 1% each year or whenever you get a raise.
  • Forgetting to update beneficiaries after marriage, divorce or the birth of a child.
  • Panic selling during market falls.

How Much Should You Save?

Many retirement experts suggest saving 15% of your pre-tax income for retirement, including any employer match, if you start in your twenties. Fidelity, for example, offers rough savings milestones: about one times your salary saved by age 30, three times by 40, six times by 50, eight times by 60, and ten times by 67. If you start later, you'll need to save more. Online retirement calculators can help you set a personal target.

A Simple 401(k) Action Plan

  1. Enrol as soon as you're eligible.
  2. Contribute at least enough to get the full employer match.
  3. Choose a low-cost target-date fund or a diversified mix of index funds.
  4. Set up automatic annual increases of 1% until you reach 15% or more.
  5. Name your beneficiaries and keep them up to date.
  6. Check your account once or twice a year, not daily.
  7. Roll over, don't cash out, when you change jobs.

Frequently Asked Questions: What Is a 401(k)

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

Both are US workplace retirement plans with the same yearly contribution limits. A 401(k) is offered by private companies; a 403(b) is for employees of public schools, hospitals, churches and other non-profits, and often has fewer investment options.

What is a safe harbor 401(k)?

A safe harbor 401(k) is a plan in which the employer makes a required contribution (a set match or a fixed contribution for all eligible staff) that vests immediately. In return the plan skips the annual tests that check it does not favour highly paid employees.

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

Both are US employer retirement plans. A 401(k) is offered mainly by private companies and lets you choose how much of your pay to contribute. A 401(a) is common in government, education and non-profit jobs, and the employer usually sets the contributions.

Is a 401(k) or a Roth IRA better?

Most people should first contribute enough to a 401(k) to get the full employer match, because that is free money. After that, a Roth IRA is often attractive for its tax-free withdrawals and wider investment choice, then you can go back to the 401(k) for higher limits.

Is a 401(k) worth it if my employer doesn't match?

Usually yes, because of the tax benefits and automatic saving. But you might first consider an IRA if your plan has high fees or poor fund choices, then use the 401(k) for additional savings.

Can I lose money in a 401(k)?

Yes. Investments can fall in value, especially in the short term. Over long periods, diversified stock investments have historically recovered from downturns, but there are no guarantees.

What happens to my 401(k) if I die?

It passes to the beneficiaries you named. In most cases, your spouse must be the beneficiary unless they sign a written waiver. Beneficiary designations override your will, so keep them current.

Can I have a 401(k) and an IRA at the same time?

Yes. You can contribute to both, although the tax deduction for traditional IRA contributions may be limited if you're covered by a workplace plan and earn above certain income levels.

Can non-US citizens contribute to a 401(k)?

Yes. Anyone working for a US employer that offers a plan, including H-1B visa holders, can usually participate. If you plan to leave the US, research how withdrawals will be taxed in the US and in your home country, as tax treaties (such as the US–India treaty) affect the outcome.

What is a solo 401(k)?

A solo or individual 401(k) is for self-employed people with no employees other than a spouse. You can contribute both as the "employee" and as the "employer", allowing high contribution limits.

How often should I check my 401(k)?

Once or twice a year is enough for most people: check your contribution rate, investment mix, fees and beneficiaries. Checking daily can tempt you into emotional decisions during market swings.

Final Thoughts

A 401(k) is one of the most effective ways to build long-term wealth in the US: automatic, tax-advantaged and often boosted by employer money. The keys are simple: start early, get the full match, choose low-cost diversified investments, increase contributions over time, and leave the money alone until retirement. Do those things consistently, and time and compounding will do much of the work for you.

This article is for general information only and is not financial, tax or legal advice. Check current IRS limits and your plan's rules.

If you found this guide useful, share it with someone starting their first job.

Cite this page: Blog Digest, “What Is a 401(k) and How Does It Work? A Complete Guide”, updated 2026-10-30, https://randomthoughtsever.blogspot.com/2021/10/a-comprehensive-guide-401k.html

Sources and further reading