Warren Buffett earned $704 million in dividends in 2021.
His maximum tax rate on that income? Just 20%.
Meanwhile, a corporate executive earning $24.8 million in salary gets taxed at 37%. Almost double the rate - on a fraction of the money.
That's not an accident. The U.S. tax code is designed to benefit investors. And capital gains tax - the tax you pay on profits from selling an investment - is one of the biggest places where that shows up.
You can't dodge it entirely. But you can legally shrink it.
Sometimes all the way down to zero.
Let's break down what capital gains taxes are, how they work, and how you can legally pay less of them as an investor.
But first: Want to stay up to date with everything happening the the business and financial world?
Subscribe to our free daily newsletter Market Briefs.
How Capital Gains Tax Actually Works
Before you can reduce it, you need to understand how it's calculated.
When you sell an investment for more than you paid, that profit is a capital gain. The IRS wants a cut of it.
But not all gains are taxed the same way. There are two types:
- Short-term capital gains come from investments held for less than one year. These are taxed at your regular income tax rate - up to 37%.
- Long-term capital gains come from investments held for more than one year. These are taxed at lower rates: 0%, 15%, or 20%, depending on your income.
That difference alone is one of the biggest reasons long-term investing beats short-term trading for most people.
Strategy 1: Hold Your Investments for More Than a Year
Sell a stock after 364 days and you could pay up to 37% on the profit.
Sell it after 366 days and the max drops to 20%.
Same stock. Same gain. Completely different tax bill.
Patience is one of the simplest ways investors reduce capital gains taxes - and it costs nothing. This is also why knowing when to buy a stock and when to sell a stock matters so much.
Strategy 2: Use Tax-Loss Harvesting
You have winners in your portfolio. You probably have some losers too.
Tax-loss harvesting lets you use those losers to your advantage. You sell the investments that have dropped in value and use those losses to offset the gains from your winners.
Say you have Stock A that gained $5,000 and Stock B that lost $3,000. If you sell both, you only owe capital gains tax on $2,000 ($5,000 gain minus $3,000 loss).
If your losses are bigger than your gains in a given year, you can even carry the extra losses forward to offset gains in future years.
You can also immediately buy a similar - but not identical - investment to stay in the market. Sold an S&P 500 ETF at a loss? You could buy a different S&P 500 ETF right away.
One rule to know: the wash sale rule says if you buy back the same or substantially identical security within 30 days, you can't claim that loss. Timing and selection matter.
This strategy works in taxable brokerage accounts - not retirement accounts.
Strategy 3: Invest Through a Roth IRA or Roth 401(k)
A Roth account is one of the only places where capital gains tax is truly zero.
You invest money you've already paid income tax on. It grows. And when you retire, you can pull it out - gains and all - without owing the IRS a single dollar.
A traditional 401(k) or IRA flips the script. You skip taxes on the money going in, but you pay taxes when you take it out in retirement.
Both have their place. But if tax rates go higher in the future - and with the U.S. government sitting on record debt, that's a real possibility - a Roth could save you a lot of money.
Worth noting: even the founder of the 401(k) has said publicly that it was never meant to be anyone's sole retirement vehicle.
Start there, get the company match if your employer offers one, and then figure out what else fits your plan to retire a millionaire.
Strategy 4: Take Advantage of Real Estate Tax Breaks
Real estate has some of the biggest tax benefits in the entire tax code.
Say you made $10,000 in profit from your rental properties after paying all expenses.
You can tell the IRS that your property is one year older and claim what's called the depreciation deduction - a paper write-off that reduces your taxable income even if the property went up in value.
You made money. But on paper, you're showing less income. And you pay taxes on what's on paper.
On top of that, you get to deduct your ordinary and necessary business expenses.
- The truck to visit properties.
- Meals with your property managers.
- Travel to look at potential investments.
Real estate investors earn what's called passive income - and it comes with lower tax rates and more deductions than earned income from a job.
It's one of the reasons real estate is so popular among serious wealth builders.
Strategy 5: Use Municipal Bonds for Tax-Free Income
Municipal bonds - or munis - are issued by state and local governments to fund things like schools and bridges.
The interest you earn is often exempt from federal taxes, and sometimes state and local taxes too.
If you're in the 24% tax bracket and a municipal bond pays 4% tax-free, that's equivalent to earning about 5.26% on a taxable investment. The tax savings compound over time.
Munis aren't going to make you rich overnight. But for investors in higher tax brackets looking for steady, tax-free income from their assets, they're a smart addition to the portfolio.
Strategy 6: Focus on Qualified Dividends
Not all dividends hit your tax bill the same way.
Qualified dividends are taxed at the same lower rates as long-term capital gains - 0%, 15%, or 20% depending on your income.
Ordinary dividends are taxed at your regular income tax rate, which can be significantly higher.
If you're building an income portfolio with dividend stocks, this distinction matters. Same company, same dividend check - but how it's classified can change how much of it you actually keep.
Looking for reliable dividend payers? Start with the Dividend Aristocrats or Dividend Kings - companies with decades-long track records of raising their payouts every year.
Strategy 7: Get a Good Tax Advisor
The IRS tax code is over 2,000 pages long. You can't master it on your own.
And if all your tax advisor is doing is filing your returns, you're leaving money on the table.
The real value is in tax planning and tax strategizing - sitting down with an advisor and figuring out what you can do with your money today, based on the deductions available right now, to reduce what you owe.
This is a key part of wealth planning that most investors skip.
The tax code is a rule book. The investors who win the tax game are the ones who understand the rules. And to understand the rules, you want a good advisor in your corner.
A few hundred dollars for professional advice can save you thousands in taxes.
That's one of the best returns on investment you'll ever see. For more strategies, check out our full breakdown on 11 ways to legally pay less taxes.
The Bottom Line: How To Avoid Capital Gains Tax
You can't eliminate capital gains tax on every investment. But you can legally reduce what you owe - sometimes dramatically.
- Hold investments for over a year.
- Harvest your losses.
- Use Roth accounts for tax-free growth.
- Take advantage of real estate depreciation.
- Consider munis for tax-free income.
- Pay attention to how your dividends are classified.
- And work with a tax advisor who plans ahead, not one who just files paperwork.
The IRS gets a copy of your 1099-B directly from your broker. They know what you bought and sold, so don't skip your taxes.
But don't overpay them either.
Investors: Just like taxes, you need to know understand what's happening in the financial world to be a successful investor.
Our free daily newsletter Market Briefs breaks down what's happening and what you need to know if 5 minutes or less every day.

