What Is a 401(k) and How Does It Work?

If building a retirement nest egg is your goal, contributing to a 401(k) if you have access to one could help you achieve it. These popular retirement savings plans are typically employer-sponsored, meaning that companies offer them as a benefit for employees. Regularly contributing to a 401(k) from a young age could help you build sizable savings by the time you retire.

Here’s what to know about 401(k) plans, how they work, what happens to them if you leave a job, and some additional retirement savings vehicles to consider.

How does a 401(k) work?

A 401(k) is a type of employer-sponsored retirement savings account that is administered through a financial services company such as Empower or Fidelity Investments. These tax-advantaged retirement savings plans are subject to contribution limits and withdrawal rules. Generally, you can’t take money out of a 401(k) before age 59½ or you’ll incur a 10% penalty on the amount withdrawn, which will also be taxed as ordinary income. That said, there are a few exceptions to the 10% early withdrawal penalty.

All 401(k)s are tax-advantaged, but the type you choose (see below) will affect your taxable income. For example, you opt to contribute to a traditional 401(k), your elected contribution amount will be deducted from your paycheck and added to your account. Contributions to a traditional 401(k) are often, but not always, pretax, meaning the money you add to your account doesn’t have taxes taken out of it. Your total contributions in a given year will reduce your taxable income.

For example, if you put $10,000 in annual pretax contributions into your traditional 401(k), your gross income would be reduced by that amount.

However, when you withdraw money at retirement, you will owe taxes on it at your then-current income tax rate. At age 73, you will also be subject to required minimum distributions (RMDs).

Roth designated 401(k)s work differently: Your contributions are taken from post-tax income and do not reduce your gross income for the year. However, when you make qualified withdrawals at retirement, you will not pay taxes on those withdrawals. You also will not owe RMDs.

Companies often offer matching contributions to employees who contribute to their 401(k)s, but these may not immediately become available. Employers sometimes have a vesting period: For instance, employer contributions may not be 100% vested until your third year of employment. That said, some companies offer vesting immediately. (See more on this below.)

History of the 401(k)

The 401(k) traces its roots back to the Revenue Act of 1978, enacted by the U.S. Congress. This act changed the Internal Revenue Code, with section 401 enabling elective deferrals to modern 401(k) and flexible spending accounts (FSAs) for employees.

While the Revenue Act of 1978 paved the way for 401(k)s, they didn’t officially become a retirement savings vehicle until 1980. Consulting company owner Ted Benna was the first person to conceptualize and introduce a 401(k) plan for his employees. He also advocated for widespread adoption of this type of plan. Today, 401(k) accounts are one of the most popular retirement savings options available.

What is employer matching?

Employer matching is when a company matches a portion of your 401(k) contributions. It’s common to see company matches between 3% and 6% of your contributions, but individual employers set their own rules around matching. It’s possible to see a lower or higher percentage match.

Matches can be dollar-for-dollar, 50¢ on the dollar, and more, up to a certain percentage of your contributions. Again, how an employer match is structured depends on the company. Here’s an example of how an employer match might work.

Let’s say you have an annual salary of $100,000 and your employer offers a generous dollar-for-dollar 6% 401(k) contribution match. If you contribute $6,000, or 6% of your salary, your employer match means your company will also contribute $6,000, for a total of $12,000.

The matched portion of your 401(k) is tax-deductible for your employer. It can’t be deducted from your taxable income the way the contribution that you make is deductible.

Types of 401(k) plans

A few different types of 401(k) plans exist, and early-withdrawal penalties apply (in most cases) if you take money out before age 59½. Here are some common options:

Traditional 401(k)

With a traditional 401(k), arguably the most common employer-sponsored option, employees make pretax contributions to their retirement savings. As noted above, this results in lower taxable income for a given year. Money withdrawn from a traditional 401(k) is taxable income—whether you take that out at retirement or sooner. (There are, however, special dispensations for qualified charitable distributions.) Required minimum distributions (RMDs) apply, so you’ll need to begin drawing down on your account at age 73. More on this below.

