Skip to main content

HomeAll guides

IRAs and 401(k)s: How They Work and Which Fits Your Situation

How IRAs and 401(k)s differ in who offers them and how much you can save

An IRA (Individual Retirement Account) is an account you open yourself through a bank, brokerage, or credit union. A 401(k) is a retirement plan your employer offers as part of your job benefits. The main difference: with an IRA, you control the account and choose where to open it. With a 401(k), your employer sets up the plan and you enroll through them.

Contribution limits differ between the two. For 2024, you can put up to $7,000 per year into an IRA if you are under 50, or $8,000 if you are 50 or older. A 401(k) allows up to $23,500 per year (or $31,000 if you are 50 or older). If your employer offers a 401(k) match — meaning they add money to your account when you contribute — that match does not count against your personal contribution limit, though the total combined cannot exceed the annual cap.

You do not need an employer to open an IRA, but you do need earned income from a job or self-employment. You cannot open an IRA if you have no income that year. With a 401(k), your employer must offer one for you to participate.

Key Takeaways

  • IRAs are accounts you open yourself; 401(k)s are employer plans you enroll in through your job.
  • IRAs allow up to $7,000 per year in contributions (2024), while 401(k)s allow $23,500, but employer matches do not count against your limit.
  • Traditional IRAs and 401(k)s reduce your taxable income now; Roth versions tax you now but let withdrawals be tax-free later.
  • You can withdraw from a traditional IRA or 401(k) before age 59½ only in specific situations, and early withdrawal usually means a 10% penalty plus income tax.
  • If your employer matches 401(k) contributions, contributing enough to get the full match is usually the first savings priority.

Traditional vs. Roth: The tax difference between account types

Both IRAs and 401(k)s come in two main versions: Traditional and Roth. The difference is when you pay income tax on the money.

With a Traditional IRA or 401(k), you contribute money before taxes are taken out. That means your contribution reduces your taxable income for that year, which can lower the taxes you owe. When you withdraw money in retirement, you pay income tax on it then. This works well if you expect to be in a lower tax bracket after you stop working.

With a Roth IRA or 401(k), you contribute money after taxes are already taken out. Your contribution does not lower your taxes now. But when you withdraw money in retirement, you pay no income tax on it — not on the contributions and not on the growth. This works well if you expect to be in a higher tax bracket later, or if you want to avoid taxes in retirement.

There is one major catch with Roth IRAs: if your income is above a certain level, you cannot contribute to one. For 2024, the income limit for a Roth IRA starts to phase out at $146,000 for single filers and $230,000 for married filing jointly. Roth 401(k)s have no income limit, but not all employers offer them. Traditional accounts have no income limits.

Who can open an IRA and where to do it

You can open an IRA at most banks, credit unions, and investment brokerages. Common places include Vanguard, Fidelity, Charles Schwab, and your own bank. You need earned income from work to open one — you cannot open an IRA on investment income alone.

There are no income limits for Traditional IRAs, but there is a catch: if you or your spouse have access to a 401(k) at work, your ability to deduct your Traditional IRA contribution on your taxes phases out at higher incomes. For 2024, if you are single and covered by a 401(k), the deduction phases out between $77,000 and $87,000 in income. If you are married filing jointly and your spouse has a 401(k), it phases out between $123,000 and $143,000. If neither of you has access to a 401(k), there is no phase-out.

Roth IRAs have income limits. For 2024, you cannot contribute to a Roth IRA if your income is above $161,000 (single) or $240,000 (married filing jointly). The ability to contribute phases out starting at $146,000 (single) or $230,000 (married filing jointly).

Once you choose where to open your IRA, you decide how to invest the money inside it — in stocks, bonds, mutual funds, or other options the institution offers. The account itself is just a container; the investments are what grow over time.

How 401(k)s work through your employer

If your employer offers a 401(k), you enroll through your company's human resources or benefits department. You choose how much of each paycheck to contribute, and that amount is taken out before taxes (for Traditional 401(k)s) or after taxes (for Roth 401(k)s). Your employer then deposits your money into the plan.

Many employers offer a match: they contribute money to your 401(k) based on how much you contribute. A common match is 50% of what you contribute, up to 6% of your salary. That means if you earn $40,000 and contribute 6% ($2,400), your employer adds 50% of that ($1,200). This is information programs, and it does not count against your $23,500 annual contribution limit.

You choose how your 401(k) money is invested from a list of options your employer's plan offers. Most plans offer a mix of stock funds, bond funds, and target-date funds (funds that automatically shift from stocks to bonds as you approach retirement). You can usually change your investment choices once or twice a year, or when your life circumstances change.

