Skip to main content

HomeAll guides

How a 401(k) Works: Contributions, Growth, and Withdrawals

How money moves in and out of your 401(k)

A 401(k) is a retirement savings account that your employer sponsors. You contribute money from your paycheck before taxes are taken out, your employer may add matching contributions, the money grows through investments you choose, and you withdraw it after age 59½ (with some exceptions). The account sits in your name, but the employer sets up and maintains the plan through a plan administrator — usually a financial services company like Fidelity, Vanguard, or Schwab.

Money enters your 401(k) in two ways: your own contributions and your employer's contributions if they offer a match. Money leaves through withdrawals after you reach retirement age, or through loans you take against the balance (if your plan allows it). Between contributions and withdrawals, your money sits invested in funds you select — typically mutual funds, index funds, or target-date funds — and grows or shrinks based on how those investments perform.

Key Takeaways

  • You contribute pre-tax dollars from your paycheck, which lowers your taxable income for the year and reduces what you owe in federal income tax.
  • Your employer may match a percentage of what you contribute — commonly 50% of contributions up to 6% of your salary — but only if you contribute first.
  • You choose how your 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 can withdraw money penalty-free starting at age 59½, but withdrawals before that age usually trigger a 10% penalty plus income tax on the amount withdrawn.
  • Your employer can change or end the plan, but your contributions and any vested employer contributions belong to you and cannot be taken back.

How contributions work and what happens to your paycheck

When you enroll in your employer's 401(k), you choose a percentage of your gross pay to contribute each pay period — for example, 5% or 10% of your salary. That amount is deducted from your paycheck before federal income tax is calculated. This is called a pre-tax contribution, and it reduces your taxable income for the year.

If you earn $60,000 a year and contribute 10% ($6,000), your taxable income becomes $54,000 instead. You pay federal income tax only on the $54,000, not the full $60,000. The money you contribute never appears in your bank account — it goes directly into your 401(k) account at the plan administrator.

Some employers also offer a Roth 401(k) option, where contributions come from after-tax dollars. You pay income tax on the money now, but withdrawals in retirement are tax-free. You cannot contribute to both a traditional pre-tax 401(k) and a Roth 401(k) in the same year, but you can switch between them when you re-enroll.

Employer matching and how to capture information programs

Many employers offer a matching contribution — they add money to your account based on how much you contribute. The most common match is 50% of contributions up to 6% of your salary. This means if you contribute 6% of your pay, your employer adds 3% (50% of 6%). If you contribute only 3%, they add 1.5%.

The match is information programs, but you have to contribute first to receive it. If your employer offers a match and you do not contribute, you lose that benefit entirely. The match is usually deposited on the same schedule as your contributions — either each pay period or monthly.

Employer contributions are subject to vesting, which means you do not own them when ready. Your employer sets a vesting schedule — commonly three years of service, or a graduated schedule where you own 33% after one year, 67% after two years, and 100% after three years. Once you are fully vested, the employer's contributions are yours to keep even if you leave the job. If you leave before you are fully vested, you forfeit the unvested portion.

How your money is invested and grows

Once your contributions and any employer match are deposited, you direct how that money is invested. Your plan offers a menu of investment options — typically 10 to 30 choices — such as stock index funds, bond funds, money market funds, and target-date funds. A target-date fund automatically adjusts its mix of stocks and bonds as you approach retirement, becoming more conservative over time.

You choose how to divide your contributions among these options. You might put 60% in a stock index fund and 40% in a bond fund, or you might choose a single target-date fund that matches your expected retirement year. You can change your investment choices once a year during the plan's open enrollment period, or when ready if you experience a may have access to life event such as marriage, divorce, birth of a child, or job loss.

Your money grows through investment returns — dividends and capital gains from the funds you own. You do not pay taxes on this growth while the money is in the account. This tax-deferred growth is one of the main advantages of a 401(k): your money compounds without being reduced by annual taxes.

Contribution limits and how they change each year

The IRS sets an annual limit on how much you can contribute to a 401(k). For 2024, the limit is $23,500 for people under age 50. If you are 50 or older, you can contribute an additional $7,500 as a catch-up contribution, for a total of $31,000. These limits change most years, and your plan administrator sends you a notice when they do.

Your employer's matching contribution does not count toward your personal limit — it is a separate contribution. However, the combined total of your contributions plus your employer's contributions cannot exceed $69,000 in 2024 (or $76,500 if you are 50 or older and make catch-up contributions).

