M5Mine to FiveHours after five
An early stock ticker machine under a glass dome

Retirement Accounts Explained: 401(k), IRA and Roth

How 401(k)s, traditional IRAs and Roth accounts work, how their tax treatment differs, and a common order for funding them, with worked examples.

Retirement accounts are some of the most useful tools available to US savers, and also some of the most confusing. The names sound like alphabet soup, the rules have exceptions, and the limits change every year. The good news is that the core ideas are simple, and once you understand them you can make sensible choices without memorizing every rule.

At heart, a retirement account is an ordinary investment account with a special tax wrapper. Inside it you can hold the same kinds of investments you would hold anywhere else: index funds, target-date funds, bonds. The difference is how and when you pay tax, and the restrictions on taking money out early.

This guide covers the main account types, the traditional vs Roth decision, a common order for funding accounts, and the mistakes to avoid. It is US-specific and educational. Contribution limits, income limits and some withdrawal rules change, so this article does not quote current-year figures. The IRS publishes them each year on irs.gov, and for anything involving your own tax situation, a qualified tax professional is worth consulting.

The two big tax ideas: traditional vs Roth

Almost every retirement account comes in one or both of two tax flavors.

Traditional (pre-tax or tax-deductible). You generally get a tax break now. Contributions reduce your taxable income this year (for a 401(k), they come out of your paycheck before income tax; for an IRA, they may be deductible depending on your situation). The money grows without yearly tax on gains. When you withdraw in retirement, withdrawals are taxed as ordinary income.

Roth (after-tax). You get no tax break now: you contribute money you have already paid tax on. The money grows, and qualified withdrawals in retirement are tax-free, including the growth.

Put simply: traditional means tax later, Roth means tax now.

Worked example: when they come out the same

Suppose you have $5,000 of pre-tax income to put toward retirement, your tax rate is 22% both now and in retirement, and the investment grows to four times its value by the time you withdraw. All of these numbers are illustrative.

Traditional:

  • Contribute the full $5,000 (no tax now).
  • Grows to $5,000 x 4 = $20,000.
  • Tax on withdrawal: $20,000 x 22% = $4,400.
  • You keep: $15,600.

Roth:

  • Pay tax first: $5,000 x 22% = $1,100. You contribute $3,900.
  • Grows to $3,900 x 4 = $15,600.
  • Qualified withdrawal is tax-free.
  • You keep: $15,600.

Identical. When your tax rate is the same at both ends, the two approaches produce the same result. The choice really comes down to whether your tax rate is likely to be higher now or in retirement.

  • If the rate in retirement is 12% instead, the traditional account leaves you $20,000 x 88% = $17,600, which beats the Roth.
  • If the rate in retirement is 30%, the traditional account leaves you $20,000 x 70% = $14,000, and the Roth wins.

Nobody knows future tax rates for certain, which is why many people hold some of each. Roth contributions are often attractive early in a career, when income and tax rates tend to be lower. Traditional contributions are often attractive in peak earning years.

The main account types

401(k) and similar workplace plans

A 401(k) is offered through an employer. Nonprofits and schools often offer a 403(b), and some government employers offer a 457(b); they work in broadly similar ways. Key features:

  • Contributions come straight out of your paycheck.
  • Many plans offer both traditional and Roth options.
  • The annual contribution limit is set by the IRS and is typically much higher than the IRA limit. Workers above a certain age can usually make additional “catch-up” contributions.
  • Many employers add a match, money they contribute based on what you contribute.
  • Your investment choices are limited to the menu your plan offers. Check each fund’s expense ratio.

Worked example: the employer match

Suppose you earn $60,000, and your employer matches 50% of what you contribute, up to 6% of your salary. This formula is an example; plans vary.

  • You contribute 6%: $60,000 x 6% = $3,600 a year.
  • Employer adds 50% of that: $3,600 x 50% = $1,800 a year.
  • Total going into your account: $5,400.

If you contributed only 3% ($1,800), the match would be $900, so you would leave $900 a year of potential employer money unused. Over a 30-year career that adds up meaningfully, before any investment growth.

One caution: employer contributions may be subject to a vesting schedule, meaning you only fully own them after a certain number of years. Your plan documents explain the rules.

Traditional IRA

An Individual Retirement Arrangement you open yourself at a brokerage. You need earned income to contribute (with a spousal exception for married couples filing jointly). Contributions may be tax-deductible, but if you or your spouse are covered by a workplace plan, the deduction can phase out at higher incomes. You can invest in almost anything the brokerage offers, which gives more choice than many 401(k) menus.

Roth IRA

