Virginia Capital Gains Tax

Virginia Capital Gains Tax: What You'll Actually Owe

If you are selling appreciated property in Virginia, the state tax is only one of four layers, and usually not the one that does the most damage.

Short answerVirginia has no separate capital gains tax rate. A gain is added to your other income and taxed at the regular Virginia brackets: 2% on the first $3,000 of taxable income, 3% up to $5,000, 5% up to $17,000 and 5.75% on everything above $17,000. Long-term and short-term gains are taxed the same, so on any sale of size nearly all of the gain is taxed at 5.75%. Federal tax of 0%, 15% or 20% and the 3.8% net investment income tax come on top. Source: Code of Virginia 58.1-320, checked November 19, 2026.

Virginia capital gains tax calculator

Enter your sale and see the 2027 tax in Virginia: federal capital gains tax, the 3.8% net investment income tax and Virginia state tax, then the same sale spread over the years the buyer pays you. It runs on the same engine as our capital gains tax calculator, in your browser. Rental property, your home, land, a business, stock or collectibles.

Example loaded. Change any number to run yours.
What you paid plus improvements, minus depreciation or depletion taken. Inherited: the value at the date of death.

Virginia taxes capital gains as ordinary income, 5.75% on taxable income over $17,000. Source: Code of Virginia 58.1-320, checked November 21, 2026. Federal: 2027 brackets per IRS Rev. Proc. 2026-35 (0%, 15% and 20% on long-term gain; 20% above $633,600 of taxable income married filing jointly); 25% cap on building depreciation, IRC 1(h)(1)(E); 28% cap on collectibles, IRC 1(h)(4); 3.8% net investment income tax above $250,000 married or $200,000 single, IRC 1411.

Estimated tax on this sale (2027), Virginia
$263,800

You keep $1,161,201 after selling costs and tax. The tax is 28.5% of your gain.

Your gain

  • Sale price less selling costs$1,425,000
  • Less your basis$500,000
  • Your taxable gain$925,000
  • Depreciation, taxed at up to 25%$150,000
  • Long-term gain at 0%, 15% or 20%$775,000

The tax, line by line

  • Federal income tax (incl. $3,231 AMT)$177,362
  • Net investment income tax (3.8%)$33,250
  • Virginia tax$53,188
  • Total tax$263,800
  • You keep$1,161,201
All in one year vs spread over 10 years: tax of $263,800 against $219,817 when the buyer pays you over 10 years. You keep $43,983 more.

Get the REAL numbers

Hans Goldstein, EA
Hans Goldstein, EAAdmitted to practice before the IRS

Talk to capital gains expert Hans Goldstein, EA.

These are estimates. Have a qualified tax professional run your real numbers in a 15-minute scope call.

Why now: the year you close and how the buyer pays you are set before closing, and they decide how much of this Virginia tax you keep.

Book my 15-minute call

This is an estimate. Getting it right down to the tee takes your actual tax forms (returns, K-1s, depreciation schedules), a consult and a paid analysis. The first 15-minute scope call is free.

Worked example (computed November 21, 2026, 2027 federal tables)

A married couple in Virginia sells a rental for $1,500,000 with $75,000 of selling costs. Their adjusted basis is $500,000 after $150,000 of depreciation, and other income is $200,000. The gain is $925,000.

All in one year the tax is $263,800: $177,362 federal, $33,250 net investment income tax and $53,188 Virginia tax, or 28.5% of the gain. Spread over 10 years on a note, the tax on the gain is $219,817, so they keep $43,983 more (interest on the note is taxed separately).

Before you read further

What is the tax bill on your Virginia sale going to be?

Send me the sale price and rough basis. Within one business day I'll email you the actual number and the Seller's Guide to §453. If it doesn't fit your deal, I'll tell you that plainly.

Hans Goldstein, EA
Admitted to practice before the IRS

No retainer · no obligation. Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.

How Virginia treats capital gains

Virginia taxes capital gains as ordinary income at rates up to 5.75%.

Virginia capital gains tax rate by income

Virginia taxable incomeBracket on that slice
$0 to $3,0002%
$3,001 to $5,0003%
$5,001 to $17,0005%
Over $17,0005.75%

The same brackets apply to single and joint filers, and they are not indexed for inflation. The tax on the first $17,000 is $720, so a seller with $1,000,000 of Virginia taxable income owes about $720 plus 5.75% of the remaining $983,000. Source: Code of Virginia 58.1-320, checked November 19, 2026.

