Beginner's guide to 401(k)s and what you need to know to get started

What Is a 401(k) Plan?

A 401(k) plan is a retirement savings plan offered by many American employers that has tax advantages for the saver. It is named after a section of the U.S. Internal Revenue Code (IRC).

The employee who signs up for a 401(k) agrees to have a percentage of each paycheck paid directly into an investment account. The employer may match part or all of that contribution. The employee gets to choose among a number of investment options, usually mutual funds.

Key Takeaways

  • A 401(k) plan is a company-sponsored retirement account to which employees can contribute income, while employers may match contributions.
  • There are two basic types of 401(k)s—traditional and Roth—which differ primarily in how they're taxed.
  • With a traditional 401(k), employee contributions are pre-tax, meaning they reduce taxable income, but withdrawals are taxed.
  • Employee contributions to Roth 401(k)s are made with after-tax income: There's no tax deduction in the contribution year, but withdrawals are tax-free.
  • Employer contributions can be made to both traditional and Roth 401(k) plans.
401(k) Plan

Investopedia / Ellen Lindner

How 401(k) Plans Work

The 401(k) plan was designed to encourage Americans to save for retirement. Among the benefits they offer is tax savings. There are two main options, traditional and Roth, each with distinct tax advantages.

Traditional 401(k)

With a traditional 401(k), employee contributions are deducted from gross income. This means the money comes from your paycheck before income taxes have been deducted.

As a result, your taxable income is reduced by the total amount of contributions for the year and can be reported as a tax deduction for that tax year. No taxes are due on either the money contributed or the investment earnings until you withdraw the money, usually in retirement.

Roth 401(k)

With a Roth 401(k), contributions are deducted from your after-tax income. This means contributions come from your pay after income taxes have been deducted. As a result, there is no tax deduction in the year of the contribution. When you withdraw the money during retirement, though, you don't have to pay any additional taxes on your contribution or on the investment earnings.

Even though contributions to a Roth 401(k) are made with after-tax money, generally, if withdrawals are made prior to the age of 59½,, it could trigger tax consequences. Always check with an accountant, or qualified financial advisor prior to withdrawing money from either a Roth or Traditional 401(k).

However, not all employers offer the option of a Roth account. If the Roth is offered, you can choose between a traditional and Roth 401(k). Or you can contribute to both up to the annual contribution limit.

Tip

Order your copy of Investopedia's What To Do With $10,000 magazine for more wealth-building advice.

Contributing to a 401(k) Plan

Traditional and Roth 401(k) plans are defined contribution plans. Both the employee and employer can contribute to the account up to the dollar limits set by the Internal Revenue Service (IRS). Employees' contributions to a traditional 401(k) plan are made with before-tax dollars and will reduce their taxable income and their adjusted gross income (AGI). Contributions to a Roth 401(k) are made with after-tax dollars and do not impact taxable income further.

A defined contribution plan is an alternative to the traditional pension, known as a defined-benefit plan. With a pension, the employer is committed to providing a specific amount of money to the employee for life during retirement. In recent decades, 401(k) plans have become more common, and traditional pensions have become rare as employers have shifted the responsibility and risk of saving for retirement to their employees.

Employees also are responsible for choosing the specific investments held within their 401(k) accounts from a selection that their employer offers. Those offerings typically include an assortment of stock and bond mutual funds and target-date funds designed to reduce the risk of investment losses as the employee approaches retirement.

Note

The employee's account holdings may also include guaranteed investment contracts (GICs) issued by insurance companies and sometimes the employer's own stock.

Contribution Limits

The maximum amount that an employee or employer can contribute to a 401(k) plan is adjusted periodically to account for inflation, which is a metric that measures rising prices in an economy.

For 2024, the annual limit on employee contributions to a 401(k) is $23,000 per year for workers under age 50. However, those aged 50 and over could make a $7,500 catch-up contribution.

For 2023, the annual limit on employee contributions is $22,500 per year for workers under age 50. If you are age 50 or over, you can make an additional $7,500 catch-up contribution.

If your employer also contributes or if you elect to make additional, non-deductible after-tax contributions to your traditional 401(k) account, there is a total employee-and-employer contribution amount for the year:

2024

  • For workers under 50 years old, the total employee-employer contributions can not exceed $69,000 per year.
  • If the catch-up contribution for those 50 and over was included, the limit was $76,500.

2023

  • For workers under 50 years old, the total employee-employer contributions cannot exceed $66,000 per year.
  • If the catch-up contribution for those 50 and over is included, the limit is $73,500.

Employer Matching

