Where you hold investments can matter as much as what you hold. Tax-advantaged accounts can add meaningfully to long-run results by sheltering growth.
The main account types
| Account | Tax treatment | Best for |
|---|---|---|
| Taxable brokerage | Pay tax on gains/dividends | Flexibility, no limits |
| Traditional IRA / 401(k) | Deduct now, taxed at withdrawal | Lowering taxable income today |
| Roth IRA / 401(k) | After-tax in, tax-free growth out | Long horizons, tax-free retirement |
| HSA | Triple tax-advantaged (if eligible) | Healthcare + retirement |
A common funding order
A widely used priority (adjust to your situation):
- 401(k) up to the employer match — it is free money, an instant return.
- High-interest debt — paying off a 20% card beats any reliable investment return.
- HSA (if eligible) — uniquely tax-advantaged.
- Roth or Traditional IRA — tax-advantaged growth.
- Back to the 401(k) up to the annual limit.
- Taxable brokerage — unlimited, flexible.
If your employer matches 401(k) contributions and you are not capturing the full match, that is usually the highest-return move available to you. Start there.
Capital gains, briefly
In a taxable account, selling for a profit creates a capital gain:
- Short-term (held ≤ 1 year) — taxed as ordinary income.
- Long-term (held more than 1 year) — taxed at lower rates.
Holding longer is often more tax-efficient — another reason patience pays.
Tax-loss harvesting
Selling a losing position to realize a loss can offset gains (and a limited amount of income), then you reinvest in a similar — but not “substantially identical” — fund.
Tax rules are specific, change over time, and depend on your country and situation. Confirm details with a qualified tax professional before acting.