Selling an investment for more than you paid can create Capital Gains, but the tax result is not based on the sale price alone. Your holding period, your cost basis, other gains and losses, and your overall taxable income can all affect what you owe. Understanding those pieces before you sell can prevent a surprise when it is time to file.
What Are Capital Gains?
A capital gain is generally the profit from selling a capital asset. Common examples include stocks, mutual funds, exchange-traded funds, bonds, real estate, cryptocurrency, and valuable personal property. If you buy shares for $2,000 and later sell them for $2,600, your gain is usually $600.
The key word is usually. The IRS starts with your sales proceeds, then subtracts your adjusted basis. Basis is often what you paid for an asset, but it can change. For investments, reinvested dividends, stock splits, and certain fees can affect basis. For a home, qualifying improvements may increase basis, while depreciation claimed for a rental property can reduce it.
A gain generally becomes taxable when you sell or otherwise dispose of the asset. Simply watching an investment rise in value in your account does not create a taxable gain. Reinvesting the proceeds after a sale also does not erase the gain from the sale.
Short-Term vs. Long-Term Capital Gains
The holding period is one of the most important tax rules for investors. A short-term capital gain comes from an asset held for one year or less. It is generally taxed at your ordinary income tax rate, the same rate that may apply to wages, interest, pension income, and traditional IRA withdrawals.
A long-term capital gain comes from an asset held for more than one year. Many taxpayers receive a lower federal tax rate on long-term gains. The usual long-term capital gain rates are 0%, 15%, or 20%, depending on taxable income and filing status. Some higher-income taxpayers may also owe the Net Investment Income Tax.
| Save 10% on TurboTax Online Tax Filing! | Save 10% on TurboTax Online tax filing and make preparing your federal and state tax returns easier. |
That difference can make timing matter. Selling shares a few days before they cross the one-year mark may turn what could have been long-term gain into short-term income. Still, tax treatment should not be the only reason to hold an investment. Your financial needs, risk tolerance, and the investment’s outlook also matter.
Certain assets have special rules. Gains on collectibles may face a different maximum rate, and the portion of a real estate gain related to prior depreciation may be taxed under separate rules. These situations can be more complicated than a typical stock sale.
Reporting Capital Gains on Your Tax Return
Brokerage firms commonly send Form 1099-B after you sell investments. It generally reports sale proceeds and may report the cost basis and whether the transaction was short-term or long-term. Review it carefully. A broker may not have complete basis information for shares transferred from another firm, inherited assets, or older holdings.
Many taxpayers report investment sales on Form 8949 and Schedule D, Capital Gains and Losses. The forms allow you to separate short-term and long-term transactions, make needed basis adjustments, and combine gains and losses.
Keep records showing when you bought the asset, what you paid, and any adjustments to basis. For a home, save purchase documents, closing statements, and receipts for major improvements. A new roof or room addition may affect basis; routine repairs usually do not.
Capital Gains From Selling Your Home
Selling a primary residence does not automatically mean you owe federal capital gains tax. If you meet the ownership and use tests, you may be able to exclude up to $250,000 of gain, or up to $500,000 for many married couples filing jointly.
In general, you must have owned and used the home as your main residence for at least two of the five years before the sale. You do not need to have lived there continuously, and the two years do not have to be the same two years you owned it. Exceptions and partial exclusions can apply for certain moves tied to work, health, or unforeseen circumstances.
The exclusion is valuable, but it does not apply in every case. A vacation home, rental property, or home sold soon after a previous exclusion can require different treatment. If part of the home was rented or used for business, prior depreciation may also have to be reported.
Can Capital Losses Reduce Your Tax Bill?
Yes. Capital losses can offset capital gains. If your losses exceed your gains, you may generally deduct up to $3,000 of net capital loss against other income for the year, or up to $1,500 if married filing separately. Unused losses can usually carry forward to a future tax year.
Be careful with the wash sale rule when selling investments at a loss. If you sell a security at a loss and buy the same or a substantially identical security within the restricted time period around the sale, the loss may be deferred rather than currently deductible. This rule can apply across multiple accounts, including an IRA in some situations.
Plan Before You Sell
Before selling an appreciated asset, estimate the gain using accurate basis records and check whether you are close to the long-term holding period. Also consider how a large gain could affect your tax bracket, estimated tax payments, and, for retirees, income-related Medicare premiums. State income tax rules can add another layer because some states tax capital gains differently from the federal government.
A well-timed sale can help, but accurate records matter just as much. Before filing, match every reported sale to your documents and take time to resolve missing cost basis rather than guessing.
| Save 10% on TurboTax Online Tax Filing! |
| Save 10% on TurboTax Online tax filing and make preparing your federal and state tax returns easier. |