Employers who match employee contributions use various formulas to calculate that match.

For instance, an employer might match $0.50 for every $1 that the employee contributes, up to a certain percentage of salary.

Financial advisors often recommend that employees contribute at least enough money to their 401(k) plans to get the full employer match.

Contributing to Both a Traditional and a Roth 401(k)

If their employer offers both types of 401(k) plans, an employee can split their contributions, putting some money into a traditional 401(k) and some into a Roth 401(k).

However, their total contribution to the two types of accounts can't exceed the limit for one account (such as $23,000 for those under age 50 in 2024 or $22,500 in 2023).

Employer contributions can be made to a traditional 401(k) account and a Roth 401(k). Withdrawals from the former will be subject to tax, whereas qualifying withdrawals from the latter are tax-free.

How Does a 401(k) Earn Money?

Your contributions to your 401(k) account are invested according to the choices you make from the selection your employer offers. As noted above, these options typically include an assortment of stock and bond mutual funds and target-date funds designed to reduce the risk of investment losses as you get closer to retirement.

How much you contribute each year, whether or not your company matches your contributions, your investments and their returns, plus the number of years you have until retirement all contribute to how quickly and how much your money will grow.

Provided you don't remove funds from your account, you don't have to pay taxes on investment gains, interest, or dividends until you withdraw money from the account after retirement (unless you have a Roth 401(k), in which case you don't have to pay taxes on qualified withdrawals when you retire).

What's more, if you open a 401(k) when you are young, it has the potential to earn more money for you, thanks to the power of compounding. The benefit of compounding is that returns generated by savings can be reinvested back into the account and begin generating returns of their own.

Over a period of many years, the compounded earnings on your 401(k) account can actually be larger than the contributions you have made to the account. In this way, as you keep contributing to your 401(k), it has the potential to grow into a sizable chunk of money over time.

Taking Withdrawals From a 401(k)

Once money goes into a 401(k), it is difficult to withdraw it without paying taxes on the withdrawal amounts.

"Make sure that you still save enough on the outside for emergencies and expenses you may have before retirement," says Dan Stewart, CFA®, CEO and CIO of Revere Asset Management Inc., in Dallas. "Do not put all of your savings into your 401(k) where you cannot easily access it, if necessary."

The earnings in a 401(k) account are tax deferred in the case of traditional 401(k)s and tax free in the case of Roths. When the traditional 401(k) owner makes withdrawals, that money (which has never been taxed) will be taxed as ordinary income. Roth account owners have already paid income tax on the money they contributed to the plan and will owe no tax on their withdrawals as long as they satisfy certain requirements.

Both traditional and Roth 401(k) owners must be at least age 59½—or meet other criteria spelled out by the IRS, such as being totally and permanently disabled—when they start to make withdrawals to avoid a penalty.

This penalty is usually an additional 10% early distribution tax on top of any other tax they owe.

Some employers allow employees to take out a loan against their contributions to a 401(k) plan. The employees are essentially borrowing from themselves. If you take out a 401(k) loan and leave the job before the loan is repaid, you'll have to repay it in a lump sum or face the 10% penalty for an early withdrawal.

Required Minimum Distributions (RMDs)

Traditional 401(k) account holders are subject to required minimum distributions (RMDs) after reaching a certain age. (Withdrawals are often referred to as distributions in IRS parlance.)

Beginning on January 1, 2023, account owners who have retired must start taking RMDs from their 401(k) plans starting at age 73. This size of the RMD is calculated is based on your life expectancy at the time. Prior to 2020, the RMD age was 70½ years old. Before 2023, the RMD age was 72. It was updated to age 73 in the omnibus spending bill H.R. 2617 in 2022.

Note that distributions from a traditional 401(k) are taxable. Qualified withdrawals from a Roth 401(k) are not.

Roth IRAs, unlike Roth 401(k)s, are not subject to RMDs during the owner's lifetime.

Traditional 401(k) vs. Roth 401(k)

When 401(k) plans became available in 1978, companies and their employees had just one choice: the traditional 401(k). Then in 2006, Roth 401(k)s arrived. Roths are named for former U.S. Senator William Roth of Delaware, the primary sponsor of the 1997 legislation that made the Roth IRA possible.

While Roth 401(k)s were a little slow to catch on, many employers now offer them. So the first decision employees often have to make is choosing between a Roth and a traditional (401(k).

As a general rule, employees who expect to be in a lower marginal tax bracket after they retire might want to opt for a traditional 401(k) and take advantage of the immediate tax break.

On the other hand, employees who expect to be in a higher bracket after retiring might opt for the Roth so that they can avoid taxes on their savings later. Also important—especially if the Roth has years to grow—is that, since there is no tax on withdrawals, all the money that the contributions earn over decades of being in the account is tax free.

As a practical matter, the Roth reduces your immediate spending power more than a traditional 401(k) plan. That matters if your budget is tight.

Since no one can predict what tax rates will be decades from now, many financial advisors suggest putting some of money into each.

401(k) vs. Brokerage Account

401(k) and brokerage accounts can be useful for investing, but they serve different purposes. A 401(k) is primarily for retirement savings, while a brokerage account can be used for various financial goals and offers more control over the investments.

A 401(k) is a type of qualified retirement plan. Within it you can choose from among a menu of investment options (generally mutual funds) where your money grows in a tax-advantaged manner. A 401(k) is sponsored by an employer and has certain restrictions such as annual contribution limits, an earliest withdrawal age of 59.5 (without penalty), and required minimum distributions (RMDs) at age 72.

A brokerage account, on the other hand, is a private account where you can buy, sell, and hold whatever securities your broker has access to. This can include mutual funds, as well as stocks, bonds, and ETFs. Brokerage accounts are taxable, meaning that your capital gains and dividends are subject to tax in the current period. There are also no contribution limits, early withdrawal considerations, or minimum distributions.

Note that brokers may also offer individual retirement accounts (IRAs), which share certain features of both 401(k) and individual accounts. Like a 401(k) these retirement accounts grow tax-deferred and have annual contribution limits (which are lower than a 401(k)) and require RMDs at age 72. But like a brokerage account, they are not employer-sponsored, and individuals can invest in a range of securities such as stocks, bonds, and ETFs.

401(k) vs. Brokerage Account

401(k)
  • Retirement account

  • Employer-sponsored

  • Limited menu of investment options

  • Tax-deferred

  • Annual contribution limits

  • Early withdrawal penalties

  • RMDs

  • Potential for employee matching

Brokerage Account
  • Can be used for anything

  • Self-sponsored

  • Can buy or sell any investment

  • Taxable

  • No contribution limits

  • No withdrawal penalties

  • No RMDs

  • No matching

When You Leave Your Job

When you leave a company where you've been employed and you have a 401(k) plan, you generally have four options:

1. Withdraw the Money

Withdrawing the money is usually a bad idea unless you urgently need the cash. The money will be taxable in the year it's withdrawn. You will be hit with the additional 10% early distribution tax unless you are over 59½, permanently disabled, or meet the other IRS criteria for an exception to the rule.

In the case of a Roth 401(k), you can withdraw your contributions (but not any profits) tax free and without penalty at any time as long as you have had the account for at least five years. Remember, however, that you're still diminishing your retirement savings, which you may regret later.

2. Roll Your 401(k) Into an IRA

By moving the money into an IRA at a brokerage firm, a mutual fund company, or a bank, you can avoid immediate taxes and maintain the account's tax-advantaged status. What's more, you will be able to select from among a wider range of investment choices than with your employer's plan.

The IRS has relatively strict rules on rollovers and how they need to be accomplished, and running afoul of them is costly. Typically, the financial institution that is in line to receive the money will be more than happy to help with the process and prevent any missteps.

Funds withdrawn from your 401(k) must be rolled over to another retirement account within 60 days to avoid taxes and penalties.

3. Leave Your 401(k) With the Old Employer

In many cases, employers will permit a departing employee to keep a 401(k) account in their old plan indefinitely, though the employee can't make any further contributions to it. This generally applies to accounts worth at least $5,000. In the case of smaller accounts, the employer may give the employee no choice but to move the money elsewhere.

Leaving 401(k) money where it is can make sense if the old employer's plan is well managed and you are satisfied with the investment choices it offers. The danger is that employees who change jobs over the course of their careers can leave a trail of old 401(k) plans and may forget about one or more of them. Their heirs might also be unaware of the existence of the accounts.

4. Move Your 401(k) to a New Employer

You can usually move your 401(k) balance to your new employer's plan. As with an IRA rollover, this maintains the account's tax-deferred status and avoids immediate taxes.

It could be a wise move if you aren't comfortable with making the investment decisions involved in managing a rollover IRA and would rather leave some of that work to the new plan's administrator.

How Do You Start a 401(k)?

The simplest way to start a 401(k) plan is through your employer. Many companies offer 401(k) plans and some will match part of an employee's contributions. In this case, your 401(k) paperwork and payments will be handled by the company during onboarding.

If you are self-employed or run a small business with your spouse, you may be eligible for a solo 401(k) plan, also known as an independent 401(k). These retirement plans allow freelancers and independent contractors to fund their own retirement, even though they are not employed by another company. A solo 401(k) can be created through most online brokers.

What Is the Maximum Contribution to a 401(k)?

For most people, the maximum contribution to a 401(k) plan is $23,000 in 2024 and $22,500 in 2023. If you are more than 50 years old, you can make an additional catch-up contribution of $7,500 for both years. There are also limitations on the employer's matching contribution: The combined employer-employee contributions cannot exceed $69,000 in 2024 (or $76,500 for employees over 50 years old) and $66,000 in 2023 (or $73,500 for employees over 50 years old).

Is It a Good Idea to Take Early Withdrawals From Your 401(k)?

There are few advantages to taking an early withdrawal from a 401(k) plan. If you take withdrawals before age 59½, you will face a 10% penalty in addition to any taxes you owe. However, some employers allow hardship withdrawals for sudden financial needs, such as medical costs, funeral costs, or buying a home. This can help you avoid the early withdrawal penalty but you will still have to pay taxes on the withdrawal.

What Is the Main Benefit of a 401(k)?

A 401(k) plan lets you reduce your tax burden while saving for retirement. Not only do you get tax-deferred gains but it's also hassle-free since contributions are automatically subtracted from your paycheck. In addition, many employers will match part of their employee's 401(k) contributions, effectively giving them a free boost to their retirement savings.

The Bottom Line

A 401(k) plan is a workplace retirement plan that lets you make annual contributions up to a certain limit and invest that money for the benefit of your later years once your working days are done.

401(k) plans come in two types: a traditional or Roth. The traditional 401(k) involves pre-tax contributions that give you a tax break when you make them and reduce your taxable income. However, you pay ordinary income tax on your withdrawals. The Roth 401(k) involves after-tax contributions and no upfront tax break, but you'll pay no taxes on your withdrawals in retirement. Both accounts allow employer contributions that can increase your savings.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Office of the Law Revision Counsel. "U.S. Code: 26 USC 401: Qualified Pension, Profit-sharing, and Stock Bonus Plans."

  2. Internal Revenue Service. "401(k) Plan Overview."

  3. Internal Revenue Service. "Retirement Topics - Designated Roth Account."

  4. Internal Revenue Service. "Defined Benefit Plan."

  5. Congressional Research Service. "A Visual Depiction of the Shift from Defined Benefit (DB) to Defined Contribution (DC) Pension Plans in the Private Sector," Page 2.

  6. U.S. Department of Labor. "FAQs about Retirement Plans and ERISA," Page 2.

  7. Financial Industry Regulatory Authority. "Save the Date: Target-Date Funds Explained."

  8. Financial Industry Regulatory Authority. "Investing in Your 401(k)."

  9. Internal Revenue Service (IRS). "401(k) Limit Increases to $23,000 for 2024, IRA Limit Rises to $7,000."

  10. Internal Revenue Service. "Retirement Topics - 401(k) and Profit-Sharing Plan Contribution Limits."

  11. Internal Revenue Service (IRS). "2024 Limitations Adjusted."

  12. Internal Revenue Service. "401(k) Resource Guide - Plan Participants - General Distribution Rules."

  13. Internal Revenue Service. "Roth Comparison Chart."

  14. Financial Industry Regulatory Authority. "Taxation of Retirement Income."

  15. Internal Revenue Service. "Considering a Loan From Your 401(k) Plan?"

  16. Internal Revenue Service. "Retirement Topics — Required Minimum Distributions (RMDs)."

  17. Internal Revenue Service. "Retirement Plan and IRA Required Minimum Distributions FAQs."

  18. U.S. Congress. "H.R.2617 - Consolidated Appropriations Act, 2023," Division T: Section 107.

  19. Internal Revenue Service. "Retirement Plan and IRA Required Minimum Distributions FAQs," Select "What Types of Retirement Plans Require Minimum Distributions?"

  20. Guideline. "Evolution of the 401(k)."

  21. U.S. Bureau of Labor Statistics. "Another Retirement Savings Option: Roth 401(k) Plan."

  22. U.S. Congress. "S. 197 – Savings and Investment Incentive Act of 1997: Summary."

  23. Internal Revenue Service. "Retirement Topics—Termination of Employment."

  24. Internal Revenue Service. "Rollovers of Retirement Plan and IRA Distributions."

  25. Internal Revenue Service. "One-Participant 401(k) Plans."

  26. Internal Revenue Service. "Hardships, Early Withdrawals and Loans."

Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.
Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.