What a 401(k) Is and How Money Moves Through It
A 401(k) is a retirement savings account that your employer sets up. You put money into it from your paycheck before taxes are taken out, your employer may add money to match what you contribute, and that money sits in investments you choose. The account grows over time, and you do not pay taxes on the growth until you withdraw the money after age 59½.
The name comes from the section of the tax code that created it. The basic flow is simple: money leaves your paycheck, goes into the account, gets invested, and grows. You control how much goes in each year (up to a limit set by the IRS), and you control which investments it sits in.
The account belongs to you. If you leave your job, the money stays yours — you can move it to a new employer's plan, roll it into an individual retirement account (IRA), or leave it where it is. Your employer cannot take it back.
Key Takeaways
- Money goes into your 401(k) directly from your paycheck before income tax is withheld, which lowers your taxable income for that year.
- Your employer may match part of what you contribute — for example, 50 cents for every dollar you put in, up to 6% of your salary — and that match is assistance programs.
- You choose how the money is invested from a menu of options your employer's plan offers, usually mutual funds and target-date funds.
- You cannot withdraw the money before age 59½ without paying a 10% penalty plus income tax, with limited exceptions for hardship or loans.
- If you leave your job, the money remains yours and can be rolled into a new employer plan or an IRA without tax consequences.
How Money Enters Your 401(k) and What Your Employer Contributes
You decide what percentage of each paycheck goes into the account. That amount is deducted before your employer calculates income tax, so if you earn $50,000 a year and contribute 6%, you put in $3,000 and your taxable income drops to $47,000. You pay less in federal and state income tax that year.
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, and $31,000 if you are 50 or older (the extra $7,500 is called a catch-up contribution). Your employer can only deduct what you authorize, and you can change your contribution amount whenever you want — usually through your employer's benefits website or HR department.
Many employers offer a match. A common match is 50% of what you contribute, up to 6% of your salary. That means if you earn $50,000 and contribute 6% ($3,000), your employer adds $1,500. If you contribute only 3%, they add $750. The match is not automatic — you have to contribute first for your employer to add theirs. The match money is free, and it goes into your account just like your own contributions.
Some employers offer a profit-sharing contribution instead of or in addition to a match. This is money your employer puts in based on company profits or a set percentage, regardless of whether you contribute. The rules vary by employer.
How Your Money Is Invested and Who Manages It
Your 401(k) plan offers a menu of investment options — usually between 10 and 30 choices. These are typically mutual funds (baskets of stocks or bonds managed by a professional), index funds (which track a market index like the S&P 500), and target-date funds (which automatically shift from stocks to bonds as you approach retirement). You decide how to split your money among these options.
You do not have to pick individual stocks. Most people choose a target-date fund that matches when they plan to retire — for example, a "2050 Target Date Fund" if you think you will retire around 2050. That fund automatically rebalances itself, moving your money from riskier investments to safer ones as the target date approaches.
The investments you choose determine how fast your money grows. A fund heavy in stocks may grow faster but swing up and down more in value. A fund heavy in bonds grows slower but is more stable. You can change your investment choices whenever you want, usually through the same website or app where you manage your account.
Your employer or a third-party company (called a plan administrator) handles the paperwork and keeps the account running. You receive statements showing your balance, how much you and your employer have contributed, and how your investments have performed.
Taxes, Withdrawals, and What Happens to Your Money
You do not pay income tax on the money you contribute or on the growth while it sits in the account. You pay tax only when you withdraw it. This is called a traditional 401(k). Because you defer taxes until withdrawal, the money has more time to grow.
You can withdraw money penalty-free starting at age 59½. If you withdraw before that age, you owe a 10% penalty plus income tax on the amount withdrawn. For example, if you withdraw $10,000 at age 45, you pay $1,000 in penalty plus income tax on the full $10,000 at your current tax rate.
There are a few exceptions to the early withdrawal penalty. You can withdraw without penalty if you are disabled, if you are withdrawing to pay medical expenses that exceed 7.5% of your adjusted gross income, or if you are taking substantially equal periodic payments (a complex calculation). Some plans also allow loans — you borrow from your own account and pay yourself back with interest, so no penalty applies.
Starting at age 73, you must begin taking required minimum distributions (RMDs) — the IRS requires you to withdraw a certain amount each year 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 (or 10% if you correct it within two years).
What Happens When You Change Jobs
Your 401(k) belongs to you, not your employer. When you leave the job, you have four options: leave the money in your former employer's plan, roll it into your new employer's 401(k), roll it into an individual retirement account (IRA), or withdraw it and pay taxes and penalties.
A rollover moves money from one retirement account to another without triggering taxes or penalties. If you roll into an IRA, you have access to a wider range of investments than most 401(k) plans offer, and you may pay lower fees. If you roll into a new employer's plan, you keep everything in one place and may have access to employer matching at the new job.
If you withdraw the money directly instead of rolling it over, your former employer withholds 20% for federal taxes, and you owe income tax plus the 10% early withdrawal penalty if you are under 59½. A $50,000 withdrawal at age 45 could cost you $15,000 or more in taxes and penalties.
You have 60 days to complete a rollover after you receive a distribution. If you miss the deadline, the money is treated as a withdrawal and you owe taxes and penalties. Many people ask their new employer or an IRA provider to handle the rollover directly (called a direct rollover) to avoid this risk.
Roth 401(k)s and How They Differ
Some employers offer a Roth 401(k) as an option alongside or instead of a traditional 401(k). With a Roth, you contribute money that has already been taxed — it does not lower your taxable income that year. But the money grows tax-free, and you withdraw it tax-free after age 59½.
Choose a Roth if you think your tax rate will be higher in retirement than it is now. Choose traditional if you think your tax rate will be lower, or if you want to lower your taxable income this year. Many people split their contributions between both types.
Roth 401(k)s have the same contribution limits, employer match rules, and withdrawal penalties as traditional 401(k)s. The main difference is when you pay the tax — now or in retirement.
Fees and What They Cost You
401(k) plans charge fees. These come in three forms: plan administration fees (paid by the employer or deducted from your account), investment fees (charged by the mutual funds or index funds you choose), and advisor fees (if your plan offers professional advice).
Investment fees are usually the largest. A mutual fund might charge 0.5% to 1% per year, meaning if you have $100,000 invested, you pay $500 to $1,000 annually. Index funds often charge less — 0.03% to 0.20%. Over decades, a difference of 0.5% per year can cost you tens of thousands of dollars in lost growth.
You can see all fees listed in your plan's prospectus or on your quarterly statement. Compare the expense ratios of the funds offered and choose lower-cost options when available. If your plan offers an index fund and an actively managed fund tracking the same market, the index fund usually costs less and performs similarly or better.
Employer Match and Why You Should Not Leave Money on the Table
If your employer offers a match, contributing enough to capture the full match is one of the highest-return investments available. If your employer matches 50% up to 6% of salary, and you contribute only 3%, you are leaving 3% of your salary in assistance programs on the table every year.
Calculate your employer's match formula and contribute at least enough to get all of it. If you cannot afford to contribute 6%, start with what you can and increase it by 1% each year until you reach the match threshold. Even small contributions grow significantly over decades.
If your employer does not offer a match, a 401(k) is still useful because of the tax deferral and the yearly contribution limit ($23,500 in 2024), which is much higher than an IRA limit ($7,000 in 2024). But capturing a match should be your first priority if one is available.
Frequently Asked Questions
Can I borrow from my 401(k)?
Many plans allow loans. You can usually borrow up to 50% of your vested balance, up to $50,000. You repay the loan with interest (usually prime rate plus 1%), and the interest goes back into your account. If you leave your job, you typically have 60 to 90 days to repay the loan or it becomes a withdrawal subject to taxes and penalties.
What is vesting and why does it matter?
Vesting is the schedule on which your employer's contributions become yours to keep. Your own contributions are always 100% vested immediately. Employer match or profit-sharing might vest over three to six years — if you leave before you are fully vested, you forfeit the unvested portion. Check your plan documents to see your vesting schedule.
Can I contribute to both a 401(k) and an IRA?
Yes. You can contribute to both 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 Roth IRA has income limits that may prevent you from contributing if you earn too much. Consult a tax professional about your specific situation.
What happens to my 401(k) if I am laid off or fired?
Your 401(k) is yours regardless of how you leave the job. You keep the money and can roll it into an IRA or your new employer's plan. You do not lose it, and your employer cannot take it back. However, any unvested employer contributions are forfeited.
Should I max out my 401(k) or save money elsewhere?
If your employer offers a match, prioritize capturing the full match first — that is assistance programs. After that, many financial advisors suggest building an emergency fund (three to six months of expenses) before maxing out the 401(k). Once you have an emergency fund, maxing the 401(k) is usually a good move because of the tax deferral and high contribution limits.