What is a 401(k)? How it works, limits, matching and withdrawals
Reviewed by a licensed financial advisor
A 401(k) is a retirement savings plan offered by an employer. Money comes out of your paycheck automatically, gets a tax break and is often matched by your company. This guide explains how a 401(k) works from your first contribution to your last withdrawal.

In this guide
A 401(k) is an employer-sponsored retirement account. You choose a percentage of your pay to contribute, and it is invested in funds you select from the plan’s menu. Traditional contributions reduce your taxable income now and are taxed when withdrawn. Roth contributions are taxed now and come out tax-free later. For 2027 you can contribute up to $25,500, or more from age 50, and many employers add matching money on top.
What a 401(k) is
The name comes from section 401(k) of the Internal Revenue Code, which took effect in 1980. It allows employees to set aside part of their pay in a retirement account before it is taxed. Over the following decades the 401(k) replaced the traditional pension at most private companies. The key difference is who bears the responsibility. A pension promises a set income, and the employer must fund it. With a 401(k), what you end up with depends on how much you and your employer contribute and how the investments perform.
Similar plans exist for other kinds of employers. Public schools and nonprofits use the 403(b), state and local governments use the 457(b), and federal employees have the Thrift Savings Plan. Self-employed people can open a solo 401(k).
How it works
- You enroll, or are enrolled automatically. Many plans now sign up new employees by default at a starting rate, often 3% to 6% of pay, which you can change.
- Contributions come out of each paycheck before you see the money.
- Your employer may add a match or other contribution.
- You choose investments from the plan’s menu. If you do not choose, the money usually goes into a default fund, typically a target-date fund.
- The account grows without yearly tax on interest, dividends or gains.
- You withdraw in retirement, paying income tax on traditional money and none on qualified Roth money.
Traditional vs Roth
| Traditional 401(k) | Roth 401(k) | |
|---|---|---|
| Contributions | Before income tax | After income tax |
| Effect on this year’s taxes | Lowers taxable income | None |
| Withdrawals in retirement | Taxed as ordinary income | Tax-free if qualified |
| Income limit | None | None |
| Required distributions for the owner | Yes | No |
Both types share one contribution limit, and you can split your contributions between them. The choice comes down to whether you expect your tax rate to be higher now or in retirement. Our comparison of Roth vs traditional contributions and the Roth 401(k) guide go through it.
Contribution limits
| Your age at year end | 2026 | 2027 |
|---|---|---|
| Under 50 | $24,500 | $25,500 |
| 50 to 59, or 64 and older | $32,500 | $34,000 |
| 60 to 63 | $35,750 | $37,250 |
These limits cover your own contributions across all the plans you take part in during the year. Employer contributions do not count against them, though a separate, higher cap applies to the combined total. Our 2027 contribution limits guide has the details.
The employer match
A match is money your employer adds when you contribute. A common formula is 50 cents for every dollar you put in, up to 6% of pay. On a $70,000 salary, contributing 6% is $4,200 a year, and the employer adds $2,100. Another common formula is a dollar-for-dollar match on the first 3% to 4% of pay.
The match is an immediate return on your contribution that no investment can reliably offer. Contributing at least enough to receive all of it is the first priority for most savers. If your plan matches each paycheck, spread your contributions across the year. Reaching the yearly limit early can mean missing matches in later months, unless the plan makes a year-end true-up contribution.
Talk to an advisor about how much to contribute and how to invest it.
Vesting
Your own contributions always belong to you. Employer contributions may be subject to a vesting schedule, which sets how long you must work there before the money is fully yours.
- Immediate vesting: the match is yours right away.
- Cliff vesting: you own none of it until a set date, at most three years, then all of it.
- Graded vesting: you own a growing share each year, reaching 100% within six years at most.
If you leave before you are fully vested, you forfeit the unvested part. Check the schedule before changing jobs, because staying a few more weeks can sometimes be worth thousands of dollars.
Investments and fees
A typical menu offers 10 to 25 funds: stock funds, bond funds, a stable value or money market fund and a series of target-date funds. A target-date fund holds a diversified mix that gradually becomes more conservative as the year in its name approaches, which makes it a simple one-fund choice. If you build your own mix, low-cost index funds are a common core.
Fees matter. Each fund has an expense ratio, and the plan may charge administrative fees. Your yearly fee disclosure lists them. Over a career, a difference of half a percentage point in annual cost can change the final balance by tens of thousands of dollars. The 401(k) calculator projects your balance under different assumptions.
Withdrawals
- After 59 and a half, you can withdraw without penalty. Traditional money is taxed as income.
- Before 59 and a half, withdrawals are generally taxed and hit with a 10% additional tax. Exceptions include leaving your job in or after the year you turn 55. See the rule of 55 and our early withdrawal penalty guide.
- Loans. Many plans let you borrow up to half of your vested balance, to a maximum of $50,000, and repay yourself with interest. See the 401(k) loan guide.
- Hardship withdrawals are allowed by some plans for specific urgent needs. They are taxable and cannot be repaid.
- Required minimum distributions from traditional balances begin at 73 or 75. See the RMD guide.
The 401(k) withdrawal calculator shows how long a balance lasts once you start drawing on it.
When you change jobs
You have four options for an old 401(k): leave it in the former employer’s plan if the plan allows, roll it into your new employer’s plan, roll it into an IRA or cash it out. A direct rollover, where the money moves from one institution to another, is not taxed. Cashing out triggers income tax and usually the 10% additional tax, and it removes the money from tax-deferred growth. Small balances may be moved out automatically by the old plan, so act before that happens. The 401(k) rollover calculator compares the choices.
How much to contribute
A widely used target is to save 10% to 15% of your pay for retirement, including the employer match, starting in your 20s. People who start later need to save more. A practical order is as follows.
- Contribute enough to earn the full match.
- Build an emergency fund.
- Pay down high-interest debt.
- Raise your contribution by one percentage point each year, or with each raise, until you reach your target.
- Consider an IRA for more investment choice. See 401(k) vs IRA.
To check your progress, compare your balance with the figures in our guide to the average 401(k) balance by age, and estimate your target with how much you need to retire.
Plan rules vary by employer, so read your summary plan description. If you want help deciding how much to contribute and how to invest your 401(k), talk to an advisor. Request a free call with the form on this page and a licensed advisor will reach out by phone or video, with no obligation.
Local advisor pages near you
Local rules and costs differ by state and county, so it helps to see how advisors in your area approach this. Browse advisor pages by state, or start with Texas financial advisors, Oregon financial advisors, Louisiana financial advisors and Kentucky financial advisors. City pages include Financial advisors in Salt Lake City, Financial advisors in Raleigh and Financial advisors in Pittsburgh, and county pages include Advisors in Dallas County and Advisors in Travis County. Ready to talk it through? Talk to an advisor: a licensed advisor will reach out by phone or video, free and with no obligation.
Related reading
- 401(k) vs IRA
- 401(k) contribution limits for 2027
- Roth 401(k)
- Average 401(k) balance by age
- 401(k) calculator
- 401(k) financial advisor
Frequently asked questions
What is a 401(k) in simple terms?
It is a retirement savings account offered through your employer, funded by automatic deductions from your pay, with tax advantages and often an employer match.
How does a 401(k) match work?
Your employer adds money based on what you contribute, for example 50 cents per dollar up to 6% of pay.
How much can I contribute to a 401(k) in 2027?
Up to $25,500, plus an $8,500 catch-up at 50 and older, or $11,750 at ages 60 to 63.
When can I withdraw from my 401(k)?
Without penalty after 59 and a half, or after leaving your job in or after the year you turn 55. Earlier withdrawals usually face a 10% additional tax.
What happens to my 401(k) if I quit?
Your contributions and any vested employer money remain yours. You can leave the account, roll it over or cash it out.
Sources and further reading
- IRS: 401(k) plans
- Department of Labor: what you should know about your retirement plan
- Investor.gov: 401(k) plans
See our editorial standards for how we research and review our guides.
Want help with your 401(k)?
Talk to an advisor by phone or video call. Free and with no obligation.
Latest money guides and ideas
- States With Inheritance Tax: Rates and Who Pays in 2026Five states with inheritance tax remain: Kentucky, Maryland, Nebraska, New Jersey and Pennsylvania. See each state’s rates, who is exempt and worked examples.
- Treasury Bills: How to Buy T-Bills and How They Are TaxedTreasury bills are short-term U.S. government debt sold at a discount. Learn how T-bills pay interest, two ways to buy them, and how the interest is taxed.
- Is Long-Term Care Insurance Worth It? Cost and CoverageIs long-term care insurance worth it? See what a policy covers, what drives the premium, when to buy, who should skip it and the 2027 tax limits.
- Mega Backdoor Roth: How It Works and 2027 LimitsA mega backdoor Roth moves after-tax 401(k) contributions into a Roth account. See the 2027 limits, what your plan has to allow, worked examples and the steps.
- Saver’s Match 2027: Who Qualifies and How to Claim ItThe Saver’s Match starts with 2027 contributions: a federal deposit of up to $1,000 a year into your retirement account. See the income limits, what counts and how to claim it.
- How to Avoid Capital Gains Tax on Real Estate: 7 WaysSeven legal ways to reduce or avoid capital gains tax on real estate, from the $250,000 and $500,000 home sale exclusion to 1031 exchanges, with worked examples for a home and a rental.
- Medicare Supplement Plans Comparison Chart for 2027Compare all 10 Medicare supplement plans side by side for 2027: what Plans A through N cover, the new deductibles and out-of-pocket limits, and a worked example of what each would leave you to pay.
- FERS Supplement: Who Gets It, How Much, When It StopsThe FERS supplement pays eligible federal retirees an extra monthly amount until age 62. See who qualifies, how it is calculated and how the earnings test can reduce it.
- 403(b) vs 401(k): Key Differences and 2027 LimitsA 403(b) and a 401(k) share the same 2027 contribution limits, but they differ in who offers them, what you can invest in and one extra catch-up for long-serving employees.











