Smart examples of capital gains tax strategies investors actually use
Real-world examples of capital gains tax strategies investors use
Most articles start with definitions. Let’s skip that and go straight into examples of capital gains tax strategies that show up in real brokerage statements.
Think of each example as a tool. You probably won’t use all of them every year, but knowing how they work lets you pick the right tool for your income level, time horizon, and country’s rules (we’ll anchor to U.S. law, but the logic often carries over).
Example of tax-loss harvesting with a volatile ETF
One of the best-known examples of capital gains tax strategies is tax-loss harvesting. It sounds fancy, but the move is simple: you sell an investment that’s down, lock in the loss for tax purposes, and use that loss to offset other gains.
Real example:
An investor buys \(50,000 of a tech-heavy ETF in early 2024. By October, it’s worth \)35,000. The long-term plan hasn’t changed, but there’s an opportunity:
- They sell the losing ETF and realize a $15,000 capital loss.
- The same day, they buy a different tech ETF with similar exposure but a different index provider.
- They stay invested in the market, but they’ve now banked a $15,000 loss.
At tax time:
- That \(15,000 loss can offset \)15,000 of capital gains from selling other winners.
- If they only have \(8,000 of gains, the extra \)7,000 can offset up to \(3,000 of ordinary income in 2024 (the U.S. limit), and the remaining \)4,000 carries forward to future years.
The IRS wash sale rule doesn’t currently apply to crypto but does apply to stocks and ETFs. You can read the IRS explanation in Publication 550 (Investment Income and Expenses).
This is one of the best examples of a strategy that works in both bull and bear markets: in down years, you harvest losses; in up years, you use those losses to offset gains.
Examples include “asset location” across taxable and retirement accounts
Another powerful example of capital gains tax strategies is asset location: deciding which investments go in which accounts.
Real example:
An investor has:
- A taxable brokerage account
- A traditional 401(k)
- A Roth IRA
Instead of sprinkling every fund across every account, they organize like this:
- Taxable account: broad U.S. and international index ETFs with low turnover and qualified dividends
- 401(k): actively managed bond funds and REITs that throw off ordinary income
- Roth IRA: high-growth small-cap or sector funds they plan to hold for decades
Why this works:
- Low-turnover index ETFs in taxable accounts generate fewer taxable events.
- Bonds and REITs, which are taxed at higher ordinary income rates, sit in tax-deferred space.
- The highest-growth assets go in the Roth, where future gains can be tax-free under current law.
This isn’t about picking the hottest fund. It’s about where you place each asset so that, over time, you reduce the drag from capital gains and income taxes.
For a deeper discussion of asset location concepts, the basic tax logic is consistent with guidance in IRS Publication 590-B on distributions from IRAs, which explains how different accounts are treated.
Long-term holding: a simple example of rate arbitrage
Some of the best examples of capital gains tax strategies are boring by design. Holding an investment for more than a year can dramatically change the tax outcome.
Real example:
- An investor in the 32% ordinary income bracket buys $20,000 of a stock.
- After 10 months, it’s worth $30,000. They’re tempted to sell.
- If they sell now, the $10,000 profit is a short-term capital gain, taxed at 32%.
- If they wait two more months and then sell, the gain is long-term, taxed at the long-term capital gains rate (often 15% or 20% for higher earners in the U.S.).
By simply crossing the one-year mark, they may cut the tax rate on that gain nearly in half. That’s not a trick; it’s how the U.S. code is written. The current brackets and thresholds are outlined on IRS.gov.
This is a textbook example of trading patience for a better after-tax outcome.
Using tax-gain harvesting in low-income years
Most people know about tax-loss harvesting. Fewer talk about tax-gain harvesting, another interesting example of capital gains tax strategies for early retirees or people with a temporary income dip.
Under current U.S. rules (as of 2024), some taxpayers fall into the 0% long-term capital gains bracket. That means they can realize long-term gains and pay no federal capital gains tax, up to certain income thresholds.
Real example:
- A 30-year-old takes a sabbatical in 2025 and expects very little earned income.
- They have a taxable portfolio with $25,000 of long-term gains built into a broad market ETF.
- They intentionally sell a portion of that ETF to realize gains while they’re in the 0% bracket.
- They immediately rebuy the same ETF, resetting their cost basis higher.
Result: They lock in gains at a 0% federal rate and reduce future taxable gains when they eventually sell in a higher-income year. Unlike loss harvesting, there is no wash sale rule for realizing gains.
This is one of the best examples of capital gains tax strategies for early retirees, people between jobs, or business owners in a low-profit year.
Charitable giving: donating appreciated stock instead of cash
Another elegant example of capital gains tax strategies is donating appreciated investments instead of writing a check.
Real example:
- An investor bought \(10,000 of an S&P 500 ETF years ago; it’s now worth \)30,000.
- They plan to donate $30,000 to charity this year.
Two paths:
- Sell the ETF, realize a $20,000 gain, pay capital gains tax, then donate the net cash.
- Transfer the ETF shares directly to a qualified charity or donor-advised fund.
In path 2:
- The investor avoids capital gains tax on the $20,000 appreciation.
- If they itemize deductions, they may deduct the full $30,000 fair market value (subject to IRS limits and AGI caps).
The charity gets the full $30,000 worth of shares and can sell them without paying tax. This is one of the cleanest examples of aligning generosity with tax efficiency.
The IRS outlines rules for non-cash charitable contributions in Publication 526.
Using a donor-advised fund as a multi-year strategy
Taking that idea further, donor-advised funds (DAFs) offer another example of capital gains tax strategies that blend timing and giving.
Real example:
- A tech employee has a windfall year in 2024 from stock options.
- Their income spikes, pushing them into a higher bracket.
- They also hold highly appreciated company stock and index funds in a taxable account.
They open a donor-advised fund and transfer $100,000 of appreciated shares:
- They avoid capital gains tax on the embedded appreciation.
- They may claim a large charitable deduction in 2024, when their tax rate is highest.
- They then recommend grants from the DAF to charities gradually over the next 5–10 years.
This is a good example of using a single high-income year to front-load charitable giving and reduce the tax hit from concentrated gains.
Timing sales around income changes and surtaxes
Not all examples of capital gains tax strategies involve complex structures. Sometimes it’s just about timing.
Real example:
- A married couple expects their income to drop in 2026 when one spouse retires.
- They hold a rental property with a large unrealized gain.
- If they sell in 2025, the gain stacks on top of their high earned income and may trigger the 3.8% Net Investment Income Tax (NIIT) and a higher capital gains bracket.
- If they wait until 2026, their ordinary income falls, possibly avoiding NIIT and keeping them in a lower capital gains bracket.
By modeling two scenarios with a tax professional, they see that waiting one year could save tens of thousands in tax. Same property, same gain, completely different after-tax outcome.
This kind of timing decision is a quiet but powerful example of capital gains tax strategies in real life.
Using tax-efficient funds and ETFs to minimize annual gains
Another category of examples includes fund selection. Not all mutual funds and ETFs behave the same way from a tax perspective.
Real example:
- Investor A holds a high-turnover actively managed mutual fund in a taxable account.
- Investor B holds a broad-market ETF tracking the same index in a taxable account.
Over several years:
- Investor A receives large year-end capital gains distributions as the mutual fund manager trades frequently.
- Investor B receives relatively small distributions, because ETFs and index funds tend to have lower turnover and more tax-efficient mechanics.
Investor B doesn’t avoid tax forever, but more of the gain is deferred until they choose to sell, giving compounding more time to work.
This is one of the best examples of capital gains tax strategies that doesn’t require constant tinkering—just picking tax-efficient vehicles from the start.
Pairing capital gains strategies with retirement withdrawals
As investors transition into retirement, examples of capital gains tax strategies often show up in withdrawal planning.
Real example:
A 65-year-old retiree has:
- A traditional IRA
- A Roth IRA
- A taxable brokerage account with large unrealized gains
Instead of drawing only from the IRA, they:
- Take modest IRA withdrawals to stay below higher tax brackets.
- Fill the rest of their spending needs by selectively realizing long-term gains from the taxable account.
- Use harvested capital losses from prior years to offset some of those gains.
This coordinated approach can help smooth taxable income, manage Medicare IRMAA surcharges, and keep overall tax rates lower over the retirement horizon.
The broad tax principles around retirement distributions are consistent with guidance in IRS Publication 590-B, though the strategy design typically benefits from a planner or CPA.
FAQs: short answers with real examples
What are some simple examples of capital gains tax strategies I can start with?
Three straightforward starting points:
- Favor long-term holding over short-term trading to access lower long-term capital gains rates.
- Use tax-loss harvesting when markets dip, selling losers and reinvesting in similar (but not identical) funds.
- Keep tax-efficient index ETFs in taxable accounts and higher-income assets (like bonds and REITs) in tax-advantaged accounts.
These examples of basic behavior changes often move the needle more than exotic structures.
Can you give an example of avoiding capital gains tax legally?
A clean example of legally avoiding capital gains tax is donating appreciated stock to a qualified charity instead of selling it. You skip the capital gains tax on the appreciation and may still get a charitable deduction if you itemize. Another example is realizing long-term gains in a year when your income is low enough to fall into the 0% long-term capital gains bracket.
Are these examples of capital gains tax strategies only for the wealthy?
No. While large portfolios create more dramatic dollar amounts, most of the best examples—like holding for the long term, tax-loss harvesting in a taxable account, or using tax-efficient funds—work for investors with a few thousand dollars as well as those with a few million. The concepts scale; the tax code doesn’t require you to be rich to use them.
How do I know which example of strategy fits my situation?
Start by mapping:
- Your current and expected future income
- Your mix of taxable, tax-deferred, and Roth accounts
- Your unrealized gains and losses
From there, you can match your profile to the examples of capital gains tax strategies above: low-income year? Look at tax-gain harvesting. Big concentrated position? Consider charitable donations of appreciated shares or staged selling. Near retirement? Coordinate IRA withdrawals with capital gains.
Are these strategies valid outside the U.S.?
The logic behind many of these real examples—like deferring gains, harvesting losses, and donating appreciated assets—shows up in other countries’ tax systems too. But the rates, thresholds, and specific rules differ. Always check your country’s tax authority and, ideally, a local tax professional before copying U.S.-based examples.
Final thoughts: using examples of capital gains tax strategies without overcomplicating your life
You don’t need an advanced tax degree to benefit from these examples of examples of capital gains tax strategies. In practice, most successful investors lean on a small set of repeatable habits:
- Favor long-term gains over short-term flips.
- Be intentional about which assets live in which accounts.
- Use losses and low-income years strategically.
- Let charitable giving pull double duty as tax planning.
If you treat taxes as a design constraint rather than an afterthought, the moves described here become part of how you invest, not a year-end scramble. And that, more than any single trick, is what actually improves your after-tax returns over time.
Related Topics
Examples of Tax Implications of Dividends: 3 Practical Real-World Scenarios
Real examples of tax considerations for real estate investments
Real-World Examples of Tax-Efficient ETF Strategies
Smart examples of tax-efficient investing strategies explained for 2025
Smart examples of capital gains tax strategies investors actually use
Top examples of tax-deferred investment accounts explained for smarter investing
Explore More Tax-Efficient Investing
Discover more examples and insights in this category.
View All Tax-Efficient Investing