If you leave your job, you can leave the 401(k) where it is (if the balance is above a certain amount, usually $5,000), roll it into an IRA, or roll it into a new employer's 401(k) if they accept rollovers. You cannot cash it out without paying taxes and penalties unless you meet specific conditions.

When you can access your money without penalties

Both IRAs and 401(k)s are designed to keep your money locked away until retirement. The standard age to withdraw without penalty is 59½. If you withdraw before that age, you typically owe a 10% early withdrawal penalty on top of income tax on the amount withdrawn.

There are exceptions. With a Traditional or Roth IRA, you can withdraw without the 10% penalty in these situations: you are disabled, you are a first-time homebuyer (up to $10,000 lifetime), you have significant medical expenses, you are unemployed and need money for health insurance, or you are taking substantially equal periodic payments (a specific calculation that lets you withdraw a set amount each year). You still owe income tax on the withdrawal, but not the 10% penalty.

With a 401(k), the exceptions are narrower. You can withdraw without penalty if you are disabled, if you are separated from service (left your job) in the year you turn 55 or later, or if you take substantially equal periodic payments. Some plans allow loans against your 401(k) balance, which you repay to yourself with interest — this is not a withdrawal and does not trigger taxes or penalties, but you must repay the loan or it becomes a taxable withdrawal.

Roth IRAs have a special rule: you can always withdraw the money you contributed (not the growth) without tax or penalty, at any age. You can only withdraw the growth penalty-free after age 59½ and if the account has been open for at least five years.

Required withdrawals and what happens if you do not take them

Once you reach age 73, you must begin taking Required Minimum Distributions (RMDs) from Traditional IRAs and Traditional 401(k)s. The IRS calculates how much you must withdraw each year based on your age and account balance. If you do not take the full amount, you owe a 25% penalty on the amount you should have withdrawn (reduced to 10% if you correct it within two years).

Roth IRAs have no RMD requirement during your lifetime, which is one reason some people prefer them. Roth 401(k)s do have RMDs, but you can roll a Roth 401(k) into a Roth IRA to avoid them.

If you are still working at age 73 and your employer's plan allows it, you may be able to delay RMDs from that employer's 401(k) until you actually retire. This does not explore to IRAs or to 401(k)s from previous employers.

Comparing IRAs and 401(k)s side by side

IRA401(k)
Who opens itYou, at a bank or brokerageYour employer
Annual contribution limit (2024, under 50)$7,000$23,500
Employer match availableNoYes, if offered
Income limits (Traditional)None, but deduction phases out if you have a 401(k)None
Income limits (Roth)$146,000–$161,000 (single, 2024)None
Early withdrawal exceptionsDisability, first-time home, medical, unemployment, SEPPDisability, age 55+ separation, SEPP, loans
RMD age7373 (or later if still working)
Investment choicesWide range; you chooseLimited to plan options

Frequently Asked Questions

Can I have both an IRA and a 401(k) at the same time?

Yes. You can contribute to both in the same year. However, if you have a Traditional IRA and a 401(k), and your income is high enough, your Traditional IRA contribution deduction may be reduced. Roth contributions have no such interaction. Your total contributions across all IRAs cannot exceed $7,000 per year (2024), but your 401(k) limit is separate.

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

You have several options: leave it with your former employer's plan, roll it into an IRA (which gives you more investment choices), roll it into your new employer's 401(k) if they accept rollovers, or cash it out (though you will owe taxes and a 10% penalty if you are under 59½). Most people roll it into an IRA to keep it growing tax-deferred.

Is a Roth or Traditional account better for lower income?

If you are in a low tax bracket now, a Roth is often better because you pay tax at a low rate now and avoid taxes in retirement. A Traditional account is better if you expect to be in a lower bracket in retirement. Consider your current income, expected retirement income, and how long until you retire.

Can I withdraw from my IRA to pay for education or medical bills?

Yes, but the rules differ. For medical expenses, you can withdraw without the 10% penalty if your expenses exceed 7.5% of your adjusted gross income. For education, you can withdraw without penalty for may have access to education expenses. You still owe income tax on the withdrawal. With a Roth IRA, you can withdraw contributions (not growth) anytime without tax or penalty.

What if I cannot afford to contribute to retirement right now?

If your employer offers a 401(k) match, contribute at least enough to get the full match — that is information programs. If you cannot do that, start with any amount you can afford and increase it when your income rises. An IRA requires no minimum contribution, so you can open one and contribute small amounts over time. Even small contributions grow significantly over decades.

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.