Also opened yourself. Contributions are not deductible, but qualified withdrawals are tax-free. Key points:

  • There are income limits on who can contribute directly. Check the current figures on irs.gov.
  • You can generally withdraw your contributions (not the earnings) at any time without tax or penalty, which gives some flexibility.
  • Withdrawing earnings tax-free generally requires that you are at least 59 1/2 and that the account has met a five-year holding rule, with some exceptions.
  • Roth IRAs do not require minimum distributions during the original owner’s lifetime.

The IRS has a dedicated Roth IRA page that covers the rules.

Options for self-employed and side income

If you earn money from a side business, you may be able to open your own plan, such as a SEP IRA or a Solo 401(k), based on your self-employment income. These can allow sizable contributions, but the calculations depend on your net self-employment earnings and are worth checking with a tax professional. Our guide to side income taxes covers the tax basics of earning outside a paycheck.

Comparison table

Feature 401(k) / 403(b) Traditional IRA Roth IRA
Who opens it Your employer You You
Tax break now Yes (traditional option) Maybe, depending on income and workplace plan No
Tax on qualified withdrawals Taxed (traditional); tax-free (Roth option) Taxed as income Tax-free
Employer match possible Yes No No
Contribution limit Higher, set yearly by the IRS Lower, set yearly by the IRS Same yearly limit as traditional IRA, shared
Income limits to contribute No No (but limits on deductibility) Yes
Investment choice Plan menu only Broad Broad
Required minimum distributions Yes for traditional; Roth 401(k)s no longer require them during the owner’s lifetime under current law Yes Not during owner’s lifetime

Early withdrawals and penalties

Retirement accounts are designed for retirement. Taking money out of a traditional 401(k) or IRA before age 59 1/2 generally means paying income tax on the withdrawal plus an additional 10% tax, unless an exception applies. Exceptions exist for specific situations, and the list has expanded in recent years, but they come with conditions. Check irs.gov or a tax professional before withdrawing early.

Many 401(k) plans also allow loans. Borrowing from your retirement may seem painless, but the money is out of the market while it is borrowed, and if you leave your job, the loan may need to be repaid quickly.

A common order for funding accounts

There is no single right order, but a sequence many people use is:

  1. Contribute enough to your 401(k) to get the full employer match, if one is offered.
  2. Pay off high-interest debt and build a basic emergency fund.
  3. Fund an IRA (Roth or traditional, depending on your income and tax outlook).
  4. Increase 401(k) contributions toward the yearly limit if you can.
  5. Invest in a taxable brokerage account for anything beyond that, or for goals before retirement.

Inside each account, the same principles apply: diversified, low-cost funds and regular contributions. See how to build a simple, diversified portfolio and dollar-cost averaging explained.

Common mistakes

  • Leaving the match on the table. Not contributing enough to get the full match is one of the most common and costly errors.
  • Contributing but never investing. In some IRAs, deposits sit in cash until you choose an investment. Check that your money is actually invested.
  • Cashing out a 401(k) when changing jobs. This can trigger taxes and the early withdrawal penalty. Rolling the balance into your new plan or an IRA by direct transfer usually avoids that.
  • Over-contributing to an IRA. Excess contributions can be penalized each year until corrected. Track how much you have put in across all IRAs.
  • Ignoring fees inside a 401(k). Some plan funds are expensive. Pick the lowest-cost diversified options available.
  • Never updating beneficiaries. Retirement accounts pass according to the beneficiary designation, which can override what your will says.

Key takeaways

  • Retirement accounts are investment accounts with special tax rules, not investments in themselves.
  • Traditional means tax later; Roth means tax now. If your tax rate is the same at both ends, the result is the same.
  • An employer match is extra money; contributing enough to get it is a common first priority.
  • Limits and income thresholds change yearly; check the current figures on irs.gov.
  • Early withdrawals usually cost taxes plus a penalty, so keep a separate emergency fund.

Next steps

  1. Find out whether your employer offers a plan and a match, and what percentage you need to contribute to get it.
  2. Look up the current year’s contribution and income limits on irs.gov.
  3. Decide whether Roth, traditional, or a mix fits your current and expected future tax rate, and talk to a tax professional if you are unsure.
  4. Confirm your contributions are invested in diversified, low-cost funds and that your beneficiaries are up to date.

This article is for general education only and is not financial, investment, tax or legal advice. All investing involves risk, including the possible loss of the money you invest. Consider speaking with a qualified professional about your own situation. See our editorial policy and disclaimer. Spotted an error? Email hello@minetofive.com.

James SmithWriter, Investing and Financial Freedom

James covers long-term investing, retirement accounts and the math behind financial independence. He writes for beginners who want to understand the why, not just the what.