What is a 401(k) plan?
NerdWallet Wealth Partners created a free calculator to estimate your financial independence number, see where you stand, and find out how much you might need to close the gap.

How does a 401(k) work?
- Employee contributions. Employees choose a percentage of their paycheck to go into their 401(k) account. It’s deducted automatically and deposited directly into their 401(k) account.
- Employer match. Many employers offer to match a percentage of these contributions. This free money can provide an extra boost of retirement savings.
- Investment selections. Options within a 401(k) plan can include stocks, bonds and mutual funds, but depend on your plan provider. A common investment option is target-date funds, which automatically adjust their investment mix from aggressive to conservative over time as the account owner approaches retirement age. Read more on how to invest your 401(k).
- Vesting schedule. While an employee’s contributions are always theirs, their employer’s match may be subject to a vesting schedule. This means the employee might not fully own the employer contributions until after a set period of time.
Types of 401(k) plans
Roth 401(k) | Traditional 401(k) | |
|---|---|---|
Contribution limits | The 401(k) contribution limit applies to both accounts. You can contribute to both accounts in the same year, as long as you keep your total contributions under the cap. You can contribute $24,500 in 2026. People aged 50 and older can contribute an extra $8,000 as a catch-up contribution. Due to the Secure 2.0 Act, those aged 60, 61, 62 and 63 get a higher catch-up contribution of $11,250. | |
Tax treatment of contributions | Contributions are made after taxes, with no effect on current adjusted gross income. Employer matching dollars must go into a pretax account and are taxed when distributed. | Contributions are made pretax, which reduces your current adjusted gross income. |
Tax treatment of withdrawals | No taxes on qualified distributions in retirement. | Distributions in retirement are taxed as ordinary income. |
Withdrawal rules | Withdrawals of contributions and earnings are not taxed as long as the distribution is considered qualified by the IRS: The account has been held for five years or more and the distribution is:
Unlike a Roth IRA, you cannot withdraw contributions any time you choose. | Withdrawals of contributions and earnings are taxed. Distributions may be penalized if taken before age 59 ½, unless you meet one of the IRS exceptions. |
NerdWallet Wealth Partners created a free calculator to estimate your financial independence number, see where you stand, and find out how much you might need to close the gap.



