Capital Gains Tax When Selling a Home in Charles Town or Martinsburg, WV
Do Charles Town and Martinsburg home sellers owe capital gains tax?
Sellers who owned and lived in a home as a main residence for at least 24 of the last 60 months can generally exclude up to $250,000 of gain from federal tax ($500,000 for joint filers). West Virginia starts from federal income, so the exclusion generally carries to the state return. Gain above the limit, and gain on rentals or second homes, can be taxable.
Sellers in Charles Town and Martinsburg who have watched their home values climb often reach the same question before listing: how much of the profit goes to taxes? The answer depends on how long the home was a main residence, how much gain it carries, and how that gain is calculated. For many homeowners, the answer is none. For others, especially long-term owners in fast-appreciating Jefferson County, a portion is taxable.
How the Home-Sale Exclusion Works
The IRS lets homeowners exclude up to $250,000 of gain from the sale of a main home, or $500,000 on a joint return. Two tests apply during the five years ending on the closing date:
- Ownership test: the seller owned the home for at least 24 months.
- Use test: the seller lived in it as a main residence for at least 24 months. On a joint return, both spouses must meet the use test.
The 24 months do not have to be consecutive. The exclusion generally cannot be claimed if another home sale used it within the prior two years. Sellers who receive a Form 1099-S must report the sale on their return even when every dollar of gain is excluded, per the IRS guidance on selling a home.
How Gain Is Calculated on a Charles Town or Martinsburg Home
Gain is not the sale price minus the purchase price. It is the amount realized (sale price minus selling costs such as commission, transfer taxes, and closing fees) minus the adjusted basis (purchase price plus capital improvements). Capital improvements, such as a new roof, an addition, a finished basement, or a deck, raise the basis. Routine repairs and maintenance do not.
Two illustrative examples show how the numbers can play out:
| Seller A | Seller B | |
|---|---|---|
| Purchase price | $230,000 | $190,000 |
| Capital improvements | $30,000 | $20,000 |
| Sale price | $480,000 | $620,000 |
| Selling costs | $30,000 | $40,000 |
| Taxable gain before exclusion | $190,000 | $370,000 |
| Single filer, after $250,000 exclusion | $0 taxable | $120,000 taxable |
| Joint filers, after $500,000 exclusion | $0 taxable | $0 taxable |
These figures are illustrative, not predictions of any specific sale. They show why records matter: Seller B's improvement receipts and closing statement directly reduce the taxable amount. Gain above the exclusion is generally taxed at long-term capital gains rates when the home was held longer than a year, and higher-income sellers may also face the federal net investment income tax. A CPA can run the exact figures.
The ERA Liberty Realty breakdown of seller closing costs in West Virginia explains which costs reduce the amount realized.
Who Does Not Get the Full Exclusion
Several common situations in the Eastern Panhandle fall outside the simple rule:
- Rental and investment properties. The exclusion applies only to a main residence. Investment sales can involve depreciation recapture, and some owners use a 1031 exchange instead.
- Second homes and former rentals. A property converted from a rental to a residence may carry limits on the exclusion.
- Sellers who moved before 24 months. A reduced exclusion may apply for certain job, health, or unforeseen-circumstance moves. IRS Publication 523 sets out the rules.
- Inherited homes. Basis for inherited property is generally treated differently, a topic covered in the guide to selling an inherited house in West Virginia.
What West Virginia Adds to the Picture
West Virginia has no separate capital gains tax. Home-sale profit is taxed as part of state income tax, and because the state return starts from federal adjusted gross income, an excluded gain generally stays excluded for West Virginia purposes as well, according to a HomeLight summary of West Virginia home-sale taxes. The West Virginia Tax Department's nonresident withholding form references a 4.58% rate, and published sources differ on the current top bracket, so sellers should confirm the rate for the year of sale.
Separately, West Virginia transfer taxes are not an income tax. The state charges $1.10 per $500 of value, and counties can add more. These are a selling cost, so they reduce the amount realized.
Sellers moving out of state face an extra step. West Virginia requires the person reporting the closing, often the closing attorney, to withhold on nonresident real estate sales unless an exemption applies. Principal residence sales are one of the statutory exceptions, but the exemption should be confirmed early. Non-principal-residence sales by nonresidents can be withheld at 2.5% of the net payment or 4.58% of estimated gain, per the state's TSD 389 guidance. Sellers relocating out of the area can review the fast-sale checklist for relocating sellers.
Steps to Take Before Listing
- Pull the purchase closing statement. It sets the starting basis.
- Collect improvement records. Receipts and permits for capital projects raise basis.
- Check the 24-month tests. A listing date a few weeks earlier or later can change the result for sellers near the line.
- Estimate the gain with a tax professional. The number belongs in the net proceeds estimate alongside commission and closing costs.
- Ask the closing attorney about reporting. Form 1099-S and any West Virginia withholding are handled at closing.
ERA Liberty Realty agents are not tax advisors, and this post is general information. A CPA or tax attorney should confirm how these rules apply to a specific sale.
Frequently Asked Questions
Does West Virginia have a capital gains tax on home sales?
West Virginia has no separate capital gains tax. Gain is included in state income tax, and the federal home-sale exclusion generally carries through because the state return starts from federal adjusted gross income.
How long does a seller have to live in a home to avoid capital gains tax?
A seller generally must have owned and lived in the home as a main residence for at least 24 months during the five years before the sale. The months do not have to be consecutive.
Do home improvements reduce capital gains?
Capital improvements, such as a new roof, addition, or finished basement, add to the home's basis and reduce taxable gain. Routine repairs and maintenance generally do not.
Will a 1099-S be issued if the gain is excluded?
A closing attorney or title company may issue a Form 1099-S. Sellers who receive one must report the sale even when all the gain is excluded.
Does a seller who moves out of state face West Virginia withholding?
Sales of a principal residence are one of the statutory exceptions to nonresident withholding. Other nonresident sales may be subject to withholding, so sellers should confirm the exemption with the closing attorney before closing.
Reach out to ERA Liberty Realty today and let's talk through what the market looks like for you right now.
About ERA Liberty Realty
ERA Liberty Realty is a local real estate staple in Berkeley and Jefferson Counties of West Virginia. Servicing the Martinsburg, Charles Town, Harpers Ferry, Shepherdstown, and Inwood markets, ERA Liberty is here to help you MOVE UP to your next level of homeownership.