A 401(k) is a retirement savings account your employer offers, where you set aside money from your paycheck before taxes
A 401(k) is a workplace retirement plan. You contribute a portion of your salary to the account, and that money grows tax-deferred until you withdraw it in retirement. Your employer may match part of what you contribute — meaning they add their own money to your account as a benefit. The account is named after a section of the tax code that created it.
The core mechanics are straightforward: money comes out of your paycheck, goes into an investment account you control, and you decide how to invest it among the options your employer's plan offers. You do not pay income tax on the money you contribute or the growth it earns while it sits in the account. You pay taxes only when you withdraw the money, typically after age 59½.
Not every employer offers a 401(k). Small businesses sometimes use a SEP-IRA or SIMPLE IRA instead. Self-employed people can open a Solo 401(k). If your employer does not offer a plan, you can open an IRA (Individual Retirement Account) on your own through a bank or brokerage.
Key Takeaways
- You choose how much to contribute from each paycheck, up to a yearly limit set by the IRS (the limit changes annually and is higher if you are 50 or older).
- Your employer may match a percentage of your contribution, which is assistance programs — not taking it means leaving part of your compensation on the table.
- The money you contribute reduces your taxable income for the year, lowering your tax bill.
- You cannot withdraw the money before age 59½ without penalty, except in specific hardship situations or if you leave your job.
- When you change jobs, you can roll your 401(k) balance into a new employer's plan or into an IRA to keep it growing tax-deferred.
How much you can contribute each year
The IRS sets an annual limit on how much you can put into a 401(k). That limit changes each year — it has been rising gradually as inflation adjusts the threshold. For 2024, the limit is $23,500 if you are under 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.
Your employer may also contribute to your account. A common match is 3 to 6 percent of your salary — meaning if you earn $50,000 and your employer matches 5 percent, they add $2,500 to your account if you contribute at least that much. The employer match does not count against your personal contribution limit.
You set your contribution rate when you enroll, usually as a percentage of your gross pay. You can change it once a year during your employer's open enrollment period, or immediately if you have a major life change (marriage, birth of a child, loss of income).
How investment choices work inside a 401(k)
Once money is in your 401(k), you choose how to invest it. Your employer's plan offers a menu of options — typically mutual funds, index funds, and sometimes company stock. You do not have to pick one; most people spread their money across several investments to balance risk and potential return.
A common approach for people new to investing is a target-date fund. You pick the fund closest to the year you plan to retire, and the fund automatically shifts from aggressive (more stock) to conservative (more bonds) as you approach that date. This removes the need to rebalance on your own.
You can change how your money is invested at any time, usually through your plan's website or phone line. Changes take effect on the next business day. The money already in the account stays invested in whatever you had chosen; only new contributions go into your new selections.
Vesting: when the employer match becomes yours
Money you contribute is always yours immediately. Money your employer contributes may not be — it depends on the plan's vesting schedule. Vesting means the point at which employer contributions become your property.
Common vesting schedules are immediate (you own the match right away), cliff vesting (you own nothing until you have worked there a set number of years, then you own it all at once), or graded vesting (you own a percentage each year). A typical graded schedule might be 20 percent per year over five years.
If you leave your job before you are fully vested, you forfeit the unvested portion of the employer match. That money stays in the plan and is used to reduce future employer contributions. Your own contributions always come with you.
Withdrawals and penalties before retirement
You can withdraw money from your 401(k) before age 59½, but you will owe income tax on the withdrawal plus a 10 percent early withdrawal penalty. That penalty is on top of regular income tax, making early withdrawal expensive.
Some plans allow a hardship withdrawal for specific situations: medical bills, home purchase, education costs, or preventing eviction. Hardship withdrawals still trigger income tax and the 10 percent penalty. A few plans also offer a loan option, where you borrow from your own account and repay it with interest — this avoids the penalty but ties up your retirement savings.
If you leave your job, you have options: roll the balance into your new employer's 401(k) if they accept rollovers, move it to an IRA, or leave it with your former employer's plan (if the balance is above a minimum, usually $5,000). You do not have to withdraw it immediately, and rolling it over avoids taxes and penalties.
Tax treatment: now versus later
A traditional 401(k) reduces your taxable income in the year you contribute. If you earn $60,000 and contribute $6,000, you report only $54,000 as income to the IRS. This lowers your tax bill immediately.
When you withdraw the money in retirement, you pay income tax at whatever rate applies then. If you are in a lower tax bracket in retirement than you are now, you come out ahead. If tax rates rise or you have substantial retirement income, you may pay more tax later than you would have paid upfront.
Some employers also offer a Roth 401(k) option. You contribute after-tax dollars (no immediate tax deduction), but withdrawals in retirement are tax-free. Roth contributions make sense if you expect to be in a higher tax bracket later or want tax-free growth.
What happens to your 401(k) when you change jobs
Your 401(k) is tied to your employer's plan, not to your job. When you leave, you keep the account but can no longer contribute to it. You have four main options: roll it into your new employer's plan, roll it into an IRA, leave it with your former employer, or withdraw it (which triggers taxes and penalties).
A direct rollover is the cleanest move: the money transfers directly from the old plan to the new one or to an IRA, with no tax withholding. You do not touch the money, so there is no tax event. If you take a check and deposit it yourself, the plan withholds 20 percent for taxes, and you have 60 days to deposit the full amount or the withheld portion becomes taxable income.
Leaving money with your former employer is an option if the balance is substantial (usually $5,000 or more). Your account continues to grow tax-deferred, and you can still access it or roll it later. Some people do this to keep investments they like or to delay decisions.
Required withdrawals in retirement
Once you reach age 73 (as of 2023; this age has been rising), the IRS requires you to withdraw a minimum amount from your traditional 401(k) each year. This is called a Required Minimum Distribution (RMD). The amount is calculated based on your age and account balance. If you do not take it, you owe a penalty on the amount you should have withdrawn.
Roth 401(k)s have the same RMD rules during your lifetime, though you can roll a Roth 401(k) into a Roth IRA to avoid RMDs. Traditional IRAs also have RMDs, but Roth IRAs do not.
RMDs are taxable income in the year you withdraw them. Some people use RMDs to fund charitable donations or other expenses. Others roll their 401(k) into an IRA to have more control over the withdrawal strategy.
Frequently Asked Questions
Can I have both a 401(k) and an IRA at the same time?
Yes. You can contribute to both in the same year, but there are income limits on whether you can deduct IRA contributions if you also have a 401(k). The IRS limits total contributions across all retirement accounts, so the money you put in one reduces what you can put in the other.
What happens to my 401(k) if the company goes out of business?
Your 401(k) is held in a separate trust account, not company assets, so it is protected even if the employer files bankruptcy. The plan administrator will notify you of your options, usually allowing you to roll the balance to an IRA or another plan.
Can my employer take money out of my 401(k)?
No. Your contributions and earnings are yours. Your employer can only add matching contributions or make plan changes going forward. They cannot reduce or seize your balance.
Is a 401(k) the same as a pension?
No. A pension is a defined benefit plan where your employer guarantees a monthly payment in retirement based on your salary and years of service. A 401(k) is a defined contribution plan where you and your employer put in money, and your retirement income depends on how much you saved and how well it grew.
What if I do not have access to a 401(k) at work?
You can open an IRA on your own through a bank, brokerage, or credit union. An IRA has lower contribution limits than a 401(k) but offers similar tax advantages. Self-employed people can also open a Solo 401(k) or SEP-IRA.