How Much Capital Gains Tax Do You Owe When Selling a House in Virginia?
If you are getting ready to sell, the question that usually keeps you up at night is simple: how much capital gains tax do you owe when selling a house in Virginia? The short answer is that most homeowners owe far less than they expect, and many owe nothing at all. As a Northern Virginia real estate agent team, the Jamil Brothers see this confusion constantly, so this guide breaks down exactly what triggers the tax, how the federal exclusion can wipe it out, and how to estimate your own bill before you ever list.
Capital gains tax on a home sale has several layers: a federal rate, Virginia state income tax on the gain, and a possible Net Investment Income Tax for higher earners. Knowing how each one works (and how the primary residence exclusion fits on top) is the difference between a stressful surprise at closing and a clear picture of your real net proceeds. We will walk through the rules, the math, and a few realistic Northern Virginia examples so you can see how much you would actually owe.
Key Takeaways
- The federal Section 121 exclusion shields up to $250,000 (single) or $500,000 (married) of home sale profit from capital gains tax.
- Virginia has no separate capital gains rate, so the gain is taxed as ordinary income at up to 5.75%.
- Long term federal rates (assets held 12 months or more) are 0%, 15%, or 20% depending on total income.
- A 3.8% Net Investment Income Tax can hit higher earners on the taxable portion of a gain.
- Your taxable gain shrinks as your cost basis rises, and basis includes purchase price, improvements, and selling costs.
- Rental and investment properties also face 25% depreciation recapture on top of regular capital gains.
- Strategies like 1031 exchanges, installment sales, and smart timing can lower or defer the bill.
What This Guide Covers
- What Capital Gains Tax on a Home Sale Actually Is
- How Much Is the Federal Capital Gains Tax Rate?
- How the Primary Residence Exclusion Lowers What You Owe
- How Much Does Virginia Tax Your Home Sale Gain?
- When Does the Net Investment Income Tax Apply?
- How Your Cost Basis Reduces the Tax You Owe
- How to Calculate How Much Capital Gains Tax You Owe
- What If You Do Not Fully Qualify for the Exclusion?
- How Much Tax Do You Owe on Investment Properties?
- How Inherited Property Changes What You Owe
- How to Reduce the Capital Gains Tax You Owe
- Mistakes That Increase What Virginia Sellers Owe
- How Your Agent and Commission Affect Net Proceeds
- Plan Your Virginia Home Sale With Confidence
- Frequently Asked Questions
- Glossary of Key Terms
What Capital Gains Tax on a Home Sale Actually Is
A capital gain is the profit you make when you sell something for more than you paid. When that something is your house, both the IRS and Virginia want a share of the profit. How much they take, and whether they take anything at all, depends on how you used the property and how long you owned it.
Real estate capital gains split into two categories, and the difference matters a great deal for what you owe:
| Type | Holding Period | Federal Treatment | Virginia Treatment |
|---|---|---|---|
| Short term | Less than 12 months | Taxed as ordinary income (10% to 37%) | Ordinary income (up to 5.75%) |
| Long term | 12 months or more | Preferential rates: 0%, 15%, or 20% | Ordinary income (up to 5.75%) |
Most Virginia homeowners are dealing with long term gains because they have owned for years, often decades. That is the favorable side from a federal standpoint. Virginia, though, does not reward long holding periods with a lower rate. The state taxes a home sale gain the same as regular income.
How Much Is the Federal Capital Gains Tax Rate?
The IRS taxes long term capital gains at three rates that depend on your total taxable income for the year. These rates apply to the gain that remains after any exclusion is taken, not the full profit.
| Filing Status | 0% Rate (up to) | 15% Rate | 20% Rate (above) |
|---|---|---|---|
| Single | about $48,350 | $48,351 to $533,400 | Over $533,400 |
| Married Filing Jointly | about $96,700 | $96,701 to $600,050 | Over $600,050 |
| Head of Household | about $64,750 | $64,751 to $566,700 | Over $566,700 |
These brackets reflect recent IRS figures and are adjusted for inflation each year. Confirm the current thresholds with a tax professional or at IRS.gov before you rely on them.
Why Short Term Gains Cost So Much More
If you sell a property you owned for less than 12 months, the profit is taxed as ordinary income at your marginal rate, which can reach 37% federally. That makes a quick flip or an early sale far more expensive in tax terms, which is one reason patience usually pays when you are planning selling a house in Virginia.
Federal Long Term Capital Gains Rates (Relative Burden)
How the Primary Residence Exclusion Lowers What You Owe
For most Virginia sellers, the federal Section 121 exclusion is the single biggest reason the tax bill ends up so low. It lets you exclude a large chunk of your gain from federal capital gains tax, and for many homeowners it erases the gain entirely.
How Much You Can Exclude
| Filing Status | Maximum Exclusion |
|---|---|
| Single or Married Filing Separately | $250,000 |
| Married Filing Jointly | $500,000 |
The 2 of 5 Year Rule
To claim the full exclusion, you must pass two tests:
- Ownership test: you owned the home for at least 2 of the 5 years before the sale date.
- Use test: you lived in the home as your primary residence for at least 2 of the 5 years before the sale date.
Those two years do not need to be back to back, and the ownership and use periods do not have to overlap. You could own a home for five years, rent it for two and a half, then live in it for the final two and a half, and still qualify.
The Once Every Two Years Limit
You can use the Section 121 exclusion only once every 24 months. If you claimed it on another primary residence sale less than two years ago, you may not be eligible to use it again yet.
Married Couples and the Use Test
To claim the full $500,000 as a married couple, only one spouse needs to meet the ownership test, but both spouses must meet the use test by living in the home as a primary residence for 2 of the last 5 years. If only one spouse passes the use test, the exclusion drops to that spouse's $250,000.
How Much Does Virginia Tax Your Home Sale Gain?
Virginia does not use a special capital gains rate. Any taxable gain from your home sale is added to your other income and taxed at Virginia's standard income tax rates.
| Virginia Taxable Income (per return) | Tax Rate |
|---|---|
| First $3,000 | 2% |
| $3,001 to $5,000 | 3% |
| $5,001 to $17,000 | 5% |
| Over $17,000 | 5.75% |
In practice, almost any meaningful gain pushes your total income well past $17,000, so the effective Virginia rate on the taxable portion of the gain is usually the full 5.75%.
A Quick Virginia Example
Picture a married couple in Loudoun County with $200,000 of combined W-2 income and a $100,000 taxable gain on their home after the federal exclusion. That $100,000 is added to their Virginia taxable income and taxed at 5.75%, producing a Virginia state tax of roughly $5,750 on the gain alone.
When Does the Net Investment Income Tax Apply?
On top of federal rates and Virginia income tax, some sellers face the Net Investment Income Tax (NIIT), a 3.8% surtax on certain investment income that includes the taxable portion of a real estate gain.
NIIT Income Thresholds
| Filing Status | NIIT Applies When MAGI Exceeds |
|---|---|
| Single | $200,000 |
| Married Filing Jointly | $250,000 |
| Married Filing Separately | $125,000 |
| Head of Household | $200,000 |
The 3.8% applies to the lesser of your net investment income or the amount by which your modified adjusted gross income exceeds the threshold. Importantly, the gain that qualifies for the Section 121 exclusion is not subject to NIIT. Only the taxable portion above the exclusion counts.
What Is the Highest Combined Rate You Could Owe?
For a seller with a large gain above the exclusion, the worst case combined rate on that excess gain looks like this:
That ceiling is rare and only applies to high earners with very large gains above the exclusion. Most Virginia sellers pay far less, and a large share pay nothing at all.
How Your Cost Basis Reduces the Tax You Owe
Your gain is not simply sale price minus original purchase price. It is sale price minus your adjusted cost basis. Because basis is usually much higher than what you paid, it lowers your taxable gain dollar for dollar. Knowing the full cost of selling a house in Virginia helps here too, since many of those selling expenses come straight off the gain you are taxed on.
What Counts Toward Your Cost Basis
| Category | Eligible Items | Notes |
|---|---|---|
| Original purchase | Purchase price, closing costs at purchase, title insurance, recording fees, legal fees | All documented acquisition costs |
| Capital improvements | Kitchen remodel, additions, new roof, HVAC replacement, finished basement, new deck, windows, permanent landscaping | Must add value or extend the life of the home, not routine upkeep |
| Selling costs | Real estate commission, transfer taxes, legal fees, staging, repair credits you paid | Reduce the proceeds used to figure the gain |
| Does not count | Painting, carpet cleaning, minor repairs, lawn care, some appliance swaps | Routine maintenance does not raise basis |
Cost Basis Documentation Checklist
Gather These Before You Calculate Your Gain
- Original purchase contract and HUD-1 or Closing Disclosure
- Receipts for every major renovation project
- Contractor invoices and paid bills
- Building permits for additions and major work
- Insurance settlement documents if you rebuilt after a casualty
- Closing Disclosure from your sale to document selling costs
- Commission agreement or invoice
- Transfer tax paid at closing
Estimate Your Home Value Before You Sell
Use our free home valuation to see what your Northern Virginia property could fetch in today's market. It is the first step in figuring out your potential gain.
Get My Free Home Value →How to Calculate How Much Capital Gains Tax You Owe
Here is a realistic walkthrough for a Northern Virginia seller, a married couple in Ashburn who bought in 2016 and are selling about a decade later.
- Start with your sale price Use the contract price after any seller concessions. Example: a $780,000 sale price with $8,000 in seller paid concessions.
- Build your adjusted cost basis Add original price, purchase closing costs, and capital improvements. Example: $420,000 purchase + $8,500 closing + $65,000 improvements = $493,500 basis.
- Subtract your selling costs Deduct commission and other selling expenses from gross proceeds. At a 1.5% listing fee, commission on $780,000 is $11,700.
- Find your gross gain Net proceeds minus adjusted cost basis. In this case the gross gain comes to about $263,600.
- Apply the Section 121 exclusion A qualifying married couple subtracts up to $500,000, which fully covers the gain and leaves $0 taxable.
Example 1: Ashburn Married Couple
In this common Northern Virginia scenario the couple owes no federal or state capital gains tax, because the exclusion fully covers the gain. That is the reality for most long term homeowners in the region, though it does not hold for everyone, especially higher value homes with very large appreciation.
Example 2: When You Do Owe Tax
McLean Single Seller With a Large Gain
A single seller with a very large gain is exactly where tax planning earns its keep. A qualified CPA can model strategies to bring this number down well before closing.
What If You Do Not Fully Qualify for the Exclusion?
What happens if you have to sell before hitting the 2 of 5 year mark? You may still qualify for a partial exclusion when the sale is driven by a qualifying unforeseen circumstance.
Reasons That Can Trigger a Partial Exclusion
| Category | Qualifying Reasons |
|---|---|
| Work related | Job relocation more than 50 miles away, new employment, change in employment status |
| Health related | A medical condition requiring relocation, caring for a family member |
| Unforeseen events | Divorce or legal separation, multiple births from one pregnancy, disaster damage, death of a co-owner, military orders |
The partial exclusion is figured as months you qualified divided by 24, multiplied by the maximum exclusion. For example, a single person who lived in the home 12 months before moving for work would qualify for $125,000 (12 divided by 24, times $250,000).
How Much Tax Do You Owe on Investment Properties?
Everything above applies to a primary residence. If you are selling a rental property in Virginia, an investment home, a vacation property, or a house you converted from personal to rental use, the picture changes and the tax is usually higher.
No Primary Residence Exclusion
Investment and rental properties do not qualify for the Section 121 exclusion, so the full gain is taxable. The long term federal rates of 0%, 15%, or 20% still apply if you held the property longer than a year.
Depreciation Recapture: The Hidden Tax
If you claimed depreciation on a rental, which the IRS allows and expects over 27.5 years for residential rental property, that depreciation is recaptured at a flat 25% federal rate when you sell, separate from your regular capital gains rate. This is called unrecaptured Section 1250 gain. Local timing and buyer selection matter too, so it pays to map out a tax and buyer strategy for a Fairfax investment property before you list.
Converting a Home to a Rental Before Selling
If you turn your primary residence into a rental before selling, only the portion of the gain tied to the time it was your home may qualify for the exclusion. Gain allocated to nonqualified use (rental periods after 2008) does not qualify. The reverse move, converting a Virginia rental back into your primary residence before selling, can restore part of the Section 121 exclusion if you live in it long enough. This is a nuanced area that a CPA should review.
The 1031 Exchange: Deferring the Tax
Virginia investment property owners can use a 1031 exchange, an IRS provision that defers capital gains tax when you reinvest the proceeds into a like-kind replacement property of equal or greater value.
1031 Exchange Pros
- Defers 100% of the capital gains tax
- Rolls your entire equity into a new investment
- Can exchange into more than one property
- Can be repeated until an estate step up
- Builds wealth without the tax drag
1031 Exchange Cons
- Strict 45 day identification window
- Must close the replacement within 180 days
- Any cash you keep (boot) is taxable
- Requires a qualified intermediary
- Defers the tax, it does not erase it
How Inherited Property Changes What You Owe
Inheriting a home in Virginia comes with a major tax advantage: the stepped up basis. Under federal law, the basis of inherited property resets to its fair market value on the date the original owner died, not what they originally paid.
How the Step Up Works
Inherited Property Example: Fairfax County
The step up in basis is one of the most valuable provisions in the tax code for heirs. Sell soon after inheriting and you may owe little or nothing. Hold the property as it keeps appreciating and a larger gain eventually becomes taxable.
Virginia Estate Tax
Virginia has no state estate tax and no inheritance tax. The step up applies at the federal level, so Virginia heirs generally receive real property without a state estate tax burden, though the usual capital gains rules apply whenever the property is finally sold.
Selling Inherited Property Quickly
Many heirs prefer to sell promptly rather than manage or rent the home. If you sell within the first year, the gain is typically treated as long term regardless of how briefly you held it, because the stepped up basis treatment effectively resets the clock. If the property is still in probate, our guide to the probate and tax steps for an inherited Virginia home walks through the full process. Confirm this with your tax advisor for your circumstances.
How to Reduce the Capital Gains Tax You Owe
You cannot wish the tax away, but there are legitimate, IRS approved ways to lower how much capital gains tax you owe when selling a house in Virginia.
1. Maximize Your Cost Basis
Track down every receipt, permit, and invoice for improvements you have made. Every dollar added to basis is a dollar of gain you are not taxed on. Sellers routinely leave money behind by forgetting documented kitchen remodels, finished basements, new HVAC systems, or additions.
2. Time the Sale Strategically
If your income swings year to year through self employment, retirement, or a big bonus, consider selling in a lower income year. Landing in the 0% federal bracket (roughly under $96,700 for a married couple) can make the gain tax free at the federal level.
3. Consider an Installment Sale
Instead of taking all the proceeds at once, an installment sale spreads the gain across multiple years, which can keep you in a lower bracket each year. It works best when the buyer agrees to structured payments and is common in investment property deals.
4. Use a 1031 Exchange for Investment Property
As covered above, rolling a rental's gain into a like-kind replacement defers the full tax. It is especially powerful in Northern Virginia, where appreciation has been strong and exchanging into a higher performing property is realistic.
5. Harvest Capital Losses
If you hold losing positions in stocks or funds, selling them in the same year offsets your home sale gain. Up to $3,000 of net losses can also offset ordinary income, with the rest carried forward.
6. Keep Your Selling Costs in Check
Commission, transfer taxes, attorney fees, and other seller paid closing costs directly reduce your gain. Choosing a 1.5% full-service listing program instead of a traditional 3% fee on a $700,000 sale means about $10,500 less in commission, which both raises your net proceeds and trims the taxable gain. If your situation is unusual, our flexible commission options can be tailored to the sale.
| Strategy | Best For | Complexity | Potential Savings |
|---|---|---|---|
| Maximize cost basis documentation | All sellers | Low | Moderate |
| Strategic sale timing (low income year) | Variable income sellers | Low to medium | Moderate to high |
| Installment sale | Investment properties | Medium | Moderate |
| 1031 exchange | Investment and rental properties | High | Very high (full deferral) |
| Capital loss harvesting | Sellers with investment portfolios | Low to medium | Moderate |
| Lower commission model | All sellers | Low | Reduces taxable gain directly |
Know Exactly What You Net After Taxes and Costs
Use our free seller net sheet to model your proceeds, including estimated tax impact, commission, and transfer costs, before you list.
Open the Net Sheet Calculator → Explore a Cash Offer Option →Mistakes That Increase What Virginia Sellers Owe
| Mistake | Why It Hurts | How to Avoid It |
|---|---|---|
| Not tracking improvement receipts | Understates basis and inflates the taxable gain | Keep a digital folder of receipts and permits from day one |
| Assuming the exclusion always applies | Missing the 2 year residency rule triggers a bill | Confirm your qualifying dates with a CPA before listing |
| Ignoring the NIIT threshold | An unexpected 3.8% surtax on higher income sellers | Model your full sale year income, including the gain |
| Forgetting depreciation recapture on rentals | A 25% recapture tax surprises you at closing | Know your cumulative depreciation before listing a rental |
| Missing the 45 day 1031 window | Forfeits the entire deferral | Identify replacement property before or right after closing |
| Selling a converted rental too soon | Nonqualified use rules shrink or void the exclusion | Understand the 5 year lookback before converting back to primary |
| Not consulting a CPA before listing | Missed strategies that could save tens of thousands | Get a pre-sale tax review from a Virginia real estate CPA |
How Your Agent and Commission Affect Net Proceeds
Capital gains tax gets most of the attention, but the largest single line item against your net proceeds is almost always the real estate commission. For most Virginia sellers, the combination of smart tax planning and a competitive commission decides how much you actually keep.
Consider a $750,000 home in Northern Virginia:
| Listing Fee | Commission Cost | Reduction in Taxable Gain | Extra Net vs. 3% |
|---|---|---|---|
| 3.0% (traditional) | $22,500 | -$22,500 | Baseline |
| 2.5% | $18,750 | -$18,750 | +$3,750 |
| 1.5% (Jamil Brothers) | $11,250 | -$11,250 | +$11,250 |
Because commission is a selling cost that reduces your gain, a lower listing fee has a compounding benefit: it leaves more in your pocket up front and also trims the taxable gain that could trigger state or federal tax.
See Your Savings by Home Value
Use the calculator below to see how much more you keep at your home's price point. Slide through the common Northern Virginia values to compare a traditional 3% listing against our full-service 1.5% fee.
Seller Savings Calculator
How much more do you keep with our 1.5% listing fee?
Select your home's estimated value to see your real net proceeds, side by side.
Traditional Agent 3%
Our Fee, Only 1.5%
Extra in your pocket
$6,000
vs. a traditional 3% listing agent, with zero reduction in service or marketing.
Traditional Agent 3%
Our Fee, Only 1.5%
Extra in your pocket
$7,500
vs. a traditional 3% listing agent, with zero reduction in service or marketing.
Traditional Agent 3%
Our Fee, Only 1.5%
Extra in your pocket
$9,000
vs. a traditional 3% listing agent, with zero reduction in service or marketing.
Traditional Agent 3%
Our Fee, Only 1.5%
Extra in your pocket
$11,250
vs. a traditional 3% listing agent, with zero reduction in service or marketing.
Traditional Agent 3%
Our Fee, Only 1.5%
Extra in your pocket
$15,000
vs. a traditional 3% listing agent, with zero reduction in service or marketing.
Estimates only. Closing costs vary. Buyer's agent commission is negotiable.
What to Look For When Choosing an Agent
The Jamil Brothers Realty Group has guided more than 840 buyers and sellers across Northern Virginia, Loudoun County, Fairfax County, and the broader DC metro, with over $500M in closed volume. When you are choosing representation for a sale that may carry capital gains exposure, look for:
- Real experience in your specific Northern Virginia submarket
- A transparent commission structure with no hidden fees or service tiers
- A network of tax professionals for pre-sale planning
- A record of maximizing net proceeds, not just sale price
- Local pricing data and a clear negotiation strategy
Plan Your Virginia Home Sale With Confidence
Knowing how much capital gains tax you owe before you list is one of the most overlooked steps in selling, and it is one of the easiest to get right. For most Virginia homeowners, the federal exclusion does the heavy lifting and the final bill is small or zero. For higher value sales and investment properties, a short conversation with a CPA and a sharp pricing and commission strategy can save you real money.
The Jamil Brothers Realty Group serves sellers across Northern Virginia, including Loudoun County, Fairfax County, Prince William County, Arlington, and Alexandria. Our full-service 1.5% listing program is built for sellers who want expert representation without an oversized commission eating into their equity.
Get a Free Valuation and a Personalized Net Sheet
Know your equity, understand your costs, and see exactly what you will keep before you make a decision. The Jamil Brothers provide a full seller consultation at no cost or obligation.
Get My Free Valuation → Run My Net Sheet →Frequently Asked Questions
Glossary of Key Terms
- Adjusted Cost Basis
- Your original purchase price plus qualifying closing costs, capital improvements, and other additions, minus any depreciation claimed. This is the figure subtracted from your sale proceeds to find your gain.
- Capital Gain
- The profit from selling an asset such as real estate for more than your adjusted cost basis. It can be short term (held under 12 months) or long term (held 12 months or more).
- Capital Improvement
- A renovation or addition that adds lasting value, extends the home's useful life, or adapts it to a new use, as distinct from routine maintenance or repairs.
- Depreciation Recapture
- When a rental property is sold, the IRS taxes previously claimed depreciation at a flat 25% federal rate, separate from the capital gain itself.
- Net Investment Income Tax (NIIT)
- A 3.8% federal surtax on certain investment income, including capital gains, for taxpayers with modified adjusted gross income above $200,000 single or $250,000 married filing jointly.
- Section 121 Exclusion
- The IRS provision letting homeowners exclude up to $250,000 single or $500,000 married filing jointly of gain on a primary residence sale, if they meet the 2 of 5 year ownership and use tests.
- Stepped Up Basis
- When property is inherited, its basis resets to fair market value on the date of the original owner's death, which often reduces or eliminates capital gains tax on inherited real estate sold soon after.
- 1031 Exchange
- An IRS mechanism that lets investors sell one investment property and reinvest in a like-kind replacement, deferring capital gains and depreciation recapture. It requires a 45 day identification window and a 180 day closing window.
- Unrecaptured Section 1250 Gain
- The part of a rental property's gain tied to depreciation previously taken, taxed at a maximum federal rate of 25%.
- Modified Adjusted Gross Income (MAGI)
- A version of your adjusted gross income with certain deductions added back, used to determine eligibility for the NIIT, among other things.
Explore More
Browse Every Corner of the DMV Market
Whether you're searching by budget, neighborhood, or buying situation — find exactly what you need below.
Virginia Homes by Budget
Washington DC Homes by Budget
Maryland Homes
Explore Northern Virginia Communities
Loudoun County
Fairfax County & Surrounding
Ready to Make a Move?
Full-Service · No Tradeoffs
List for 1.5% & Keep More Equity
Professional photography, drone video, 3D tours, and expert negotiation — all included. On an $800K home, that's $12,000 more in your pocket vs. a 3% agent.
See the 1.5% Program →Need Speed or Certainty?
Get a No-Obligation Cash Offer
Skip the showings, skip the contingencies. If timing or condition matters more than top dollar, a cash offer may be the right fit. We'll walk you through every option.
Explore Cash Offers →
Let's Connect

