
Watching an investment grow is one of the most satisfying parts of building wealth. Selling it, however, can bring an unwelcome surprise when the tax bill arrives. Capital gains tax applies whenever you sell an asset for more than you paid, and how much you owe depends on how long you held it, how much you earn and where you live. A little planning before you sell can make a meaningful difference to what you actually keep.
Short-Term vs Long-Term Gains
The single most important rule is the holding period. If you sell an investment you have owned for one year or less, the profit is a short-term gain and is taxed at your ordinary income tax rate, which can be as high as 37 percent at the federal level. If you hold it for more than one year, the profit becomes a long-term gain and qualifies for lower federal rates of 0, 15 or 20 percent, depending on your taxable income.
That difference can be dramatic. A household in the 24 percent federal bracket that sells a stock after eleven months pays 24 percent on the gain, while waiting just a few more weeks could drop the rate to 15 percent. Higher earners may also owe an additional 3.8 percent net investment income tax, and California taxes all capital gains as regular income at the state level, so the total bill for local investors can be larger than many expect.
Use Tax-Loss Harvesting
Losses can be useful. When an investment in a taxable account has fallen below what you paid, selling it locks in a capital loss that can offset capital gains elsewhere in your portfolio. If your losses exceed your gains, you can deduct up to $3,000 of the excess against ordinary income each year and carry the rest forward to future years. Just be careful with the wash-sale rule, which disallows the loss if you buy the same or a substantially identical investment within 30 days before or after the sale.
It is not what your investments earn that matters most. It is what you keep after taxes.
Put the Right Investments in the Right Accounts
Where you hold an investment matters as much as what you hold. Tax-advantaged accounts such as 401(k)s, traditional IRAs and Roth IRAs let your investments grow without capital gains tax each year. Placing frequently traded funds or high-turnover strategies inside these accounts, while keeping long-term, buy-and-hold investments in taxable accounts, can quietly lower your tax bill year after year. This approach is often called asset location.
Timing your sales also helps. If you expect a lower-income year, such as a sabbatical, a gap between jobs or the early years of retirement, that may be the ideal window to realize gains at a lower rate, possibly even the 0 percent long-term rate. Spreading large sales across two tax years can also keep you from jumping into a higher bracket all at once.
Special Rules Worth Knowing
Some assets follow their own rules. When you sell your primary home, you can usually exclude up to $250,000 of gain, or $500,000 for married couples filing jointly, if you owned and lived in it for at least two of the last five years. Giving appreciated shares to charity instead of cash can avoid the gain entirely, and investments passed to heirs generally receive a step-up in cost basis, which can erase decades of built-up gains.
Every situation is different, so the smartest strategy depends on your income, goals and timeline. Our tax advisors at Next Finance Step review your portfolio, map out when and how to sell and coordinate with your investment plan so that each move keeps more of your profits working for you.
Ready to Plan Your Next Step?
Book a free consultation with a Next Finance Step advisor in Vista or by phone. We will review your situation and show you the options that fit.

