Complete Guide to Tax-Advantaged Accounts: 401(k), IRA, Roth, and HSA Explained
Tax-advantaged accounts are among the most powerful wealth-building tools available to individuals and families. These accounts let you defer taxes on investment income, reduce current taxable income, or eliminate taxes entirely on growth. A single year of maxing out a 401(k) and IRA can save $5,000-10,000 in immediate taxes while creating decades of tax-free compounding. Understanding which accounts to use, how to maximize them, and when to use each type is essential to building wealth efficiently. Most people leave significant tax savings on the table by not fully utilizing these accounts.
Quick definition: Tax-advantaged accounts are investment accounts (401k, IRA, HSA) where contributions are deductible from taxable income, where growth is tax-deferred or tax-free, or both. This accelerates wealth accumulation compared to taxable accounts.
Key Takeaways
- 401(k): Employer-sponsored account, up to $23,500 contribution (2024), contributions reduce current income taxes
- Traditional IRA: Individual account, up to $7,000 contribution (2024), tax-deductible contributions (subject to income limits)
- Roth IRA: Individual account, up to $7,000 contribution (2024), no current deduction, but tax-free growth and withdrawals forever
- HSA: Health Savings Account, up to $4,150 individual / $8,300 family (2024), triple tax advantage (deductible, grows tax-free, withdrawals tax-free for medical)
- SEP-IRA: Self-employed account, up to 25% of net business income or $69,000 (2024), simple to administer
- Solo 401(k): Self-employed account, higher limits than SEP-IRA, allows loans from the account
401(k): The Employer-Sponsored Workhorse
A 401(k) is an employer-sponsored retirement account where you contribute pre-tax wages, reducing your current taxable income while letting contributions grow tax-deferred. It's the primary retirement savings vehicle for millions of American workers.
2024-2025 Contribution Limits:
- Employee contribution: $23,500 (2024), $23,500 (2025)
- Employer match: Typically 3-6% of salary (varies by employer)
- Catch-up contribution (age 50+): Additional $7,500
- Total possible (employee + employer): Up to $69,000 with catch-up
How it works: You authorize payroll deductions (pre-tax) to fund the 401(k). This reduces your W-2 income and taxable income.
Example: Marcus earns $100,000 and contributes $23,500 to his 401(k).
- Gross income: $100,000
- Contribution: $23,500 (pre-tax, reduces taxable income)
- Taxable income for federal tax purposes: $76,500
- Tax savings at 24% bracket: $23,500 × 24% = $5,640
- Marcus nets $18,860 after taxes on the contribution ($23,500 - $4,640 tax savings = $18,860 in actual paycheck reduction)
The $23,500 grows tax-free inside the 401(k) for decades. If it grows to $300,000 by retirement, Marcus doesn't pay taxes on the $276,500 growth until withdrawal (at which point he'll pay ordinary income tax).
Employer Match: Most employers match contributions, typically 3-6% of salary. This is free money and a guaranteed instant return.
Example: If Marcus's employer matches 4% and he earns $100,000:
- His contribution: $4,000 (or more)
- Employer match: $4,000
- Total annual contribution: $8,000
- Free money value: $4,000
Not taking the full match is leaving compensation on the table. Financially, it's equivalent to refusing a $4,000 raise.
Vesting: Employer contributions are often vested gradually (typically over 3 years). This means you don't own the employer match until you've been with the company for the vesting period. However, your own contributions are instantly vested—you own them immediately.
Example: You work for a company with 3-year vesting. You contribute $23,500 (vested immediately). Employer matches $4,000 (vested 1/3 year one, additional 1/3 year two, final 1/3 year three). If you leave after year 1, you own $23,500 + $1,333 = $24,833, but the remaining $2,667 employer match is forfeited.
Withdrawals: Before age 59½, withdrawals are taxed as ordinary income plus a 10% penalty (exceptions: disability, medical expenses, higher education, first home, series of equal periodic payments). This is by design—401(k)s are retirement accounts meant to stay invested until retirement.
Required Minimum Distributions (RMDs): At age 73 (recently increased from 72), you must begin taking distributions from traditional 401(k)s, calculated using life expectancy tables. This ensures the government collects taxes eventually.
Traditional IRA: Individual Account with Tax Deduction
A Traditional IRA (Individual Retirement Account) is an individual account where contributions may reduce current taxable income. It's simpler to open and manage than a 401(k), but has lower contribution limits.
2024-2025 Contribution Limits:
- Under 50: $7,000
- Age 50+: $8,000 (catch-up contribution)
Deductibility: Contributions are tax-deductible only if:
- You don't have an employer 401(k) (or similar plan), OR
- Your income is below phase-out thresholds
2024 Phase-out thresholds (if covered by employer retirement plan):
- Single: $77,000-$87,000 (full deduction below $77,000, partial above $77,000, no deduction above $87,000)
- Married filing jointly: $123,000-$143,000
- Head of household: $122,500-$152,500
Example: Jennifer earns $85,000 and contributes $7,000 to a Traditional IRA. She's covered by a 401(k) at work.
- Her income ($85,000) is above the $77,000 start of phase-out but below $87,000
- Her deduction is partially phased out
- Estimated deductible amount: ~$3,500
- The remaining $3,500 contribution is after-tax (not deductible)
The account grows tax-deferred either way, but only the deductible portion saves immediate taxes.
Backdoor Roth: High-income people who exceed Roth IRA income limits can use a "backdoor" strategy: Contribute to a Traditional IRA (non-deductible), then immediately convert to a Roth IRA. This allows high earners to fund Roth IRAs despite income limits (though there are pro-rata rules if you have existing pre-tax IRA balances).
Required Minimum Distributions (RMDs): At age 73, you must take distributions from Traditional IRAs, calculated using life expectancy. This applies even if you don't need the money.
Roth IRA: Tax-Free Growth Forever
A Roth IRA allows after-tax contributions that grow completely tax-free and are withdrawn tax-free in retirement. It's the most tax-efficient account for long-term investors.
2024-2025 Contribution Limits: $7,000 under 50, $8,000 with catch-up (same as Traditional IRA)
Income Limits: Phase out at higher incomes (non-deductible status is the same, but contribution eligibility phases out):
- Single: $146,000-$161,000 (2024)
- Married filing jointly: $230,000-$240,000 (2024)
- High earners use backdoor Roth conversions if income exceeds these limits
Key advantages:
- Tax-free growth for decades: Unlike Traditional accounts, growth is never taxed
- Tax-free withdrawals: Withdrawals including growth are completely tax-free in retirement
- No required distributions: No RMDs like Traditional IRAs—you can let it grow forever and pass to heirs
- Can withdraw contributions anytime penalty-free: Need money? You can withdraw contributions (but not earnings) without penalty
- Roth conversions: You can convert Traditional IRA balances to Roth (paying taxes on the conversion), then all future growth is tax-free
30-year scenario for young investor: Rachel, age 35, contributes $7,000 to Roth annually for 30 years ($210,000 total contributions). Account grows at 7% annually.
- Contributions: $210,000 (after-tax money)
- Growth: ~$665,000 (entirely tax-free)
- Value at age 65: ~$875,000
- Withdrawal in retirement: $875,000 completely tax-free (no taxes on the $665,000 growth)
Compare to Traditional IRA with same contributions:
- Contributions: $210,000 (saves ~$50,400 in taxes at 24% rate via deduction)
- Growth: ~$665,000
- Total account value at retirement: ~$875,000
- Withdrawal in retirement: Entire $875,000 is taxable
- If withdrawn at 24% rate: Tax owed = ~$210,000
- After-tax to Rachel: ~$665,000
Roth is far better for Rachel: She keeps $875,000 vs $665,000. The $210,000 in tax-free growth is worth far more than the ~$50,400 immediate tax deduction. This is why young people almost always should prioritize Roth over Traditional.
HSA: The Triple Tax Advantage Account
A Health Savings Account is the only account with "triple" tax advantage: deductible contributions, tax-free growth, and tax-free qualified withdrawals for medical expenses.
2024-2025 Contribution Limits:
- Individual: $4,150 (2024), $4,300 (2025)
- Family: $8,300 (2024), $8,550 (2025)
Eligibility: Only available if you have a High Deductible Health Plan (HDHP) health insurance. Requires deductible of at least $1,600 individual / $3,200 family (2024).
Three tax advantages:
- Contribution deducts from taxable income: $4,150 contribution at 24% bracket saves $996 in taxes (same as pre-tax 401k or Traditional IRA)
- Growth is tax-free: Unlike taxable accounts, all investment growth is never taxed
- Withdrawals are tax-free for qualified medical expenses: Medical expenses, prescriptions, dental, vision, etc. can be withdrawn tax-free
This is better than Traditional or Roth accounts because the contribution is deductible AND withdrawals for medical are tax-free. You get the immediate tax savings plus the tax-free withdrawal benefit (Traditional gives #1, Roth gives #3, HSA gives both).
30-year HSA scenario: David contributes $4,150 to HSA annually for 30 years ($124,500 total contributions). Account grows at 7% annually.
- Tax savings on contributions: $124,500 × 24% = $29,880 total
- Growth: ~$295,000 (entirely tax-free)
- Account value at age 65: ~$419,500
- Withdrawals for medical: Tax-free if medical expenses
Compared to a regular taxable account with same contributions:
- Same $124,500 contributions (after-tax, no deduction)
- Growth: ~$295,000 (but taxed annually in taxable account, losing ~$50,000-70,000 to taxes)
- After-tax net: ~$369,500
- HSA advantage: ~$50,000 better due to tax deferral and triple advantage
Strategic HSA use: Because HSA offers triple tax advantage, it's the highest priority retirement account. Contribute to HSA before maximizing 401(k) or IRA contributions (though in practice, many employers limit HSA contributions).
Self-Employed Options: SEP-IRA and Solo 401(k)
SEP-IRA (Simplified Employee Pension):
- Contribution limit: Up to 25% of net self-employment income (max $69,000 in 2024)
- Administration: Minimal paperwork, extremely simple
- Flexibility: Can vary contributions yearly
- Downside: Doesn't allow loans
- Best for: Self-employed with variable income who want simplicity
Solo 401(k) (also called Individual 401k or Self-Employed 401k):
- Contribution limit: Higher than SEP-IRA ($69,000 in 2024, or up to 50% of net income if you have no employees)
- Flexibility: Can set up Roth option (Solo Roth 401k)
- Loans: Allowed (up to 50% of balance, max $50,000)
- Administration: More paperwork than SEP-IRA
- Best for: Self-employed with significant income who want flexibility and loan option
Example: Michael is self-employed earning $100,000 net business income.
- SEP-IRA: Can contribute $25,000 (25% of $100,000)
- Solo 401(k): Can contribute more depending on structure (potentially $40,000-50,000+)
Common Mistakes About Tax-Advantaged Accounts
Mistake 1: "I can't contribute if I have a 401(k)" Wrong. You can contribute to both 401(k) and Traditional IRA (deductibility phases out at higher incomes). Roth IRA contributions are separate and have their own income limits. You can contribute to both.
Mistake 2: "I should max Roth first" Depends on your situation. If you're in a high bracket now (35%+) and expect lower bracket in retirement, Traditional accounts save more taxes. If you're young with 30+ years until retirement, Roth's tax-free growth usually wins. The answer is individual-specific.
Mistake 3: "I can't withdraw before 59½" Mostly true for earnings, but not for contributions. Roth contributions can withdraw anytime penalty-free. HSA medical withdrawals anytime are tax-free. There are exceptions to the 59½ rule (disability, substantially equal periodic payments, etc.).
Mistake 4: "Ignoring employer match" Wrong. If employer matches 4%, contributing at least 4% is free money—an instant 100% return. Not taking the match is leaving $2,000-4,000+ per year on the table.
Mistake 5: "Using HSA for current expenses, not saving" Inefficient. HSAs are best used as a secondary retirement account. Pay current medical expenses out of pocket and let HSA grow tax-free for decades. At withdrawal in retirement, all medical expenses become tax-free.
FAQ: Common Questions About Tax-Advantaged Accounts
Q: Should I max 401(k) or IRA first? A: Strategy: Get employer match first (free money). Then max IRA ($7,000). Then max 401(k) ($23,500). The order reflects returns (match is guaranteed, IRA limits you can control, 401(k) is available to everyone with access).
Q: What if I earn too much for Roth? A: Use backdoor Roth conversion: Contribute to Traditional IRA (non-deductible), immediately convert to Roth (no income limits on conversions). You pay taxes on the conversion, but then all future growth is tax-free.
Q: Can I loan from 401(k)? A: Most plans allow loans up to 50% of balance (max $50,000). Repay with interest over 5 years. This is a way to access retirement money without penalty, though you're borrowing from future retirement.
Q: What if I need money before 59½? A: Generally 10% penalty plus ordinary tax. Exceptions: disability, medical hardship (under strict rules), substantially equal periodic payments under IRC 72(t), HSA medical withdrawals, first-time home buyer ($10,000 max from IRA only).
Q: Can I have both Traditional and Roth 401(k)? A: Some plans allow both. Contribute to both if available. Diversifies your tax situation in retirement (some pre-tax, some tax-free).
Q: What happens if I change jobs? A: You can roll 401(k) to an IRA (rollover IRA) or to new employer's 401(k). Rolling to an IRA gives you more investment flexibility. Rolling to new 401(k) keeps higher contribution limits and allows loans (if the new plan allows).
Prioritization Framework
For most people, the priority order is:
- 401(k) up to employer match (free money—guaranteed instant return)
- HSA (triple advantage if eligible—highest value account)
- Roth IRA (for young people or those in low brackets)
- Traditional IRA (if Roth not available or already maxed)
- 401(k) above match (up to $23,500)
- Solo 401(k) or SEP-IRA (if self-employed)
- Taxable brokerage account (last resort, but allows unlimited contributions)
Comparison Table: All Major Tax-Advantaged Accounts
| Feature | 401(k) | Traditional IRA | Roth IRA | HSA |
|---|---|---|---|---|
| 2024 Limit | $23,500 | $7,000 | $7,000 | $4,150 |
| Employer Match? | Yes | No | No | No |
| Tax Deductible? | Yes | Conditional | No | Yes |
| Growth Tax-Free? | Yes | Yes | Yes | Yes |
| Withdrawal Tax-Free? | No | No | Yes | Yes (medical) |
| RMD at 73? | Yes | Yes | No | No |
| Loans Allowed? | Yes | No | No | No |
| Best For | Employees | Retirees | Young people | Medical savers |
Related Concepts
- ./12-roth-vs-traditional.md — Detailed Roth vs Traditional decision
- ./11-pre-tax-vs-post-tax.md — Pre-tax vs after-tax contribution strategy
Summary
Tax-advantaged accounts are essential wealth-building tools. 401(k)s offer employer matching (free money) and immediate tax deduction. Traditional IRAs reduce current taxes but are taxable on withdrawal. Roth IRAs provide tax-free growth and withdrawals, ideal for young people with long time horizons. HSAs offer triple tax advantage if you have an HDHP. Self-employed people have SEP-IRA and Solo 401(k) options. Understanding which accounts to prioritize and maximize can save tens of thousands in taxes over your career while dramatically accelerating wealth accumulation.
Disclaimer: This is general education, not tax advice — consult a qualified professional.
External Resources
- IRS Retirement Accounts Information — Official guidance on retirement account limits and rules
- IRS Form 401k and IRA Comparison — Detailed comparison of retirement accounts