Roth 401(k)

Roth designated 401(k)s work differently. Contributions are post-tax, meaning taxes are already taken out of the money you add to your account. Distributions from a Roth 401(k) aren’t taxed in retirement, and as of 2024, these accounts aren’t subject to RMDs. What’s more, there is no penalty for withdrawing your contributions (not their earnings, however) at any time and any age.

Solo 401(k)

A solo 401(k), also called an individual 401(k), is a plan for business owners with no other employees. Since the employer also acts as the employee in this case, contribution limits work a bit differently than with other 401(k) plans. You get to contribute as both employee and employer.

As per the IRS, in 2024 you can contribute up to the max of $23,000 in elective deferrals, as an employee. Those aged 50 or older can make an additional $7,500 in catch-up contributions. (For 2025, that figure is $23,500. The catch-up contribution remains the same, except that, starting in 2025, employees aged 60 through 63 have a higher catch-up. For 2025, it’s $11,250, making the max employee contribution for people in that age group $34,750.)

As the employer, you can also contribute up to 25% of your compensation (minus Medicare and Social Security taxes) to your solo 401(k), as long as your employee + employer contributions do not exceed the maximum permitted contributions from all sources—$69,000 in 2024 and $70,000 in 2025.

How does your 401(k) earn money?

Your 401(k) contributions are invested into a set of funds that your employer has selected. When the stock market is high and those funds perform well, you’ll realize investment gains. But your 401(k) balance can also decrease if the market declines.

Market fluctuations are a risk with any type of investment. That said, contributing to a 401(k) is still one of the best ways to build a retirement nest egg over the long term.

Required minimum distributions

Once you reach age 73, you’ll need to begin taking required minimum distributions, or RMDs, from your traditional 401(k) account. These RMDs will be taxed at your ordinary income tax rate. To determine your RMDs, the IRS considers your total retirement account balance and your life expectancy. Note that if you are still employed when you begin to owe RMDs, you will not owe them from the account at your current employer, unless you are a 5% owner of that business. (You will owe them from any other 401(k) accounts you have, however.)

While RMDs used to be required for Roth 401(k)s, that’s no longer the case, as of 2024. Withdrawals from a Roth account made after 59½ aren’t subject to income taxes, provided that your account has been open for more than five years.

401(k) contributions

As mentioned, contribution limits apply for 401(k)s. Here’s a look at the limits and how much it makes sense to contribute.

How much can I contribute to my 401(k)?

For 2024, you can make $23,000 worth of contributions to your 401(k) if you’re under age 50. Employees 50 and older can make additional contributions of $7,500, for a total of $30,500 per year. The IRS revisits contribution limits annually so they may increase.

For 2025, those figures did rise—to $23,500. The catch-up contribution remains the same, except that, starting in 2025, employees aged 60 through 63 have a higher catch-up. For 2025, it’s $11,250.

How much should I contribute to my 401(k)?

It’s smart to contribute enough to your 401(k) to maximize your employer match, if available. But in general, making contributions totaling 10% to 15% of your annual pretax income could set you on a good path toward retirement. If you’re just starting out, try to contribute as much as you can afford and work toward a higher percentage over time.

When can I withdraw from my 401(k)?

Contributions to a 401(k) are also generally subject to a 10% early withdrawal penalty if you take money out before you turn 59½. There are some exceptions where you won’t incur a withdrawal penalty, though, including withdrawals of up to $5,000 for birth or adoption expenses and withdrawals in the event of total or permanent disability. Starting in Jan. 2024, a new IRS provision allows “an emergency personal expense distribution in any calendar year” of “a maximum of $1,000” without penalty.

The IRS provides detailed information about potential exceptions to the 10% penalty. In general, tapping into your 401(k) balance should be considered a last resort if you’re having financial difficulty. Doing so could set your retirement savings off track.

