Practical Guides

Taxes on Investments: A Complete Guide to Minimizing What You Owe

By Maria Arroyo | 11 min read | April 2024

Investment taxes and tax planning

Taxes are one of the largest drags on investment returns over time, yet they receive surprisingly little attention from most individual investors. A dollar earned in investment returns does not translate to a dollar of purchasing power after taxes—it may translate to as little as $0.60 depending on your tax bracket and how you invest. The difference between tax-efficient and tax-inefficient investing can amount to hundreds of thousands of dollars over a lifetime of investing, all else being equal.

Understanding how investment taxes work—capital gains, dividend taxation, tax-advantaged accounts, and the strategies available to minimize legal tax burdens—is among the highest-return financial education investments you can make. This guide covers the fundamental concepts and practical strategies that help smart investors keep more of what they earn.

Types of Investment Income

Capital Gains

Capital gains are the profits earned when you sell an investment for more than you paid. They are categorized as either short-term (investments held for one year or less) or long-term (investments held for more than one year). This distinction matters enormously for tax purposes. Short-term capital gains are taxed at your ordinary income tax rate—which can be as high as 37% for the highest earners. Long-term capital gains are taxed at preferential rates of 0%, 15%, or 20%, depending on your total taxable income. This tax structure creates a powerful incentive to hold investments for more than one year whenever possible.

Capital losses work in the opposite direction. If you sell an investment for less than you paid, you realize a capital loss that can offset capital gains dollar-for-dollar. If your capital losses exceed your capital gains, you can deduct up to $3,000 of the excess loss against ordinary income each year, carrying forward any remaining losses to future tax years. This loss-offsetting mechanism is the foundation of tax-loss harvesting strategies.

Dividend Taxation

Dividends are payments made by companies to their shareholders, typically from earnings. They are taxed in two ways depending on their classification. Qualified dividends—paid by U.S. companies and certain foreign companies that meet holding period requirements—are taxed at long-term capital gains rates. Non-qualified dividends (also called ordinary dividends) are taxed at ordinary income rates. Most dividends paid by stocks traded on major U.S. exchanges are qualified, but dividends from REITs, master limited partnerships, and money market funds are typically non-qualified.

Some dividends—particularly those paid by money market funds and certain short-term securities—may be treated as ordinary income rather than qualified dividends. Understanding the classification of your dividend income matters for tax planning purposes.

Tax planning for investments

Tax-Advantaged Account Strategies

Maximizing Tax-Deferred Accounts

The most powerful tax strategy for most investors is maximizing contributions to tax-advantaged retirement accounts. Traditional 401(k) and IRA contributions reduce your taxable income in the year you make them—you pay taxes now but your money grows tax-deferred and you pay taxes only when you withdraw in retirement. Roth 401(k) and Roth IRA contributions are made with after-tax dollars, but all qualified withdrawals in retirement—including decades of compounded growth—are completely tax-free. The choice between traditional and Roth depends primarily on whether you expect to be in a higher or lower tax bracket in retirement.

For those with access to a Health Savings Account (HSA) through a high-deductible health plan, the HSA represents the most tax-advantaged account available—triple tax advantaged with tax-deductible contributions, tax-free growth, and tax-free withdrawals for qualified medical expenses. After age 65, HSA withdrawals for non-medical purposes are taxed as ordinary income, similar to traditional IRA withdrawals.

Asset Location

Different investments generate different types of income, and placing tax-inefficient investments inside tax-advantaged accounts while holding tax-efficient investments in taxable accounts maximizes overall after-tax returns. Bond interest, REIT dividends, and actively managed fund distributions—all taxed as ordinary income—are most efficiently held in tax-advantaged accounts. Tax-efficient investments like broad-market index funds, which generate primarily qualified dividends and occasional low-turnover capital gains, can appropriately reside in taxable accounts where their tax efficiency minimizes annual tax burdens.

Tax-Loss Harvesting

Tax-loss harvesting is the practice of deliberately selling investments that have declined in value to realize losses that can offset gains elsewhere in your portfolio or reduce ordinary income. The key requirement is that you must actually sell the investment to realize the loss; paper gains or losses that exist only on statements do not create tax benefits. After harvesting a loss, you can immediately purchase a similar—but not substantially identical—investment to maintain your market exposure while capturing the tax benefit.

For example, if you hold a total stock market index fund that has declined by $5,000 and you have $5,000 of capital gains from other investments, you could sell the index fund to realize the $5,000 loss, offsetting your gains entirely. You could then immediately purchase a different total market ETF (such as one tracking a slightly different index) to maintain your market exposure. The wash sale rule prohibits claiming losses on substantially identical securities purchased within 30 days before or after the sale, so the similar-but-different requirement is critical.

Estate Tax Considerations

For high-net-worth investors, estate planning introduces additional investment tax considerations. The step-up in cost basis that heirs receive on inherited assets—meaning they inherit the asset at its fair market value on the date of the original owner's death rather than the original purchase price—can eliminate significant capital gains tax liability. Strategic gifting of appreciated assets during lifetime, as well as qualified opportunity zone investments and other estate planning vehicles, can help high-net-worth investors minimize the combined impact of income and estate taxes.

Key Takeaway

Investment taxes significantly impact long-term returns. Hold investments for more than one year to qualify for lower long-term capital gains rates, place tax-inefficient investments in tax-advantaged accounts, and practice tax-loss harvesting systematically. Work with a qualified tax professional to develop a tax strategy integrated with your broader investment and estate planning.

For further reading, see our articles on Investment Glossary and Roth IRA vs Traditional IRA.

Maria Arroyo

Maria Arroyo

Certified Financial Planner

Maria has 20 years of experience helping investors minimize tax burdens through disciplined, tax-efficient investment strategies.