How Does a 401(k) Work?

A 401(k) is a retirement savings plan offered by an employer. You choose a share of each paycheck to contribute, the money goes into an account in your name, and you pick investments for it from a list the plan offers. Depending on the plan, contributions may be traditional (taxed later) or Roth (taxed now), and your employer may add money too.
Your plan's own documents are the final word on how your 401(k) works, and every plan is a little different. This guide, one stop in our Retirement section, explains the parts most plans share so those documents are easier to read.
The basic flow of money
Here's what happens, step by step:
- You enroll. Some employers sign you up automatically at a set rate; others need you to opt in.
- You choose a contribution rate. Usually a percentage of each paycheck.
- Payroll sends the money. It moves from your check to your 401(k) account each pay period.
- You choose investments. You pick from the plan's menu, or the money goes to a default option.
- The account can grow or shrink. Its value moves with the investments inside it.
- You withdraw in retirement. Taxes depend on whether your contributions were traditional or Roth.
The IRS sets an annual cap on how much you can contribute, and it changes from year to year. Check IRS.gov for the current number rather than relying on a figure you heard a while back.
Traditional or Roth contributions
Many plans offer both. Traditional contributions can lower your taxable income this year, and withdrawals are generally taxed later. Roth contributions come from pay that's already been taxed, and qualified withdrawals can be tax-free. The tradeoffs get their own page in Roth vs traditional.
Reading the investment menu
Most 401(k) plans offer a short list of funds rather than the whole market. A typical menu might include:
- Target date funds, which hold a mix of investments that gradually shifts over time. See our guide to target date funds.
- Stock index funds that track a broad slice of the market.
- Bond funds, which tend to move differently from stocks.
- A stable value or money market option, meant to hold value steadily, though it still carries some risk.
How you split money among these is called asset allocation. It depends on your time horizon and how much ups and downs you can live with, and our guide to asset allocation explains the thinking. We can't tell you what mix is right for you; a fee-only fiduciary adviser can help if you want a personal answer.
If you don't choose, many plans place you in a default investment, often a target date fund. That's not automatically bad, but it's worth knowing what you own.
Fees: the quiet cost
401(k) plans have costs, and you usually pay some of them. Look for:
| Fee type | What it is | Where to find it |
|---|---|---|
| Fund expense ratio | A yearly cost taken from each fund's assets | The plan's fee disclosure or fund fact sheets |
| Administrative fees | Record-keeping and plan operation costs | Your quarterly statement or fee disclosure |
| Individual service fees | Charges for things like loans | The plan's fee disclosure |
Small percentages can add up over decades because they're taken every year from a growing balance. Plans generally must give participants a fee disclosure. If you can't find it, ask HR.
Vesting: when the money is fully yours
Money you contribute from your own paycheck is always yours. Money your employer adds may follow a vesting schedule, which means you earn ownership of it over time. If you leave before you're fully vested, you may forfeit some of the employer's contributions. Our page on the employer match covers vesting in more detail, since that's where it matters most.
Taking money out early
401(k)s are built for retirement, and the rules discourage early withdrawals. Taking money out before a certain age usually means owing income tax and often an extra penalty, though some exceptions exist. Some plans also allow loans or hardship withdrawals, each with its own rules and tradeoffs. Before you touch the money early, read your plan documents, check IRS.gov, and consider talking with a tax professional.
A quick example
Sam, 28, just started a new job and got a benefits packet. Instead of setting it aside, Sam spends 30 minutes on the plan website. They find they were auto-enrolled at a low rate in a default target date fund. Sam reads the fund's fact sheet, finds the expense ratio, checks the match and vesting rules, and decides to raise their contribution a little now and again after their next raise. Sam didn't need to become an expert, just to look.
What to find in your plan documents
Your plan will have a Summary Plan Description, often called the SPD. Look for these items:
- When you're eligible to enroll and whether auto-enrollment applies
- Whether Roth contributions are offered
- The employer contribution formula and vesting schedule
- The list of investments and the default option
- Loan, hardship and withdrawal rules
- How to name a beneficiary
Auto-escalation and other helpful features
Some plans offer automatic increases, sometimes called auto-escalation, which raise your contribution rate by a small step each year unless you opt out. It's a gentle way to save more without having to remember. Others offer online tools that show how a change in your rate would affect your paycheck. If your plan has these features, they're worth a look. If it doesn't, a yearly calendar reminder to review your rate does a similar job.
How the 401(k) fits with other accounts
A 401(k) is often one piece of a larger plan. Some people add an IRA for more choice of investments; our guide to IRA basics explains how. For a quick map of every account type, see types of retirement accounts.
Something to do today
Log in to your 401(k) account, or ask HR how to set up access. Write down three things: your contribution rate, the funds you hold, and the expense ratio of each. Then check that your beneficiary is named and current. Ten minutes, and you'll understand your own plan better than most people do.
All investments carry risk, and past performance doesn't guarantee future results. If you want help deciding how much to contribute or how to invest, a fee-only fiduciary adviser can talk through your full situation.
Want a structured investing course?
Some people like the structure of a paid program. This button opens a third-party investing course, newsletter or program from one of our advertising partners. Its claims are its own, not ours, and we haven't verified any results it describes. Investing involves risk, including loss of money. Never invest money you can't afford to lose, and weigh any offer against our investment red flags checklist.
See the partner program →We may be paid when you click. The program shown can change. Read its terms before you buy anything. How this works
Frequently asked questions
Can I lose money in a 401(k)?
Yes. A 401(k) holds investments such as stock and bond funds, and those can fall in value. Over long periods there is more time to recover from downturns, but there's no promise that will happen.
What happens to my 401(k) if I leave my job?
The money you contributed stays yours. You can often leave it in the old plan, move it to a new employer's plan or an IRA, or cash it out, which can trigger taxes and penalties. Our rollover guide explains each option.
How do I change my 401(k) contribution?
Most plans let you change your contribution rate online through the plan's website or through HR. Changes usually take effect within a pay period or two, so check your next pay stub.



