top of page
Search

Capital Gains Tax Basics: What It Is, How It Works, and How to Reduce It

  • Writer: April Patterson
    April Patterson
  • Aug 5
  • 5 min read

Selling something for more than you paid feels great, until tax season taps you on the shoulder. That extra money may count as a capital gain, and the IRS may want a piece of it.


Capital gains tax can affect stocks, mutual funds, crypto, rental properties, land, collectibles, and even your home in some cases. The good news is that the basics aren’t too hard once you know what counts, how timing matters, and which rules can lower the bill.


This article is for general information only, not tax, legal, or investment advice. A tax pro can help with your exact situation.


Close-up view of a calculator beside house keys and handwritten numbers
Capital gains usually start with one simple question: what did you buy it for and what did you sell it for?

What capital gains tax is and how it works


A capital gain happens when you sell a capital asset for more than your cost basis.


Your cost basis is usually what you paid for the asset, plus certain costs tied to buying or improving it. For a stock, that might be the purchase price plus trading fees. For a home, it may include the purchase price plus qualifying improvements, like a new roof or room addition.


Here’s the simple version:


Sale result

What it means

You sell for more than your basis

You have a capital gain

You sell for less than your basis

You have a capital loss

You sell for the same as your basis

No gain or loss


Example: You buy shares for $5,000 and later sell them for $7,000. Your gain is $2,000 before any adjustments. That gain may be taxable.


You usually don’t owe capital gains tax just because an investment rises in value. The tax generally comes into play when you sell or dispose of the asset. That’s called realizing the gain.


Short-term and long-term gains are taxed differently


Timing matters a lot.


A short-term capital gain usually comes from selling an asset you held for one year or less. The IRS generally taxes short-term gains like ordinary income. That means the gain gets added to your wages or other income and taxed at your regular federal income tax rate.


A long-term capital gain usually comes from selling an asset you held for more than one year. Long-term gains often get lower federal tax rates, commonly 0%, 15%, or 20%, depending on taxable income and filing status. Some higher-income taxpayers may also owe the net investment income tax.


State taxes may apply too. Some states tax capital gains as regular income, while others treat them differently.


Eye-level view of two jars labeled short term and long term with coins inside
The holding period can make a big difference in how a gain is taxed.

The one-year mark can be a big deal. Selling at 11 months and 29 days can be treated very differently from selling after more than a year.


Common exemptions and deductions that can help


Not every gain gets taxed the same way. Some rules can reduce or even remove part of the tax.


The home sale exclusion can be powerful


If you sell your main home, you may be able to exclude up to $250,000 of capital gain if you file single, or up to $500,000 if you’re married filing jointly.


To qualify, you generally must have owned and lived in the home as your primary residence for at least two of the five years before the sale. There are extra rules, so don’t assume every home sale qualifies.


Capital losses can offset gains


If you sell an investment at a loss, that loss can offset capital gains. This is called tax-loss harvesting when done intentionally in an investment account.


If your losses are more than your gains, you may be able to use up to $3,000 of net capital losses per year to offset ordinary income. Extra losses can often carry forward to future years.


One caution: the wash sale rule can limit losses on securities if you buy the same or a substantially identical investment too soon before or after the sale.


Property costs and improvements may increase basis


For real estate, basis can include certain closing costs and capital improvements. Repairs usually don’t count the same way.


A new HVAC system may increase basis. Painting a bedroom before listing the home usually may not. Keeping records matters here.


How capital gains tax affects investments


Capital gains tax can change the real return on an investment.


Let’s say an investment grows by $10,000. If part of that goes to taxes, your after-tax gain is lower. That doesn’t mean taxes should drive every decision, but they should be part of the plan.


Capital gains tax can affect:


  • When you sell an investment

  • Which assets you sell first

  • Whether you hold long enough for long-term treatment

  • How you rebalance a portfolio

  • Whether you sell a rental property, exchange it, or keep it


For real estate investors, gains may also come with other tax issues, such as depreciation recapture. That’s where deductions taken during ownership may be taxed when the property is sold.


Wide-angle view of a small rental house with a sold sign in the yard
Real estate sales can create capital gains, and sometimes extra tax questions too.

Taxes shouldn’t scare you away from investing. They just remind you to look at the full picture, not only the sale price.


Practical ways to reduce capital gains tax


You can’t always avoid capital gains tax, but you can often manage it better.


Try these common strategies:


  • Hold assets longer when it makes sense


Crossing from short-term to long-term treatment can lower the federal tax rate on a gain.


  • Use capital losses wisely


Selling underperforming investments may help offset gains elsewhere.


  • Track your basis carefully


Save records for purchase costs, reinvested dividends, and qualifying improvements.


  • Plan home sales around the exclusion rules


If you’re close to meeting the two-year ownership and use tests, timing may matter.


  • Spread income across tax years when possible


In some cases, selling in a different year may affect your tax bracket or long-term capital gains rate.


  • Consider charitable giving


Donating appreciated assets to a qualified charity may help avoid selling the asset first, though the rules can be detailed.


  • Talk before you sell


A short conversation with a tax professional before a major sale can save a lot of stress later.


If you’re selling a home, land, or investment property and want to think through the real estate side of the decision, get in touch with Navy Vet Real Estate.


Overhead view of a notebook with a simple tax planning checklist beside a cup of coffee
A little planning before a sale can make tax time much easier.

Common questions about capital gains tax


Do I pay capital gains tax if I don’t sell?


Usually, no. In most cases, you pay tax only when you sell or otherwise dispose of the asset and realize the gain.


Are capital gains taxed the same as regular income?


Short-term gains are generally taxed like regular income. Long-term gains usually receive lower federal tax rates.


Does selling my house always create a taxable gain?


No. Many homeowners qualify for the home sale exclusion, but the rules depend on ownership, use, filing status, and past exclusions.


Can I deduct a capital loss?


Yes, capital losses can offset capital gains. If losses exceed gains, you may be able to deduct up to $3,000 against ordinary income each year and carry the rest forward.


Should I avoid selling just because of taxes?


Not always. Taxes matter, but so do cash needs, risk, life changes, and investment goals. The best choice is usually the one that makes sense after taxes, not just before them.


Capital gains tax is really about three things: what you paid, what you sold for, and how long you held the asset. Once you understand those pieces, the rules feel a lot less mysterious.


Before making a big sale, gather your records, estimate the gain, check whether an exemption applies, and ask for professional advice if the numbers are meaningful. A little planning can keep a good financial move from turning into an unpleasant surprise.


 
 
 

Comments


APRIL PATTERSON

EMAIL

PHONE NUMBER

(360) 724-8941

ADDRESS

NEWSLETTER

Stay up-to-date with exclusive news and market updates.

9317 State Ave Ste A, Marysville, WA 98270

Orca Logo4.png
unnamed (11).png

Powered by the Posting Agent

Copyright © 2026 | Privacy Policy

  • Youtube
  • LinkedIn
  • TikTok
  • Facebook
  • Instagram
logo-realtor-equal-housing-png (1).png
bottom of page