A 401(k) is money you set aside from your paycheck for retirement
A 401(k) is a retirement savings account that your employer offers. You choose how much to take out of each paycheck — before taxes are calculated — and that money goes into an account in your name. Your employer may add money to your account too, usually a percentage of what you contribute. The money sits in investments you pick, and you do not pay taxes on it until you withdraw it after age 59½.
The account is named after a section of the tax code. It is one of the most common ways American workers save for retirement because the money grows without being taxed each year, and employers often match part of what you put in.
Key Takeaways
- You contribute money from your paycheck before income tax is taken out, which lowers your taxable income for the year.
- Your employer may match a portion of your contribution — commonly 3 to 6 percent of your salary — which is assistance programs added to your account.
- You choose how the money is invested from a list of options your employer's plan provides, usually mutual funds or target-date funds.
- You cannot withdraw the money without penalty until you turn 59½, with limited exceptions for hardship or leaving your job.
- When you retire and start taking money out, that withdrawal is taxed as ordinary income.
How money goes in and how much you can contribute
You decide what percentage of your paycheck to contribute, and your employer deducts that amount before calculating your income tax. This means if you earn $50,000 and contribute $5,000 to your 401(k), you only pay income tax on $45,000. The money goes directly into your account and is invested according to your choices.
The IRS sets a yearly limit on how much you can contribute. For 2024, that limit is $23,500 if you are under age 50. If you are 50 or older, you can contribute an additional $7,500 (called a catch-up contribution), for a total of $31,000. These limits change most years. Your employer may also set a lower limit, and some plans require you to contribute a minimum amount to receive their match.
Your employer's match is separate from your contribution limit. If your employer matches 100 percent of the first 3 percent you contribute, and you earn $50,000, they will add $1,500 to your account even if you only put in $1,500 yourself. Not taking full advantage of an employer match means leaving assistance programs on the table.
What happens to the money while it sits in your account
Once your contribution is in the account, you direct how it is invested. Your plan offers a menu of options — usually mutual funds, index funds, or target-date funds. A target-date fund automatically adjusts its mix of stocks and bonds as you get closer to retirement, so you do not have to rebalance it yourself.
The money grows through investment returns, and you do not owe taxes on those returns each year the way you would if the money were in a regular savings account. This tax deferral is one of the main reasons a 401(k) is powerful for long-term saving. If your investments earn $10,000 in a year, that $10,000 stays in the account and keeps growing, rather than being taxed immediately.
You can usually change your investment choices a few times a year, or whenever your plan allows. If you are not sure what to pick, many plans offer a default option — often a target-date fund — that is automatically chosen if you do not make a selection.
When you can take money out and what the penalties are
You cannot withdraw money from your 401(k) before age 59½ without paying a 10 percent penalty on top of income tax, with a few exceptions. If you leave your job, you can wait until 59½ to withdraw, or you can roll the money into an Individual Retirement Account (IRA) or into your new employer's plan without triggering the penalty.
The main exceptions to the early withdrawal penalty are: you become disabled, you have a serious financial hardship (defined narrowly by the IRS), you are laid off or quit at age 55 or older, or you take substantially equal periodic payments based on your life expectancy. Hardship withdrawals are difficult to obtain and require proof that you have no other way to pay for the expense.
Some plans allow you to borrow against your 401(k) balance — usually up to 50 percent of what you have saved, with a maximum of $50,000. You repay the loan to your own account with interest, and if you leave your job before repaying it, the unpaid balance is treated as a withdrawal and taxed.
What happens when you leave your job
When you quit or are laid off, your 401(k) stays yours — your employer cannot take it. You have several options: leave it in your former employer's plan if the balance is large enough, roll it into an IRA at a bank or brokerage, roll it into your new employer's 401(k) if that plan accepts rollovers, or cash it out and pay taxes and penalties.
Rolling the money into an IRA or new employer plan is usually the best choice because you avoid taxes and penalties and keep the money growing. A direct rollover, where the money moves from one account to another without passing through your hands, is the simplest route. If you cash out instead, you owe income tax on the full amount plus the 10 percent early withdrawal penalty if you are under 59½.
If you do not move the money within 60 days of leaving your job, it is treated as a distribution and you owe taxes on it. Some employers require you to move money out if your balance is below a certain amount, usually $1,000 or $5,000.
Taxes when you retire and start withdrawals
When you turn 59½ and start taking money out, each withdrawal is taxed as ordinary income at your current tax rate. If you withdraw $40,000 in a year and you are in the 22 percent tax bracket, you owe roughly $8,800 in federal income tax on that withdrawal, plus state income tax if your state has one.
You do not have to start withdrawals at 59½ — you can wait as long as you want. However, once you turn 73, the IRS requires you to take a minimum distribution each year, calculated based on your age and account balance. If you do not take the required amount, you owe a 25 percent penalty on the shortfall (reduced to 10 percent if you correct it within two years).
If you have both a regular 401(k) and a Roth 401(k) through your employer, the tax rules differ. Roth contributions are made with after-tax money, so withdrawals in retirement are tax-free. Your employer may offer one or both types.
Employer match and vesting
When your employer adds money to your account as a match, that money is not always yours immediately. Most plans have a vesting schedule — a timeline that determines when the employer's contribution becomes yours to keep. Common schedules are immediate vesting (the match is yours right away), cliff vesting (you get 100 percent after a set number of years, usually three or four), or graded vesting (you get a percentage each year until you are fully vested).
Your own contributions are always 100 percent vested — they belong to you from day one. But if you leave your job before you are fully vested in the employer match, you forfeit the unvested portion. For example, if your employer matches 3 percent and uses three-year cliff vesting, and you leave after two years, you keep your own contributions but lose the employer match they added.
Vesting schedules are outlined in your plan documents, which your employer must provide. If you are unsure of your vesting status, ask your benefits department or check your most recent account statement.
Frequently Asked Questions
Can I have a 401(k) and an IRA at the same time?
Yes. You can contribute to both a 401(k) through your employer and an IRA at a bank or brokerage in the same year. However, if you have a traditional IRA and earn above a certain income, your 401(k) contributions may reduce the tax deduction you can take on IRA contributions. A tax professional can help you understand the limits for your situation.
What is the difference between a 401(k) and a Roth 401(k)?
A traditional 401(k) uses pre-tax money, lowering your taxable income now but requiring you to pay taxes on withdrawals later. A Roth 401(k) uses after-tax money, so you pay taxes now but withdrawals in retirement are tax-free. Some employers offer both, and you can split your contribution between them.
What happens to my 401(k) if I die?
Your 401(k) passes to whoever you named as a beneficiary on your account. If you did not name anyone, it goes through your estate according to your will or state law. Your beneficiary can usually roll the money into an inherited IRA or take distributions over time, depending on the plan rules.
Can my employer take money out of my 401(k) if I owe them money?
Generally no, but there are exceptions. A court order (such as for child support or alimony) can require a distribution. Your employer can also offset a 401(k) balance against a loan they gave you if the plan allows it. Ask your benefits department about your plan's specific rules.
Should I max out my 401(k) or save money elsewhere?
That depends on your income, expenses, and other savings. Most financial advisors suggest contributing enough to get your full employer match first, since that is immediate assistance programs. After that, whether to max out your 401(k) or save in other accounts depends on your tax situation and retirement timeline. A financial advisor can help you decide.