Capital Gains Tax When Selling a House in Virginia: What Sellers Owe (2026 Guide)
Capital Gains Tax When Selling a House in Virginia: What Sellers Owe (2026 Guide)
Selling your home in Virginia comes with a lot of moving parts — pricing strategy, buyer negotiations, closing logistics — but one area that catches many sellers off guard is the tax bill. Whether you're selling a longtime family home in Northern Virginia or an investment property in Richmond, understanding capital gains tax before you list is essential to knowing what you'll actually walk away with.
This guide explains every layer of capital gains taxation that can apply to a Virginia home sale — federal rates, the Virginia state income tax on gains, the often-overlooked Net Investment Income Tax, how the primary residence exclusion works, and strategies to legally reduce or eliminate what you owe. We'll also walk through worked examples so you can see exactly how the math plays out on a realistic Northern Virginia sale.
📋 Key Takeaways
- The federal Section 121 exclusion shields up to $250K (single) or $500K (married) of profit from capital gains tax for qualifying primary residences.
- Virginia does not have a separate capital gains tax rate — gains are taxed as ordinary income at rates up to 5.75%.
- Long-term federal capital gains rates (for assets held 1+ year) are 0%, 15%, or 20% based on your total income.
- The 3.8% Net Investment Income Tax can apply to high earners on gains above the exclusion.
- Your taxable gain is reduced by your cost basis — which includes purchase price, improvements, and selling costs.
- Investment and rental properties carry a 25% depreciation recapture rule on top of capital gains.
- Strategies like 1031 exchanges, installment sales, and strategic timing can reduce or defer your bill.
- A tax professional and an experienced local real estate agent should both be part of your selling team.
Table of Contents
- What Is Capital Gains Tax on a Home Sale?
- Federal Capital Gains Tax Rates (2026)
- The Primary Residence Exclusion (Section 121)
- Virginia State Tax on Home Sale Gains
- Net Investment Income Tax (NIIT)
- How Your Cost Basis Reduces Your Taxable Gain
- Step-by-Step: How to Calculate Your Capital Gain
- Partial Exclusion: If You Don't Fully Qualify
- Investment Properties & Rentals in Virginia
- Inherited Property and Capital Gains
- Strategies to Reduce Capital Gains Tax
- Common Mistakes Virginia Sellers Make
- How the Right Agent Affects Your Net Proceeds
- Frequently Asked Questions
- Glossary of Key Terms
- Important Disclosures
What Is Capital Gains Tax on a Home Sale?
A capital gain is the profit you earn when you sell an asset for more than you paid for it. When that asset is your home, the IRS and the state of Virginia both want a share of that profit — though the rules about how much they take, and when, depend heavily on how you've used the property and how long you've owned it.
Capital gains on real estate fall into two categories:
| Type | Holding Period | Federal Tax Treatment | Virginia Tax Treatment |
|---|---|---|---|
| Short-Term | Held less than 1 year | Taxed as ordinary income (10%–37%) | Taxed as ordinary income (up to 5.75%) |
| Long-Term | Held 1 year or more | Preferential rates: 0%, 15%, or 20% | Taxed as ordinary income (up to 5.75%) |
Most homeowners in Virginia are dealing with long-term capital gains — they've owned their home for years, even decades. That's the favorable scenario from a federal standpoint. Virginia, however, does not offer a lower rate for long-term gains; the state taxes them the same as regular income.
Federal Capital Gains Tax Rates (2026)
The IRS taxes long-term capital gains at three rates depending on your total taxable income for the year. These rates apply to the gain after any exclusion has been applied.
| Filing Status | 0% Rate (up to) | 15% Rate | 20% Rate (above) |
|---|---|---|---|
| Single | ~$48,350 | $48,351 – $533,400 | Over $533,400 |
| Married Filing Jointly | ~$96,700 | $96,701 – $600,050 | Over $600,050 |
| Head of Household | ~$64,750 | $64,751 – $566,700 | Over $566,700 |
Note: These thresholds are based on 2025 IRS figures and are typically adjusted annually for inflation. Confirm exact 2026 thresholds with a tax professional or IRS.gov.
Short-Term Rates: Much Higher
If you sell a property you've owned for less than one year, the profit is taxed as ordinary income at your marginal rate — which could be as high as 37% federally. This makes flipping or selling shortly after purchase extremely tax-inefficient unless the spread is large enough to justify it.
Federal Long-Term Capital Gains Rates (Relative Burden)
The Primary Residence Exclusion (Section 121)
For most Virginia homeowners selling their primary residence, the Section 121 exclusion is the single most important provision in the tax code. It allows you to exclude a large chunk of your gain from federal capital gains tax entirely — potentially making your entire gain tax-free.
Exclusion Amounts
| Filing Status | Maximum Exclusion |
|---|---|
| Single / Married Filing Separately | $250,000 |
| Married Filing Jointly | $500,000 |
The 2-Out-of-5-Year Rule
To qualify for the full exclusion, you must meet two tests:
- Ownership Test: You must have owned the home for at least 2 of the 5 years immediately before the sale date.
- Use Test: You must have lived in the home as your primary residence for at least 2 of the 5 years immediately before the sale date.
These two years do not need to be continuous, and they do not need to overlap. You could own a home for 5 years, rent it out for 2.5 years, and then live in it for the last 2.5 years — and still qualify.
The "Once Every 2 Years" Rule
You can only use the Section 121 exclusion once every 24 months. If you sold another primary residence and claimed the exclusion less than 2 years ago, you may not be eligible to use it again on a new sale.
Married Couples: Both Spouses Must Qualify
For married couples to claim the full $500,000 exclusion, only one spouse needs to meet the ownership test — but both spouses must pass the use test (lived in the home as a primary residence for 2 of the last 5 years). If only one spouse qualifies, the exclusion is limited to that spouse's individual amount of $250,000.
Virginia State Tax on Home Sale Gains
Virginia does not have a special capital gains tax rate. Instead, any taxable gain from a home sale is added to your other income and taxed at Virginia's standard progressive income tax rates.
| Virginia Taxable Income (per return) | Tax Rate |
|---|---|
| First $3,000 | 2% |
| $3,001 – $5,000 | 3% |
| $5,001 – $17,000 | 5% |
| Over $17,000 | 5.75% |
In practice, for most Virginia sellers with any meaningful capital gain, the effective state rate on that gain will be 5.75% — because the gain pushes total income well past the $17,000 threshold.
Example: How Virginia State Tax Looks in Practice
Say you're a married couple in Loudoun County with $200,000 of combined W-2 income, and you have a $100,000 taxable capital gain on your home (after the federal exclusion). That $100,000 is added to your Virginia taxable income and taxed at 5.75% — a Virginia state tax bill of approximately $5,750 on just the gain.
Net Investment Income Tax (NIIT)
On top of federal capital gains rates and Virginia income tax, high-earning sellers may also face the Net Investment Income Tax (NIIT) — a 3.8% surtax created by the Affordable Care Act that applies to certain investment income, including capital gains from real estate.
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: (1) your net investment income, or (2) the amount by which your MAGI exceeds the threshold. Critically, the gain that qualifies for the Section 121 exclusion is not subject to NIIT. Only the taxable portion of your gain (the portion above the exclusion) counts.
What's the Maximum Combined Tax Hit?
For a Virginia seller with a large gain above the exclusion, the worst-case combined rate on the excess gain is:
That maximum scenario is rare and only applies to high earners with very large gains above the exclusion. Most Virginia sellers pay substantially less — or nothing at all.
How Your Cost Basis Reduces Your Taxable Gain
Your capital gain is not simply: Sale Price – Original Purchase Price. It's: Sale Price – Adjusted Cost Basis. Your adjusted cost basis can be significantly higher than what you paid, which lowers your taxable gain dollar for dollar.
What Goes Into Your Cost Basis
| Category | Eligible Items | Notes |
|---|---|---|
| Original Purchase | Purchase price, closing costs paid 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, landscaping with permanent structures, windows | Must be improvements that add value or extend life — not routine maintenance |
| Selling Costs | Real estate commissions, transfer taxes, legal fees, staging, inspection repair credits you paid | Deducted from sale proceeds to reduce gain |
| Does NOT Add to Basis | Painting, carpet cleaning, minor repairs, lawn care, appliance replacements (in some cases) | Routine maintenance and repairs do not increase basis |
The Improvement Documentation Checklist
Documents to Gather for Calculating Your Cost Basis
- Original purchase contract and HUD-1 / Closing Disclosure
- Receipts for all major renovation projects
- Contractor invoices and paid bills
- Building permits pulled for additions and major projects
- Insurance settlement documents (if you rebuilt or repaired after a casualty)
- Closing Disclosure from your sale (to document selling costs)
- Real estate commission agreement or invoice
- Transfer tax paid at closing
Estimate Your Home's Value Before You Sell
Use our free home valuation tool to see what your Northern Virginia property could be worth in today's market — the first step in calculating your potential gain.
Get My Free Home Value →Step-by-Step: How to Calculate Your Capital Gain
Let's walk through a realistic example for a Northern Virginia seller — a married couple in Ashburn who bought their home in 2016 and are selling in 2026.
- Determine Your Sale Price Start with your actual contract sale price after any seller concessions. Example: $780,000 sale price with $8,000 in seller-paid concessions = effective proceeds of $772,000.
- Calculate Your Adjusted Cost Basis Add original purchase price + closing costs at purchase + capital improvements. Example: $420,000 purchase + $8,500 closing costs + $65,000 in improvements = $493,500 adjusted basis.
- Subtract Selling Costs Deduct your commission and other selling expenses from gross proceeds. $780,000 – $8,000 concessions – $11,700 commission (at 1.5%) = $760,300 net proceeds.
- Calculate Your Gross Gain Net proceeds minus your adjusted cost basis. $760,300 – $493,500 = $266,800 gross capital gain.
- Apply the Section 121 Exclusion As a married couple filing jointly who qualify, subtract up to $500,000. $266,800 – $500,000 = $0 taxable gain (exclusion fully covers the gain).
🏡 Example Calculation: Ashburn Married Couple (2026)
In this common Northern Virginia scenario, the married couple owes no federal or state capital gains tax because their gain is fully covered by the exclusion. This is the reality for the majority of long-term homeowners in the region — though it doesn't apply to everyone, especially for higher-value properties with large appreciation.
Example 2: When You Owe Tax (High-Value McLean Seller)
🏡 Example Calculation: McLean Single Seller (2026)
This scenario — a single seller with a very large gain — is where tax planning becomes critical. A qualified CPA can help model strategies to reduce this bill before closing.
Partial Exclusion: If You Don't Fully Qualify
What if you need to sell before meeting the 2-of-5-year requirement? You may still qualify for a partial exclusion if the sale is due to a qualifying unforeseen circumstance.
Qualifying Reasons for a Partial Exclusion
| Category | Qualifying Reasons |
|---|---|
| Work-Related | Job relocation more than 50 miles away, new employment, change in employment status |
| Health-Related | Medical condition requiring relocation; care for a family member |
| Unforeseen Circumstances | Divorce or legal separation, multiple births from same pregnancy, damage from natural disaster, death of co-owner, military service |
The partial exclusion is calculated as: (Months You Qualified ÷ 24 months) × Maximum Exclusion. For example, if a single person lived in the home for 12 months and had to move for work, they'd qualify for a partial exclusion of $125,000 (12/24 × $250,000).
Investment Properties & Rentals in Virginia
The rules above apply to your primary residence. If you're selling a rental property, investment home, vacation property, or a house you converted from personal to rental use, the tax picture is considerably more complex.
No Primary Residence Exclusion
Investment and rental properties do not qualify for the Section 121 exclusion. The full capital gain is taxable. That said, the long-term federal capital gains rates (0%, 15%, 20%) still apply if you've held the property for over a year.
Depreciation Recapture: The Hidden Tax
If you claimed depreciation deductions on a rental property — which you're allowed (and expected) to do over 27.5 years for residential rental property — the IRS "recaptures" that depreciation at a flat rate of 25% when you sell, regardless of your regular capital gains rate. This is called unrecaptured Section 1250 gain.
Home-to-Rental Conversion: The Dreaded Nonqualified Use Rule
If you convert your primary residence to a rental before selling, only the portion of the gain attributable to the time it was your primary residence may qualify for the exclusion. The gain allocated to nonqualified use (rental periods after 2008) does not qualify. This is a nuanced area requiring a CPA's guidance.
The 1031 Exchange: Defer Taxes on Investment Properties
Virginia investment property sellers have access to the 1031 exchange — a powerful IRS provision that allows you to defer capital gains taxes by reinvesting the proceeds into a "like-kind" replacement property of equal or greater value.
✅ 1031 Exchange Pros
- Defer 100% of capital gains tax
- Roll entire equity into new investment
- Can exchange into multiple properties
- Repeat indefinitely until estate step-up
- Build wealth without tax drag
❌ 1031 Exchange Cons
- Strict 45-day identification window
- Must close replacement within 180 days
- Cannot access cash ("boot" is taxable)
- Complex — requires a qualified intermediary
- Does not eliminate tax, only defers it
Inherited Property and Capital Gains in Virginia
Inheriting a home in Virginia comes with a significant tax advantage: the stepped-up basis. Under federal law, the cost basis of inherited property is "stepped up" to the fair market value at the date of the original owner's death — not what they originally paid for it.
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. If you sell quickly after inheriting, you may owe little or no capital gains tax. If you hold the property and it continues to appreciate, a larger gain will eventually be taxable.
Virginia Estate Tax
Virginia does not have a state estate tax or an inheritance tax. The step-up in basis applies at the federal level. Virginia heirs generally inherit real property without any Virginia-specific estate tax burden, though the ongoing capital gains rules apply when the property is eventually sold.
Selling Inherited Property Quickly
Many heirs prefer to sell inherited property promptly to avoid the administrative burden of maintaining or renting it. If you sell within the first year of inheriting, the gain is typically treated as long-term (regardless of the holding period) because the stepped-up basis treatment effectively resets the clock. Confirm this with your tax advisor for your specific situation.
Strategies to Reduce Capital Gains Tax When Selling in Virginia
While you can't avoid taxes entirely through wishful thinking, there are legitimate, IRS-approved strategies that Virginia sellers can use to minimize their capital gains bill.
1. Maximize Your Cost Basis
Gather every receipt, permit, and invoice for capital improvements you've made over the years. Every dollar added to your basis is a dollar of gain you won't be taxed on. Many sellers leave money on the table by failing to document kitchen remodels, finished basements, new HVAC systems, or room additions.
2. Time the Sale Strategically
If your income varies year to year — self-employment, retirement, a large bonus — consider selling in a year when your total income is lower. Falling into the 0% long-term capital gains bracket federally (roughly under $96,700 for married couples in 2026) means your gain is tax-free at the federal level.
3. Consider an Installment Sale
Rather than receiving the full proceeds at once, an installment sale spreads the gain over multiple tax years, potentially keeping you in a lower tax bracket each year. This works well when selling to a buyer who agrees to structured payments and is common in investment property transactions.
4. Use a 1031 Exchange (Investment Properties)
As covered above, rolling gains from a rental property into a like-kind replacement allows full tax deferral. This is particularly powerful in Northern Virginia, where appreciation has been significant and exchange into higher-performing markets is a viable strategy.
5. Harvest Capital Losses Elsewhere
If you have capital losses in your investment portfolio — stocks, mutual funds — you can sell them in the same tax year to offset your home sale gain. Up to $3,000 per year in net losses can also offset ordinary income, with the rest carrying forward.
6. Deduct Selling Costs Fully
Real estate commission, transfer taxes, attorney fees, and other closing costs paid by the seller directly reduce your capital gain. Using a full-service 1.5% listing program instead of a traditional 3% listing fee on a $700,000 sale means $10,500 less in commission — which reduces your taxable gain by that same amount while keeping your representation and marketing quality intact.
| Strategy | Best For | Complexity | Potential Savings |
|---|---|---|---|
| Maximize cost basis documentation | All sellers | Low | Moderate |
| Strategic sale timing (low-income year) | Variable-income sellers | Low–Medium | Moderate–High |
| Installment sale | Investment properties | Medium | Moderate |
| 1031 Exchange | Investment/rental properties | High | Very High (full deferral) |
| Capital loss harvesting | Sellers with investment portfolios | Low–Medium | Moderate |
| Lower commission model | All sellers | Low | Reduces taxable gain directly |
Know Exactly What You'll Net After Taxes & 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 →Common Mistakes Virginia Home Sellers Make on Capital Gains
| Mistake | Why It Hurts | How to Avoid It |
|---|---|---|
| Not tracking improvement receipts | Understates cost basis, inflates taxable gain | Keep a digital folder with all renovation receipts and permits from day one |
| Assuming the exclusion always applies | Missing the 2-year residency rule triggers a tax bill | Confirm your qualifying dates with a CPA before listing |
| Ignoring the NIIT threshold | Unexpected 3.8% surtax on high-income sellers | Model your total income for the sale year including the gain |
| Forgetting depreciation recapture on rentals | 25% recapture tax comes as a surprise at closing | Know your cumulative depreciation claimed before listing a rental |
| Missing the 45-day 1031 window | Forfeits the entire tax deferral | Identify replacement property before or immediately after closing |
| Selling a converted rental too soon | Nonqualified use rules reduce or eliminate the exclusion | Understand the 5-year lookback period before converting rental back to primary |
| Not consulting a CPA before listing | Missed strategies that could save tens of thousands | Get a pre-sale tax analysis from a Virginia CPA familiar with real estate |
How the Right Real Estate Agent Affects Your After-Tax Proceeds
Capital gains tax gets most of the attention — but the single largest line item affecting your net proceeds is almost always the real estate commission. For most Virginia sellers, the combination of smart tax planning and a competitive commission structure determines how much you actually keep.
Consider a $750,000 home in Northern Virginia:
| Listing Fee | Commission Cost | Reduction in Taxable Gain | Additional Net Savings vs. 3% |
|---|---|---|---|
| 3.0% (traditional) | $22,500 | –$22,500 | — |
| 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 capital gain, a lower listing fee has a compounding benefit: it lowers your gross proceeds by less and also reduces the taxable gain that could trigger state or federal taxes.
The Jamil Brothers Realty Group's 1.5% full-service listing program includes everything a traditional listing does — professional photography, MLS marketing, showing management, skilled negotiation, and hands-on closing support — at a fee structure that keeps more equity in your hands. The team has guided more than 800 buyers and sellers across Northern Virginia, Loudoun County, Fairfax County, and the broader DC metro area, with over $500M in closed transactions.
When choosing an agent for a sale with potential capital gains exposure, look for:
- Demonstrated experience in your specific Northern Virginia submarket
- Transparent commission structure — no hidden fees or minimum service tiers
- A network of tax professionals they can refer you to for pre-sale planning
- A track record of maximizing net proceeds, not just sale price
- Local pricing data and negotiation strategy to maximize your offer price
Frequently Asked Questions
Glossary of Key Capital Gains Terms
- Adjusted Cost Basis
- Your original purchase price plus qualifying closing costs, capital improvements, and other additions — minus any depreciation claimed. This is the number subtracted from your sale proceeds to calculate your gain.
- Capital Gain
- The profit from selling an asset (like real estate) for more than your adjusted cost basis. Can be short-term (held less than 1 year) or long-term (held 1+ years).
- Capital Improvement
- A renovation or addition that adds lasting value to the property, extends its 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 deductions at a flat 25% federal rate, separately 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 allowing homeowners to exclude up to $250,000 (single) or $500,000 (married filing jointly) of capital gains from a primary residence sale if they meet the 2-of-5-year ownership and use tests.
- Stepped-Up Basis
- When property is inherited, its cost basis is reset (stepped up) to the fair market value at the date of the original owner's death — significantly reducing or eliminating capital gains tax on inherited real estate sold shortly after inheritance.
- 1031 Exchange
- An IRS mechanism allowing investors to sell one investment property and reinvest the proceeds into a like-kind replacement, deferring all capital gains and depreciation recapture taxes. Must follow strict identification (45-day) and closing (180-day) deadlines.
- Unrecaptured Section 1250 Gain
- The portion of a rental property's capital gain that is attributable to depreciation deductions previously taken; taxed at a maximum federal rate of 25%.
- Modified Adjusted Gross Income (MAGI)
- A version of your adjusted gross income (AGI) with certain deductions added back; used to determine eligibility for NIIT, among other things.
Plan Your Next Move — Before You Close
If you're selling your current home and buying in Northern Virginia, a coordinated strategy can save you time, stress, and money. We help sellers navigate both sides of the transaction.
Explore Buyer Strategy → Search Homes for Sale →Ready to Sell Your Virginia Home?
Understanding your tax exposure before you list is one of the most important — and most overlooked — steps in the selling process. Work with a CPA who specializes in Virginia real estate taxation, and partner with a local real estate team that understands how to maximize your net proceeds from day one.
The Jamil Brothers Realty Group serves sellers across Northern Virginia — Loudoun County, Fairfax County, Prince William County, Arlington, Alexandria, and the greater DC metro. Our full-service 1.5% listing program is designed for sellers who want expert representation without an inflated commission eroding their equity.
Categories
Recent Posts










Let's Connect