The four layers on a Virginia sale

Most sellers budget for one tax and get hit with four:

  1. Federal long-term capital gains at 0%, 15% or 20% depending on total taxable income for the year.
  2. Net investment income tax of 3.8% once modified AGI passes $200,000 single or $250,000 married filing jointly. Those thresholds are not indexed for inflation, so more sellers cross them every year.
  3. Depreciation recapture, if the asset was a rental or business property. The real-property portion is taxed at up to 25% as unrecaptured Section 1250 gain, and equipment is recaptured as ordinary income. See depreciation recapture.
  4. Virginia state tax at up to 5.75%, applied on top of everything above.

The worked example above comes to 28.5% of the gain. The top combined rate on long-term gain is 29.55% (20% federal, 3.8% net investment income tax, 5.75% Virginia); depreciation on a building can be taxed at up to 25% federal instead of 20%.

Why the year matters more than the rate

Every one of those layers is triggered by income landing in a single tax year. The federal rate steps from 0% to 15% to 20% based on taxable income. The 3.8% surtax switches on at a fixed threshold.

For sellers 65 and older, the new $6,000 senior deduction begins phasing out at $75,000 of modified AGI ($150,000 joint) and is fully gone by roughly $175,000 ($250,000 joint), so a single large sale wipes it out completely.

Spreading the same gain across several years keeps each year's income lower, and each layer is calculated on that lower number. That is the entire mechanism behind an installment sale under IRC §453, and it is why two sellers with identical gains can pay very different totals.

Ordinary-income recapture is the exception. Under §453(i), §1245 recapture on equipment and fixtures is recognized in the year of sale however the payments are structured. Unrecaptured §1250 gain on a building is not caught by §453(i): it is reported with the installment payments, ahead of the 15% or 20% gain (Treas. Reg. 1.453-12).

What this actually costs: Virginia numbers

Take a $500,000 long-term gain, on top of $200,000 of other income, married filing jointly, standard deduction, 2027 federal brackets.

layerbrackettax
Federal long-term capital gains15% and 20%$76,660
Net investment income tax3.8%$17,100
Virginia5.75%$28,750
Total$122,510

That is about 24.5% of the gain before any recapture. How the lines work: after the $33,200 standard deduction, $166,800 of ordinary income fills the bottom of the brackets, so the gain is taxed at 15% up to $633,600 of taxable income ($70,020) and 20% on the last $33,200 ($6,640) under Rev. Proc. 2026-35. The 3.8% tax applies to the $450,000 by which modified AGI of $700,000 passes $250,000 (IRC 1411). The $200,000 of other income already fills Virginia's lower brackets, so every dollar of the gain is taxed at 5.75%. Computed November 23, 2026.

If the asset was ever a rental or business property, add depreciation recapture: up to 25% on the real-property portion and ordinary rates on equipment.

The four layers, in the order they hit you

1. Federal capital gains. 0%, 15% or 20%, decided by your total taxable income for the year, including the gain itself. That is why one large sale lands people in the 20% bracket who normally sit far below it.

2. The 3.8% net investment income tax. Switches on above $200,000 modified AGI single, $250,000 married filing jointly. Those thresholds have never been indexed for inflation, so each year quietly captures more sellers.

3. Depreciation recapture. Only if you depreciated the asset. The real-property portion is unrecaptured Section 1250 gain at up to 25%; equipment is Section 1245 recapture at ordinary rates. The §1245 piece cannot be spread: §453(i) puts it in the year of sale. Unrecaptured §1250 gain on a building is spread with the payments.

4. Virginia tax. 5.75% on every dollar of Virginia taxable income over $17,000, applied on top of everything above.

Who Virginia can tax, and on what

  • Real property is taxed where it sits. If the property is physically in Virginia, Virginia taxes the gain whether or not you live there. Moving does not help you on in-state real estate.
  • Everything else generally follows residency on the date of sale: business interests, stock, collectibles.