What happens to my 401(k) if I leave my job?

If you leave your job, in most cases you can leave your balance in your existing 401(k) or roll it over to a new retirement account, such as an IRA or an employer-sponsored plan at a new employer (if the plan permits this). Initiating a “direct transfer” can help you avoid withdrawing your money with a check to you instead of to a new retirement-plan trustee, which can lead to incurring income taxes and an IRS penalty.

Just be mindful of whether your 401(k) contributions were pretax or post-tax before you roll over money. If you made pretax contributions, rolling funds into a traditional IRA could be the least complicated approach from a tax perspective. (Post-tax money can go to a Roth IRA.) Consulting with an investment advisor can help you determine the best rollover option for you.

Alternatives to a 401(k)

401(k) vs. IRA

The biggest difference between a 401(k) and an IRA is that a 401(k) is an employer-sponsored retirement savings plan, while an IRA is an individual retirement savings account that you open. Many financial services companies allow you to open an IRA. For instance, you could opt for a Robinhood IRA, Fidelity IRA, and more. Both 401k(s) and IRAs have different contribution limits and rules. Another huge difference: the amount you are allowed to contribute.

Here’s how they compare:

$23,000 for 2024, plus an additional $7,500 in catch-up contributions at age 50 or older; $23,500 for 2025, with $7,500 catch-up for those 50+ ($11,250 just for those 60 to 63)

$7,000 for 2024 and 2025, plus an additional $1,000 in catch-up contributions at age 50 or older

Pretax (traditional) contributions are more common, though post-tax (Roth) contributions could be an option, depending on your employer’s plan

Pretax (traditional) or post-tax (Roth) contributions are an option, depending on your preferences

Tax treatment in retirement

If you contribute to a traditional 401(k), withdrawals are taxed in retirement. If you contribute to a Roth 401(k), you won’t pay taxes on withdrawals in retirement

If you contribute to a traditional IRA, withdrawals are taxed in retirement. If you contribute to a Roth IRA, you won’t pay taxes on withdrawals in retirement

401(k) vs. taxable brokerage account

Taxable brokerage accounts aren’t subject to contribution limits like a 401(k). Employers choose the investment options in a 401(k), but taxable brokerage accounts aren’t employer-sponsored. You’ll have a much broader investment selection with a taxable brokerage account.

On the other hand, your traditional 401(k) contributions aren’t taxed until you begin making withdrawals in retirement. Investments sold through a brokerage account are subject to capital gains taxes. Your capital gains tax rate will depend upon your tax bracket and how long you held the investment before the sale. You may also owe taxes on dividends paid through a brokerage account that wouldn’t be owed if they were in a 401(k).

TIME Stamp: 401(k)s are one of the best ways to save for retirement

Putting money aside in a 401(k), if you have access to one, is one of the best ways to save for retirement. This is especially true if your company offers contribution matching, which is essentially free money to help grow your retirement savings. That said, 401(k)s are subject to IRS rules around maximum contribution limits and early withdrawals. It’s important to familiarize yourself with these rules before you start contributing.

Frequently asked questions (FAQs)

What’s the average employer match?

It’s common for companies to match employee 401(k) contributions at a rate of 3% to 6%. Some employers might offer a dollar-for-dollar match, while others may only offer 50¢ on the dollar.

Can you have both a 401(k) and an IRA?

Yes, it’s possible to have both a 401(k) and an IRA. If your company offers contribution matching, it’s wise to prioritize contributing to a 401(k) to ensure you get that matching benefit. But you can have and contribute to both types of accounts.

At what age can you withdraw from a 401(k)?

You can withdraw money from a 401(k) without penalty once you reach age 59½, though the IRS does allow you early distributions to cover certain expenses and for emergencies, following specified rules. For instance, if you adopt a child, you can make a $5,000 early withdrawal from your 401(k) to pay for related expenses. Non-qualified 401(k) withdrawals are subject to a 10% penalty.

Leave a Comment