If you change jobs during the year, your contributions to your old employer's plan and your new employer's plan both count toward the same annual limit. You cannot exceed the limit across multiple employers in a single year.

When you can withdraw money and what it costs

You can withdraw money from your 401(k) without penalty once you reach age 59½. At that point, withdrawals are taxed as ordinary income, but there is no 10% early withdrawal penalty. You can withdraw as much or as little as you want, whenever you want, though some plans require you to take a minimum distribution once you reach age 73.

If you withdraw money before age 59½, you owe both a 10% penalty and income tax on the amount withdrawn. For example, a $10,000 withdrawal at age 45 costs you $1,000 in penalty plus income tax on the full $10,000 at your tax rate. There are narrow exceptions: withdrawals for disability, medical expenses that exceed 7.5% of your adjusted gross income, or substantially equal periodic payments (a complex calculation) avoid the 10% penalty but still owe income tax.

Some plans allow loans against your 401(k) balance. You can borrow up to 50% of your vested balance (or $50,000, whichever is less) and repay it over five years through payroll deductions. You pay yourself back with interest, and the interest goes into your account. If you leave your job before the loan is repaid, the remaining balance is usually due within 60 days or it is treated as a withdrawal subject to the 10% penalty and income tax.

What happens to your 401(k) when you change jobs

When you leave an employer, your 401(k) account stays with the plan administrator — it does not disappear. You have several options: leave it where it is, roll it into your new employer's 401(k) plan (if they accept rollovers), or roll it into an Individual Retirement Account (IRA) at a bank or brokerage firm.

A rollover moves money from one retirement account to another without triggering taxes or penalties, as long as the money goes directly from one institution to the other. If you take a check and deposit it yourself, you have 60 days to complete the rollover or the amount is treated as a withdrawal subject to income tax and the 10% penalty.

If you leave money in your old employer's plan, you can continue to direct how it is invested and withdraw it at retirement age. However, some plans require you to move the account if your balance falls below a certain amount (often $5,000). If your new employer's plan does not accept rollovers, rolling into an IRA gives you more investment choices and often lower fees.

How taxes work when you retire and start withdrawals

Withdrawals from a traditional 401(k) are taxed as ordinary income in the year you withdraw them. If you withdraw $50,000 in a year, that $50,000 is added to your other income and taxed at your marginal tax rate. This is different from long-term capital gains, which are taxed at lower rates.

Once you reach age 73, the IRS requires you to take a Required Minimum Distribution (RMD) each year based on your age and account balance. The IRS provides a table to calculate the amount. If you do not take the RMD, you owe a 25% penalty on the amount you should have withdrawn (reduced to 10% if you correct it within two years). If you are still working and your employer's plan allows it, you may be able to delay RMDs until you actually retire.

If you contributed to a Roth 401(k), withdrawals of your contributions are always tax-free, and withdrawals of earnings are tax-free if you are age 59½ and have held the account for at least five years. Roth withdrawals do not count toward RMD calculations.

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 401(k) and earn above a certain income threshold, your ability to deduct traditional IRA contributions on your taxes may be reduced. Check the IRS income limits for your filing status.

What happens to my 401(k) if my employer goes out of business?

Your 401(k) account is held by a separate plan administrator, not by your employer, so it is protected if the employer fails. The money is yours. You will receive information about what happens to the plan — usually it is frozen and you can leave it where it is, roll it to an IRA, or move it to a new employer's plan.

Can I borrow from my 401(k) to buy a house?

Some plans allow loans, and you can use the money for any purpose, including a down payment. You borrow up to 50% of your vested balance (or $50,000 maximum) and repay it over five years. If you leave your job before repaying the loan, the balance becomes due within 60 days or is treated as a taxable withdrawal with a 10% penalty.

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 nonprofits, schools, and government employers instead of for-profit companies. Contribution limits, vesting, and withdrawal rules are largely the same. The main difference is the investment options available — 403(b) plans traditionally offered annuities, though many now offer mutual funds like 401(k) plans do.

Do I have to enroll in my employer's 401(k)?

No, enrollment is voluntary. However, some employers have adopted automatic enrollment, where you are enrolled at a default contribution rate (often 3% to 6%) unless you opt out. If your employer offers matching contributions, not enrolling means you forfeit that information programs.

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.