This site is privately owned and the information provided is free of charge. Learn more here.
Capital gains are profits you make when you sell an asset for more than you paid for it. This can include stocks, bonds, real estate, artwork, or collectibles. For example, if you bought a stock for $1,000 and sold it for $1,500, your capital gain is $500. The difference between what you paid (called your "basis") and what you received (called your "amount realized") creates the taxable gain.
Understanding Credit Card Payment Due Dates →
The IRS taxes capital gains as income, but the tax rate depends on how long you held the asset. Short-term capital gains come from assets you held for one year or less, and these are taxed at your ordinary income tax rates, which can reach 37% for high earners. Long-term capital gains come from assets held for more than one year, and these receive preferential tax rates of 0%, 15%, or 20%, depending on your income level.
According to the Congressional Budget Office, capital gains realizations totaled approximately $2.1 trillion in 2021, demonstrating the substantial scale of investment activity across the country. Understanding how gains are calculated and taxed is the foundation for exploring ways to reduce your tax burden legally.
The distinction between short-term and long-term gains matters significantly. A $10,000 short-term gain might result in $3,700 in federal tax for a top earner, while the same $10,000 long-term gain could cost only $2,000 in federal tax. This 46% difference shows why timing asset sales strategically can produce real results.
Practical Takeaway: Review your investment portfolio and identify which assets have unrealized gains. Determine how long you have held each position. Assets held longer than one year may offer tax advantages when sold, so consider timing sales accordingly.
Tax-loss harvesting involves selling investments at a loss to offset capital gains from other investments. If you have a stock that declined in value, selling it generates a loss that can reduce or eliminate taxes on your gains. The IRS allows you to deduct net capital losses against ordinary income up to $3,000 per year, with unlimited carryforward of excess losses to future years.
Your Free Guide to Kohl's Credit Card Options →
Here is a practical example: Suppose you sold a rental property and realized a $20,000 capital gain. During the same year, you also held several stocks that declined. If you sell a stock with a $20,000 loss, that loss completely offsets your gain, and you owe zero capital gains tax on the transaction. Without harvesting that loss, you would face federal tax on the $20,000 gain at rates ranging from 15% to 20%, costing $3,000 to $4,000 in federal tax alone.
The IRS has a rule called the "wash-sale rule" that prevents you from claiming a loss if you buy the same or substantially identical security within 30 days before or after the sale. However, you can work around this by purchasing a similar but not identical investment. For example, if you sell a specific large-cap index fund at a loss, you could purchase a different large-cap index fund from another provider within the 30-day window, maintaining your market exposure while preserving the tax loss.
Many investors harvest losses throughout the year rather than waiting until year-end. This approach captures losses when they occur and provides flexibility in managing your portfolio. Some investors maintain a "loss inventory" in a spreadsheet, tracking losses available for harvesting and matching them against gains throughout the year or in future years.
Practical Takeaway: Review your investment portfolio quarterly for positions with losses. Calculate the total losses available and compare them against realized gains in the same year. If losses exceed gains, consider carrying forward excess losses to offset gains in future tax years.
The type of account in which you hold investments significantly affects your capital gains tax burden. Tax-advantaged accounts like 401(k)s, traditional IRAs, and Roth IRAs provide shelter from capital gains taxes. Investments held in these accounts grow without triggering tax on gains until withdrawal (or never, in the case of Roth accounts). In contrast, regular taxable brokerage accounts generate capital gains tax whenever you sell at a profit.
Free Guide to Honda Auto Loan Payment Options →
Asset location strategy involves placing investments most likely to generate capital gains in tax-advantaged accounts and placing investments that produce ordinary income in taxable accounts. For example, bonds typically produce ordinary income taxed at rates up to 37%. Holding bonds in a 401(k) or IRA prevents this high tax treatment. Meanwhile, growth stocks that rarely pay dividends can be held in taxable accounts, where their gains only become taxable when you actually sell.
Consider this scenario: Two investors each have $500,000 to invest. Investor A places $300,000 in a 401(k) and $200,000 in a taxable account. Investor B does the opposite. After 20 years, both have portfolio gains of $400,000. Investor A, who held high-income-producing bonds in the 401(k), defers taxation on those gains. Investor B, who held growth stocks in the taxable account, may owe long-term capital gains tax only when selling, and can control the timing. Investor A likely pays ordinary income tax on the 401(k) withdrawal later, while Investor B may pay lower long-term capital gains rates.
This strategy requires planning when you establish or fund accounts. If you have access to a 401(k) through your employer, maximizing contributions directs more income into a tax-sheltered vehicle. For self-employed individuals, Solo 401(k)s and SEP IRAs offer similar advantages with higher contribution limits. Roth IRAs and Roth 401(k)s provide special benefits because qualified withdrawals are tax-free, including all accumulated gains.
Practical Takeaway: Classify your investments by income type (ordinary income versus capital gains). In your next funding opportunity—whether a workplace 401(k) contribution, IRA funding, or new brokerage account—intentionally place high-income investments in tax-advantaged accounts and growth-focused investments in taxable accounts.
Donating appreciated securities to charity offers a dual tax benefit. When you donate a security that has increased in value, you can deduct the fair market value of the asset on your tax return, and you avoid paying capital gains tax on the appreciation. This strategy often produces better results than selling the asset and donating cash.
Free Guide to Sears Credit Card Login Information →
Here is a concrete example: You own shares of a stock mutual fund worth $20,000 that you purchased for $5,000 (an unrealized gain of $15,000). If you sold the shares, you would owe long-term capital gains tax on $15,000, costing roughly $2,250 to $3,000 in federal tax. However, if you donate the shares directly to a qualified charity, the charity receives $20,000, you deduct $20,000 on your tax return, and you owe $0 in capital gains tax. Your tax savings reach $2,250 to $3,000, plus whatever tax benefit you receive from the charitable deduction itself (generally 22% to 37% of the donation, depending on your tax bracket).
This strategy works with any appreciated security held long-term: stocks, mutual funds, exchange-traded funds (ETFs), and bonds. The charity must be a qualified organization (generally any IRS-recognized 501(c)(3) nonprofit). Many large charities have donor-advised funds or securities acceptance programs specifically designed to receive donated securities.
For donors seeking more control, donor-advised funds (DAFs) provide another path. You can donate appreciated securities to a DAF, receive an immediate tax deduction, and then recommend grants to charities over time. This approach works well for those who want to bunch charitable giving into a single year for maximum tax benefit while distributing actual charity grants across multiple years.
According to Fidelity, in 2022, approximately 48% of all charitable contributions made through donor-advised funds were appreciated securities or other noncash assets, demonstrating the popularity of this strategy among donors seeking tax efficiency.
Practical Takeaway: If you regularly make charitable donations and hold appreciated securities, contact your favorite charities about their process for receiving donated securities. Ask whether they maintain a donor-advised fund. Plan to
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.