Capital Gains Tax: What You Pay and When

Capital Gains Tax: What You Pay and WhenSelling a stock, a rental property, or cryptocurrency for more than you paid can create Capital Gains that must be reported on your federal tax return.

The amount of tax you owe depends on how long you owned the asset, your total taxable income, and the type of property you sold.

For many taxpayers, the key is not simply the sale price. Your taxable gain is generally the difference between what you received from the sale and your adjusted cost basis. Keeping purchase records, brokerage statements, and documentation for improvements can make a meaningful difference when it is time to file.

What are capital gains?

A capital gain occurs when you sell a capital asset for more than its basis. Common capital assets include stocks, mutual funds, exchange-traded funds, bonds, cryptocurrency, real estate, and personal property held for investment.

Your basis usually starts with what you paid for the asset, including certain purchase costs. It can change over time. For example, qualifying improvements to a home may increase its basis, while depreciation claimed on a rental property can reduce it. Sale expenses, such as commissions or transaction fees, generally reduce the amount you realize from the sale.

Save 10% on TurboTax Online Tax Filing!
Get your taxes done right and Save 10%. Keep more of your hard-earned money with TurboTax online.

If you sell an asset for less than its basis, you have a capital loss instead of a gain.

Short-term vs. long-term Capital Gains

The holding period is one of the most important rules. If you owned an asset for one year or less before selling it, the gain is short-term. Short-term capital gains are taxed at ordinary federal income tax rates, the same rates that may apply to wages, interest, and other regular income.

If you owned the asset for more than one year, the gain is generally long-term. Long-term capital gains may receive lower federal tax rates of 0%, 15%, or 20%. The rate that applies depends on your taxable income and filing status.

A lower long-term rate is not automatic. A taxpayer with substantial income may fall into the 20% capital gains rate, while a taxpayer with lower taxable income may qualify for the 0% rate on some or all long-term gains. Your ordinary income uses up space in the lower income ranges first, which is why a gain can be taxed at more than one rate.

Some higher-income taxpayers may also owe the 3.8% Net Investment Income Tax. This tax can apply when modified adjusted gross income exceeds $200,000 for single or head-of-household filers or $250,000 for married couples filing jointly.

Reporting investment and crypto sales

Most brokerage firms issue Form 1099-B showing proceeds from sales of stocks and other investments. The form may also report your cost basis and whether the holding period was short-term or long-term. Review it carefully. The information sent to you is also generally reported to the IRS.

Taxpayers commonly use Form 8949 to list individual transactions and Schedule D to summarize capital gains and losses. If you received a Form 1099-B, do not assume every number is complete or correct. Basis may be missing for older shares, transferred accounts, employee stock transactions, or certain investments.

Cryptocurrency is generally treated as property for federal tax purposes. Selling crypto for cash, trading one cryptocurrency for another, or using crypto to buy goods or services can create a taxable gain or loss. The original purchase price and the value at the time of the transaction matter.

Capital losses can reduce taxable gains

Capital losses first offset capital gains of the same general type. Net short-term losses and net long-term losses are then combined under IRS ordering rules. If your total result is a net capital loss, you can generally deduct up to $3,000 against other income in one tax year, or up to $1,500 if married filing separately.

Losses above that limit are not necessarily lost. They generally carry forward to future tax years until used. This can be helpful for investors with a large loss after a market decline.

Be careful when selling securities at a loss. The wash-sale rule can disallow a current loss if you buy the same or a substantially identical security within 30 days before or after the sale. The disallowed loss is usually added to the basis of the replacement shares instead.

Special rules for a home sale

A gain from selling your main home may qualify for a valuable exclusion. If you owned and used the home as your primary residence for at least two of the five years before the sale, you may be able to exclude up to $250,000 of gain. Married couples filing jointly may be able to exclude up to $500,000 when both spouses meet the use requirement and other rules are met.

This exclusion does not apply automatically to every sale. A second home, vacation property, or rental property usually follows different rules. Rental-property sales may also involve depreciation recapture, which can be taxed differently from regular long-term capital gains.

Do states tax capital gains?

Many states tax capital gains as ordinary income under their own income tax systems, rather than using the special federal 0%, 15%, and 20% rates. A few states have no broad individual income tax, while others have separate rules, exemptions, or surtaxes. Check your resident state and any state where you sold real property.

Before you sell an appreciated asset, estimate the federal and state tax effect, confirm your basis, and consider whether waiting until you meet the one-year holding period changes the result. A few minutes of planning before a sale can prevent an unpleasant surprise when you prepare your return.

Save 10% on TurboTax Online Tax Filing!
Get your taxes done right and Save 10%. Keep more of your hard-earned money with TurboTax online.