If you are a non-resident selling real property in Virginia, the closing agent (the real estate reporting person) must collect a registration from you on Form R-5 and send it to Virginia Tax. Virginia does not require a flat withholding from an individual seller at closing, so the tax is paid with a non-resident return (Form 763) and any estimated payments. A sale that is exempt from federal and Virginia income tax uses exemption Form R-5E instead. Sources: Code of Virginia 58.1-317 and Virginia Tax, Registration of Nonresident Property Owners, checked November 19, 2026. If the property is held in a partnership or S corporation, the entity withholds 5% of each non-resident owner's Virginia share under 58.1-486.2.

Virginia subtractions that can apply to a gain

Virginia has no general exclusion for capital gains. It starts from federal adjusted gross income, so a gain deferred federally under §453 is deferred in Virginia too. One narrow subtraction exists: long-term capital gain from an investment in a Virginia "qualified business" (principal office in Virginia, under $3 million of revenue the year before the investment) is subtracted, but only for investments made between April 1, 2010 and June 30, 2020, and not if you claimed the 58.1-339.4 investment tax credit on the same business. Source: Code of Virginia 58.1-322.02(24), checked November 23, 2026.

Does spreading the sale help in Virginia?

Yes, but almost all of the saving is federal. Virginia's 5.75% top bracket starts at $17,000 of taxable income, so a seller with any other income pays close to the same Virginia tax whether the gain lands in one year or ten. What changes on the Virginia side is timing: the tax is paid as each payment arrives. On the federal side, spreading keeps more of the gain in the 15% bracket and below the 3.8% threshold each year.

An installment sale under IRC §453 spreads the gain across the years you actually receive payments, so every threshold above is tested annually instead of once.

The trade-offs deserve stating plainly: you need a buyer willing to pay over time, you carry collection risk, §1245 recapture still lands in year one, and large installment balances can trigger an interest charge under §453A. It fits some sales and not others, which is exactly what a conversation before closing is for.

Hans Goldstein

Find out what your sale is really going to cost you in tax, and what you can do about it

No retainer. On a funded structure, the insurer pays a one-time commission of about 4% of the amount structured to the brokerage firm that places it (Hans’s share is about 2.4%; no trail). It is built into the annuity pricing, not a separate fee.

Find out what your tax bill actually looks like before you sell, including the parts your CPA may not raise until the return is already being prepared.

Most people find out what they owe after the sale closes, when nothing can be changed. A short conversation now tells you the number, which layers apply to your situation, and which options are still open while the sale is still in front of you.

  • What you will actually owe: federal, the 3.8% surtax, recapture and your state
  • Which of those layers you can still do something about
  • Whether spreading the sale changes the number in your case
More details (optional)
Hans Goldstein, EA
Admitted to practice before the IRS

Hans Goldstein · 213-414-2808 · Hans Goldstein: Tax & Exit Planning · This is an educational conversation, not tax advice. Bring your CPA in before you file.

Hans Goldstein, a licensed insurance agent (CA Insurance License #4273294), will contact you and may discuss insurance products, including annuities.

Frequently asked

Q: What is the Virginia capital gains tax rate? A: 5.75% on nearly all of a sizable gain. Virginia taxes capital gains as ordinary income at 2% to 5.75%, and every dollar of Virginia taxable income over $17,000 is taxed at 5.75% (Code of Virginia 58.1-320).

Q: Does Virginia have a lower rate for long-term capital gains? A: No. Virginia applies the same rates to long-term and short-term gains. The preferential 0/15/20% treatment exists only at the federal level.

Q: How do I calculate capital gains tax in Virginia? A: Start with your sale price minus your adjusted cost basis, which is what you paid plus improvements minus any depreciation you took. That gain is then subject to federal capital gains rates, potentially the 3.8% net investment income tax, depreciation recapture if it was a rental, and Virginia tax. The calculator on this site layers all four.

Q: Can I avoid Virginia capital gains tax by moving before I sell? A: Residency changes are scrutinized closely and the facts matter a great deal, including where you lived at closing and whether the asset is real property physically located in the state. Real estate is generally taxed by the state where it sits regardless of where you live. Talk to a CPA before relying on this.

Selling something specific in Virginia?

Run your specific numbers

The calculator runs your sale through real 2027 federal and latest published state tax brackets and shows §453 savings vs lump sum side-by-side.

Run the calculator → 213-414-2808
Get my number Book 15 min Call

Hans Goldstein is an Enrolled Agent, admitted to practice before the Internal Revenue Service. Not affiliated with or endorsed by the IRS. General education, not tax or legal advice for your situation.