What happens to the money you put into a 401(k)
A 401(k) is a retirement savings account that your employer sponsors. You choose how much to have deducted from your paycheck each pay period, and that money goes into an investment account held in your name. Your employer may add money to it as well — this is called a match. The money sits in investments you pick (usually mutual funds or target-date funds), grows over time, and you can withdraw it starting at age 59½ without a penalty.
The account is named after a section of the tax code. It is not a bank account; it is an investment account. The money does not sit in cash. Instead, it buys shares of funds, and the value of your account goes up or down based on how those investments perform.
Your employer chooses which investment company runs the plan — Fidelity, Vanguard, Schwab, or another provider. That company holds the money, tracks your balance, and lets you log in to see what you own and move money between the investment options they offer.
Key Takeaways
- Money you contribute comes out of your paycheck before taxes are calculated, which lowers your taxable income for the year.
- Your employer may match a portion of what you contribute — for example, 50 cents for every dollar you put in, up to 3% of your salary.
- You choose how the money is invested from a menu of funds offered by your plan, and you can change those choices once a year or when life circumstances change.
- You cannot withdraw the money before age 59½ without paying income tax plus a 10% penalty, with narrow exceptions for hardship or loans.
- When you leave your job, you can roll the account to an IRA or to your new employer's plan, or leave it where it is if the balance is large enough.
How contributions reduce your taxes right now
When you contribute to a 401(k), the money comes out of your paycheck before your employer calculates federal income tax. This is called pre-tax contribution. If you earn $50,000 a year and put $6,000 into your 401(k), you only pay income tax on $44,000.
This tax break happens immediately. You see it on your paycheck — your take-home pay is lower because money went to the 401(k), but your federal withholding is also lower. You do not have to wait until tax time to benefit.
Some plans also offer a Roth 401(k) option. With Roth, you contribute after-tax money — it does not lower your taxable income this year. But when you withdraw the money in retirement, you pay no tax on the growth. The choice between pre-tax and Roth depends on whether you think your tax rate will be higher or lower in retirement.
Employer matching and how to capture it
Many employers add money to your 401(k) as a match. A common formula is 50% of what you contribute, up to 3% of your salary. That means if you earn $50,000 and contribute $1,500 (3%), your employer adds $750. If you contribute only $500, they add $250.
The match is assistance programs, but you have to contribute first to receive it. If your employer offers a match and you do not contribute, you are leaving money on the table. The match usually vests over time — meaning you do not own it immediately. A common vesting schedule is 25% per year, so after four years you own 100% of the match your employer has added.
If you leave your job before the match is fully vested, you forfeit the unvested portion. This is one reason to check your plan's vesting schedule before you resign.
How investment choices work and what you own
When money lands in your 401(k), it does not automatically invest itself. You log into your plan's website and choose from a menu of funds — usually 10 to 30 options. Common choices are target-date funds (which automatically shift from stocks to bonds as you near retirement), index funds (which track a market index like the S&P 500), and actively managed funds (where a manager picks individual stocks).
You decide what percentage of your balance goes into each fund. You might put 60% in a stock index fund, 30% in an international fund, and 10% in a bond fund. You own shares of those funds, and as they gain or lose value, your account balance changes.
You can change your investment choices once per year during the plan's open enrollment period, or immediately if you have a life event like marriage, divorce, or birth of a child. Some plans let you change more often. Check your plan's rules on your employer's benefits website or by calling the plan administrator.
Withdrawal rules and penalties before retirement
You cannot withdraw money from your 401(k) before age 59½ without paying income tax on the withdrawal plus a 10% early withdrawal penalty. If you withdraw $10,000 at age 45 and are in the 22% tax bracket, you owe $2,200 in tax plus $1,000 in penalty — a total of $3,200 in costs on a $10,000 withdrawal.
There are narrow exceptions. You can withdraw without the penalty if you are experiencing a financial hardship — defined by the IRS as an immediate and heavy financial need. Hardship withdrawals still require you to pay income tax, but not the 10% penalty. You must prove the hardship to your plan administrator, and the plan must offer hardship withdrawals (not all do).
Another option is a 401(k) loan. You can borrow up to 50% of your vested balance, up to $50,000, and repay it over five years through payroll deduction. You pay yourself interest, not the bank. If you leave your job, the loan is usually due within 60 days or it is treated as a withdrawal and taxed.
What happens to your 401(k) when you change jobs
When you leave your employer, your 401(k) stays in the plan unless you move it. You have three main options: leave it where it is, roll it to an IRA (Individual Retirement Account), or roll it to your new employer's 401(k).
Leaving it in place works if your balance is at least $5,000 (some plans require more). You keep the same investments and can withdraw at 59½ without penalty. The downside is you may pay higher fees, and you cannot contribute more to it.
Rolling to an IRA gives you more investment choices and usually lower fees. You contact an IRA provider like Fidelity or Vanguard, they handle the transfer directly from your old plan, and your money lands in the new IRA without you touching it. This is called a direct rollover and avoids taxes and penalties.
Rolling to your new employer's plan keeps everything in one place if you prefer. Not all plans accept rollovers, so check with your new employer's benefits team first.
Required withdrawals and taxes in retirement
Starting at age 73 (as of 2023), you must withdraw a minimum amount from your 401(k) each year. This is called a Required Minimum Distribution or RMD. The amount is calculated 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).
Every dollar you withdraw from a pre-tax 401(k) is taxed as ordinary income. If you withdraw $40,000 in a year and are in the 22% tax bracket, you owe $8,800 in federal tax. This is why some people try to spread withdrawals across multiple years or convert to a Roth IRA to manage their tax bill.
If you have a Roth 401(k), withdrawals of your contributions are tax-free, but withdrawals of growth are taxed unless you have held the account for at least five years and are age 59½.
Fees and how they affect your balance
401(k) plans charge fees in three ways: plan administration fees (paid by the employer or deducted from accounts), investment fees (charged by the fund companies), and sometimes advisor fees if your plan offers professional guidance.
Investment fees are expressed as an expense ratio — the percentage of your balance charged each year. A fund with a 0.05% expense ratio costs $50 per year on a $100,000 balance. A fund with a 1% expense ratio costs $1,000 on the same balance. Over decades, the difference compounds. A 0.5% difference in fees can reduce your retirement balance by 10% to 20% by the time you retire.
You can see your plan's fees on your quarterly statement or by logging into your plan's website. Look for the expense ratios of the funds you own and the plan's total fees. If fees seem high, ask your employer if lower-cost options are available or if you can roll to an IRA with lower fees.
Frequently Asked Questions
Can I contribute to a 401(k) and an IRA in the same year?
Yes. You can contribute to both a 401(k) and a traditional or Roth IRA in the same year. However, if you have a traditional IRA and a high income, contributing to a Roth IRA may be limited or blocked. Check the IRS income limits for the year you are contributing.
What happens to my 401(k) if my employer goes out of business?
Your 401(k) is held by a separate investment company, not by your employer, so it is protected. If your employer closes, your account stays intact and you can roll it to an IRA or another plan. You may lose the employer match that has not yet vested.
Can I withdraw money if I am still working?
Most plans do not allow withdrawals while you are still employed and under age 59½, but some offer in-service withdrawals or loans. Check your plan's rules. Hardship withdrawals are available in some plans if you meet the criteria.
What is the difference between a 401(k) and a 403(b)?
A 403(b) is similar to a 401(k) but is offered by schools, nonprofits, and some government employers instead of for-profit companies. The contribution limits and withdrawal rules are the same, but 403(b) plans often have fewer investment options and sometimes higher fees.
Do I lose my 401(k) if I get fired?
No. Your 401(k) belongs to you, not your employer. If you are fired, your account stays yours. You can leave it in the plan, roll it to an IRA, or roll it to your next employer's plan. Unvested employer match is forfeited.