Capital Gains Tax on Investment Property

What Virginia investors actually owe when selling investment property, covering federal and state tax layers, closing costs, and the deferral options available.

Selling investment property in Virginia stacks several tax layers on top of each other, and most owners underestimate the total until a closing statement or a CPA's projection puts a number in front of them. Federal long-term capital gains tax, the net investment income surtax for higher earners, depreciation recapture, and Virginia's own income tax on the gain can combine to take a meaningfully larger bite than the federal capital gains rate alone suggests.

The Layers That Stack on a Sale

A commercial property owner in Fairfax selling a strip retail building with substantial appreciation is subject to federal long-term capital gains rates on the gain above basis, an additional 3.8 percent net investment income tax if income exceeds the statutory threshold, depreciation recapture on however many years the building was depreciated, and Virginia state income tax on the full gain since Virginia does not offer a reduced capital gains rate. Each layer is calculated somewhat differently, which is why a rough back-of-envelope estimate using only the federal capital gains rate tends to undercount the total liability by a wide margin on larger commercial sales.

Basis, Improvements, and Selling Costs

Gain is not simply sale price minus purchase price. Adjusted basis accounts for capital improvements made during ownership and is reduced by depreciation claimed, while selling costs such as broker commissions and closing fees reduce the amount realized. A Roanoke industrial building owner who bought for $1.4 million, spent $250,000 on a roof and dock-door upgrade, depreciated the property for fourteen years, and paid $84,000 in transaction costs at sale has a materially different adjusted basis than the raw purchase-and-sale prices would suggest.

Timing a Sale Around Income

Because capital gains stack on top of other income for both federal bracket purposes and the net investment income surtax threshold, the year a sale closes matters. An investor planning to retire or reduce other income the following year may find a materially lower effective rate by timing a sale accordingly, though this has to be weighed against market conditions and the property's own performance rather than tax timing alone.

Deferring Instead of Recognizing the Gain

A Virginia investment property owner who wants to stay invested in real estate rather than pay all four layers of tax at once can use a 1031 exchange to defer the federal capital gains, the surtax, and the recapture by rolling proceeds into a replacement property. Virginia generally follows the federal deferral for state income tax purposes as well, since the state calculation starts from federal taxable income. The deferral is not automatic; it requires a qualified intermediary holding the proceeds, a 45-day identification window, and a 180-day closing deadline, all of which need to be built into the sale timeline before it is under contract.

Frequently Asked Questions

What is the net investment income surtax and does it apply in Virginia?

It is a federal 3.8 percent surtax on investment income, including real estate gains, for taxpayers above statutory income thresholds. It applies regardless of state, so a Virginia investor above the threshold owes it in addition to standard federal capital gains tax and Virginia's own income tax on the gain.

Does Virginia tax investment property gains differently than a primary home sale?

Virginia taxes the gain as ordinary income in both cases since the state has no separate capital gains rate, but investment property has no Section 121 exclusion available, meaning the entire gain from an investment sale is generally taxable while a portion of a primary home gain may be excluded.

Can transaction costs reduce the taxable gain on a Virginia investment property sale?

Yes. Broker commissions, title fees, and other direct selling costs reduce the amount realized for tax purposes, which lowers the calculated gain even though they do not change the contract sale price.

How much does depreciation recapture typically add to a commercial property sale in Virginia?

It depends entirely on how much depreciation was claimed and for how long, since recapture applies dollar-for-dollar to depreciation taken, taxed separately from the rest of the gain, which is why a full depreciation schedule review before listing is worth doing.

Is it possible to defer only part of the gain on a Virginia investment property sale?

Yes, through a partial 1031 exchange, where an investor takes some cash out at closing and defers the remainder by reinvesting the rest into a replacement property, though the cash taken out, known as boot, is generally taxable in the year of sale.

Ready to model the tax impact?

Share your sale details and open questions for your Virginia exchange.

Start Exchange Review