Personal Finance
Tax-Advantaged Accounts: 401(k), IRA, HSA, FSA
A plain-English overview of the four main tax-advantaged accounts: how 401(k)s, IRAs, HSAs, and FSAs work; how their tax treatment differs; a side-by-side cheat sheet; and a common priority list.
Some accounts get special tax treatment because the government wants to encourage you to save for specific goals — retirement, health care, dependent care. The four big ones most working Americans encounter are the 401(k), the IRA, the HSA, and the FSA. They each work a little differently, and a working knowledge of all four can quietly add up to thousands of dollars a year in tax savings over a career.
This is a plain-English overview, not tax or investment advice. For a feel for how monthly contributions compound over decades, our investing basics hub has worked examples. For more vocabulary, see compound interest and interest rate, and the Learn hub for related topics.
How "tax-advantaged" works in plain English
The U.S. tax code lets these accounts skip taxes at one of three points:
- Going in — you do not pay income tax on the money you deposit (a "pre-tax" or "tax-deductible" contribution).
- While growing — interest, dividends, and gains are not taxed each year.
- Coming out — withdrawals may be tax-free if used for the right purpose.
Each account uses a different combination of these. The IRS at irs.gov sets the contribution limits and rules, and they change almost every year.
401(k) — workplace retirement
A 401(k) is a retirement account offered by an employer (sometimes called a 403(b) at non-profits or a TSP for federal workers — same general shape).
The basics:
- You choose what percent of your paycheck goes into the 401(k).
- Many employers match part of what you contribute. This is essentially free money. The U.S. Department of Labor's Employee Benefits Security Administration (EBSA) at dol.gov/ebsa calls capturing the full match the most reliable return most workers can find.
- Your contributions usually go in pre-tax (lowering your current taxable income), grow tax-deferred, and are taxed when you take them out in retirement.
- A Roth 401(k) option, if your plan offers it, flips the timing — money goes in after tax, grows tax-free, and qualified withdrawals come out tax-free.
- The IRS sets a yearly contribution limit. (For example, 2024's limit was $23,000 for under-50 workers, with a higher catch-up limit for 50+. These numbers change every year — always check the current figure at irs.gov.)
- Withdrawals before age 59½ usually trigger a 10% penalty plus regular income tax.
IRA — individual retirement account
An IRA (Individual Retirement Arrangement) is a personal retirement account you open at a broker or bank, separate from any employer.
Two flavors most people compare:
- Traditional IRA — contributions may be tax-deductible (depending on your income and whether you have a workplace plan), grow tax-deferred, and are taxed when you withdraw.
- Roth IRA — contributions go in after tax, grow tax-free, and qualified withdrawals are tax-free. There are income limits for direct Roth IRA contributions.
A few shared notes:
- The IRS sets a yearly combined contribution limit across both kinds of IRAs (for example, $7,000 in 2024 for under-50 savers, with a higher catch-up amount for 50+; these change every year — see irs.gov).
- Withdrawals before 59½ usually trigger a 10% penalty plus tax (with some narrow exceptions like first-home, qualified education, and disability).
- Roth IRAs have a few special rules, including the ability to withdraw your contributions (not earnings) at any time tax- and penalty-free.
The IRS Retirement Plans page at irs.gov/retirement-plans has the current rules and limits.
HSA — health savings account
An HSA is paired with a High-Deductible Health Plan (HDHP). It is the most tax-advantaged account in the federal system — sometimes called the "triple tax-advantaged" account because it skips taxes on all three sides:
- Contributions go in pre-tax (or are tax-deductible if you contributed outside of payroll).
- The money grows tax-free.
- Withdrawals for qualified medical expenses are tax-free at any age.
Other features:
- The money is yours. It does not expire and is not "use it or lose it."
- After age 65, withdrawals for non-medical purposes are taxed as ordinary income (no penalty), basically like a traditional IRA.
- The IRS sets a yearly contribution limit and a minimum HDHP deductible. Both change every year — see IRS Publication 969 at irs.gov.
- You can invest the balance once it crosses a threshold set by your HSA provider, often around $1,000-$2,000.
For people who can afford to pay current medical bills out of pocket and let the HSA grow as a stealth retirement account, it is one of the most tax-efficient vehicles available.
FSA — flexible spending account
An FSA (Flexible Spending Account) is also for qualifying medical expenses, but it is set up by an employer and works very differently from an HSA.
The basics:
- You decide how much to contribute at the start of the plan year.
- Contributions are pre-tax, taken out of your paycheck across the year.
- You can use the money throughout the year for qualified medical expenses.
- Most plans are use-it-or-lose-it — money left at the end of the plan year usually goes back to the employer. (Federal rules allow employers to offer a small carryover or a grace period, but they are not required to.)
- The IRS sets a yearly contribution limit (for example, $3,200 in 2024; this changes every year — see irs.gov).
There is also a Dependent Care FSA for qualifying child care expenses, with its own separate yearly limit.
You usually cannot have an HSA and a regular health FSA at the same time. The IRS rules in Publication 969 at irs.gov lay out which combinations work.
A quick side-by-side cheat sheet
| Account | What it's for | Tax treatment | Big rule |
|---|---|---|---|
| 401(k) | Retirement | Pre-tax in (or Roth), tax-deferred, taxed out (or Roth tax-free) | Often comes with employer match |
| Traditional IRA | Retirement | Pre-tax in (sometimes), tax-deferred, taxed out | Lower yearly limit than 401(k) |
| Roth IRA | Retirement | After-tax in, tax-free growth, tax-free out (qualified) | Income limits to contribute directly |
| HSA | Medical (and stealth retirement) | Pre-tax in, tax-free growth, tax-free out for medical | Requires an HDHP |
| FSA | Medical (current year) | Pre-tax in, used in plan year | Mostly use-it-or-lose-it |
A common contribution priority list
A general framework many CFPs and the EBSA describe (not a guarantee for your situation):
- Contribute to your 401(k) up to the full employer match — capture the free money.
- If you have an HSA-eligible HDHP, contribute to the HSA — most tax-advantaged account in the system.
- Contribute to a Roth IRA (if income-eligible) or Traditional IRA up to the limit.
- Increase your 401(k) contribution toward the IRS limit.
- Use any FSA strategically for known yearly medical or dependent care expenses.
- Anything beyond that goes into a regular taxable brokerage account.
The right order for you depends on your income, your tax bracket, and what is offered at work. The DOL EBSA participant guides at dol.gov/ebsa walk through workplace plans specifically.
Common traps
A few patterns the IRS, EBSA, and SEC warn about:
- Leaving the employer match on the table.
- Cashing out a 401(k) when changing jobs. Rolling it into an IRA or new 401(k) is usually better.
- Ignoring fees inside the plan. High-fee funds can cost tens of thousands over a career.
- FSA over-funding. Any leftover may go back to the employer at year end.
- Treating an HSA like checking instead of letting it invest.
Free help
- IRS Retirement Plans at irs.gov/retirement-plans.
- IRS Publication 969 for HSAs and FSAs.
- DOL EBSA at dol.gov/ebsa.
- MyMoney.gov at mymoney.gov.
- The Investor.gov compound interest calculator at investor.gov.
A note on advice
This is general information, not tax or investment advice. The right account mix depends on your income, your tax bracket, your job benefits, and your goals. Talk to a CPA for tax questions and a fee-only fiduciary advisor for investment questions.
Numbers and rules in this article change every year — always check the latest from the IRS, CFPB, and your state's consumer protection department.
Common questions
What is the difference between a 401(k) and an IRA?
A 401(k) is offered through your employer, usually has a higher yearly contribution limit, and may include an employer match. An IRA (Individual Retirement Arrangement) is opened by you at a broker or bank, has a lower contribution limit, and gives you more investment choices. Both come in traditional (pre-tax) and Roth (after-tax) flavors. The IRS rules and current limits are at irs.gov/retirement-plans.
Why is the HSA called "triple tax-advantaged"?
Because it skips taxes at all three stages: contributions go in pre-tax, the money grows tax-free, and withdrawals for qualified medical expenses are tax-free at any age. After 65, non-medical withdrawals work like a traditional IRA (taxed but no penalty). HSAs require pairing with a High-Deductible Health Plan. See IRS Publication 969 at irs.gov.
What is the difference between an HSA and an FSA?
Both are pre-tax accounts for medical expenses, but they work very differently. An HSA pairs with a High-Deductible Health Plan, the money is yours forever and can be invested. An FSA is set up by an employer, has a fixed yearly contribution amount, and is mostly use-it-or-lose-it at the end of the plan year. You usually cannot have both at the same time — IRS Publication 969 at irs.gov lists which combinations work.
In what order should I fund these accounts?
A common framework: first capture the full employer 401(k) match, then fund an HSA if you have one, then a Roth or Traditional IRA, then increase the 401(k) toward the IRS limit, then strategic FSA use, then a regular brokerage account. The right order depends on your income, tax bracket, and benefits. The DOL EBSA participant guides at dol.gov/ebsa walk through workplace plans.
What happens if I take money out early?
Most retirement accounts (401(k), Traditional IRA, Roth IRA earnings) charge a 10% penalty plus regular income tax on withdrawals before age 59½, with some narrow exceptions. HSAs charge a 20% penalty plus tax on non-medical withdrawals before 65 (no penalty after 65). FSAs let you spend on qualified medical expenses any time during the plan year. The IRS publishes the exception lists at irs.gov.
Sources
- IRS Retirement Plans IRS Ret as of May 2026
- IRS: Publication 969 (HSAs, FSAs) IRS as of May 2026
- DOL EBSA: Workplace Retirement Plans EBSA as of May 2026
- USA.gov: Taxes USA Tax as of May 2026
- MyMoney.gov: Save and Invest MyMoney as of May 2026
Keep reading
-
Every Paycheck Deduction, Explained
A plain-English walk through every common paycheck deduction: federal income tax, FICA (Social Security and Me...
-
Money Lessons in Your 20s, 30s, and 40s
A gentle, aspirational guide to money themes by decade: building the foundation in your 20s, stacking layers i...
-
Should You Refinance? A Decision Framework
A plain-English decision framework for refinancing a mortgage, auto loan, or student loan: define the goal, fi...
-
Recession-Proofing Your Finances Without Panic
A calm, plain-English guide to recession-proofing your finances: build a cash buffer, diversify income, avoid...