How a 401(k) Plan Works and Why Your Employer Offers It
A 401(k) is a retirement savings account your employer sponsors
A 401(k) is a retirement savings plan that your employer sets up and manages. You contribute money from your paycheck before taxes are taken out, the money grows over time in investments you choose, and you can withdraw it after you turn 59½. Your employer may match part of what you contribute — meaning they add their own money to your account as a bonus for saving.
The name comes from the section of the tax code that created it. It is not a government program you sign up for separately. Instead, your employer decides whether to offer one, which investments go inside it, and what matching they will provide. If your workplace has a 401(k), you enroll through your HR or payroll department.
The main reason employers offer 401(k)s is that they get a tax break for doing so, and it helps them attract and keep workers. For you, the main reason to use one is that contributions lower your taxable income in the year you make them, and the money inside grows without being taxed until you withdraw it.
Key Takeaways
- You contribute money from your paycheck, your employer may match part of it, and you choose how the money is invested from a list your plan provides.
- Money you put in reduces your taxable income for that year, and you do not pay taxes on the growth until you withdraw the money in retirement.
- You cannot withdraw the money before age 59½ without a penalty, except in rare cases like a hardship or job loss.
- Your employer controls which investments are available, how much they will match, and when you own the money they contribute (called vesting).
- If you leave your job, you can roll the money into an IRA or your new employer's plan to keep it growing tax-deferred.
How money moves in and out of your 401(k)
You decide what percentage of your paycheck goes into the 401(k), and your employer deducts that amount before calculating your income tax. For 2024, you can contribute up to $23,500 per year if you are under 50, or $31,000 if you are 50 or older. Your employer then decides whether to match — the most common match is 50 cents for every dollar you contribute, up to 6% of your salary, but this varies widely.
The money sits in an account with your name on it. You choose how to invest it from a menu your plan offers — usually mutual funds, index funds, and sometimes company stock. The investments grow (or shrink) based on market performance. You own 100% of the money you contribute when ready. Money your employer contributes may have vesting rules, meaning you do not fully own it until you have worked there for a certain number of years — often three to five.
When you turn 59½, you can withdraw money without penalty. If you withdraw before that age, you typically owe a 10% penalty plus income tax on the amount withdrawn. A few exceptions exist: if you lose your job at 55 or older, you can withdraw without the penalty; if you have a financial hardship your plan recognizes, you may withdraw a limited amount; and if you become disabled, the penalty does not explore.
Tax treatment: why the timing matters
A traditional 401(k) works like this: the money you contribute is not taxed in the year you earn it, so your take-home pay is lower than it would be without the 401(k), but your taxable income is also lower. If you earn $60,000 and contribute $6,000 to a 401(k), you only report $54,000 as income to the IRS. This means you pay less income tax that year.
The money inside the account grows without being taxed each year. If your $6,000 grows to $12,000 over five years, you do not owe tax on that $6,000 gain while it sits in the account. You only pay income tax when you withdraw the money, and you pay tax on the full amount you withdraw — both your original contributions and all the growth.
Some employers also offer a Roth 401(k) option. With a Roth, you contribute money that has already been taxed, so it does not lower your taxable income that year. But the growth inside the account is tax-free, and you can withdraw it tax-free in retirement. Roth makes sense if you expect to be in a higher tax bracket later, or if you want to avoid large tax bills in retirement.
What happens when you leave your job
Your 401(k) stays yours even after you quit or are laid off. You have several choices for what to do with it. You can leave it with your former employer's plan if the balance is above a certain amount (usually $5,000). You can roll it into an IRA (Individual Retirement Account) at a bank or brokerage, which gives you more investment choices and often lower fees. You can roll it into your new employer's 401(k) if they offer one and accept rollovers. Or you can cash it out, though you will owe income tax and a 10% penalty on the full amount unless you are over 59½.
A rollover is usually the best choice because it keeps the money growing tax-deferred without interruption. If you roll a traditional 401(k) into a traditional IRA, there are no taxes or penalties. If you roll it into a Roth IRA, you will owe income tax on the amount converted, but future growth is tax-free.
If you do not do anything with your 401(k) after leaving a job, it will sit in your former employer's plan. You will still own it and it will still grow, but you may not be able to make new contributions, and you may have limited ability to change your investments. Most people roll it over to avoid these restrictions.
Employer match: information programs with conditions
An employer match is the most valuable part of a 401(k) for most workers. If your employer matches 50 cents on the dollar up to 6% of your salary, and you earn $50,000, contributing $3,000 per year (6%) means your employer adds $1,500. That is an when ready 50% return on your money, which is hard to beat in any investment.
The catch is that you have to contribute enough to get the full match. If your employer matches up to 6% and you only contribute 3%, you only get a 3% match. You are leaving information programs on the table. This is why financial advisors often say: contribute at least enough to get the full employer match before you do anything else with your money.
Vesting rules determine when the match is truly yours. If your plan has a three-year vesting schedule, you own 100% of your own contributions when ready, but you only own one-third of the employer match after one year, two-thirds after two years, and 100% after three years. If you leave before you are fully vested, you forfeit the unvested portion. Always ask your HR department about vesting before you leave a job.
Investment choices and fees inside the plan
Your 401(k) plan offers a menu of investments — usually 10 to 30 options. Common choices include target-date funds (which automatically shift from stocks to bonds as you approach retirement), index funds (which track a market index like the S&P 500), actively managed mutual funds (where a manager picks stocks), and sometimes company stock. You can split your contributions among multiple investments or put everything in one.
Each investment charges a fee, called an expense ratio, which is a percentage of the money you have invested. A fund might charge 0.10% per year (very low) or 1.00% per year (high). Over decades, even small differences in fees add up. A 0.50% fee on $100,000 costs $500 per year; a 1.00% fee costs $1,000. Your plan statement should show the fees for each investment option.
Some plans also charge administrative fees — a flat fee per year or a percentage of your balance — to cover the cost of running the plan. These are separate from investment fees. Ask your HR department or plan administrator for a fee breakdown so you understand what you are paying.
Required withdrawals and what happens in retirement
Once you turn 73, the IRS requires you to withdraw a minimum amount from your traditional 401(k) each year, called a required minimum distribution or RMD. The amount is based on your age and account balance. If you do not take the RMD, you owe a 25% penalty on the amount you should have withdrawn (this was reduced from 50% in recent years). Roth 401(k)s have the same RMD rules, though Roth IRAs do not.
When you retire, you can withdraw as much or as little as you want from your 401(k), as long as you take the required minimum. Many people roll their 401(k) into an IRA at retirement to have more control over withdrawals and investments. Others keep the money in the 401(k) and withdraw what they need each year.
If you die before withdrawing all the money, your beneficiary inherits the account. They must withdraw it within a certain timeframe depending on their relationship to you and the type of account. The rules are complex, so name a beneficiary on your 401(k) and review it every few years to make sure it is still who you want.
Frequently Asked Questions
Can I borrow money from my 401(k)?
Many plans allow you to borrow up to 50% of your balance, up to $50,000, and repay it over five years. You pay yourself back with interest, so the interest goes into your own account. However, if you leave your job before you repay the loan, the balance becomes due when ready or it is treated as a withdrawal, triggering taxes and penalties. Borrowing from your 401(k) should be a last resort because it reduces the money available to grow for retirement.
What if my employer does not offer a 401(k)?
You can open an IRA on your own at a bank or brokerage. An IRA has lower contribution limits than a 401(k) ($7,000 per year in 2024 if you are under 50), but you have full control over investments and no employer involvement. Some employers offer a SEP IRA or Solo 401(k) for self-employed workers or small business owners.
Can I contribute to both a 401(k) and an IRA?
Yes. You can contribute to both in the same year, but your total contributions to all IRAs combined cannot exceed the IRA limit. If you have a traditional IRA and a Roth IRA, they share the same $7,000 annual limit. Your 401(k) contributions are separate and do not count toward the IRA limit.
What happens to my 401(k) if the company goes bankrupt?
Your 401(k) is protected. The money is held in a separate trust account in your name, not in the company's general funds. Even if the company fails, your 401(k) belongs to you. The plan may be terminated, but your balance is yours. You would typically roll it into an IRA or another plan.
Should I contribute to a 401(k) if I have credit card debt?
If your employer offers a match, contribute enough to get the full match first — that is information programs. After that, paying off high-interest credit card debt (usually 15% to 25% interest) is often smarter than investing in a 401(k), because the may provide return from eliminating debt is higher than typical investment returns. Once the debt is gone, increase your 401(k) contributions.
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.