
For many divorcing homeowners in DC, Maryland, and Virginia, understanding the tax implications of selling the family home is one of the most important financial decisions of the process.
Tax Considerations When Selling a Home During Divorce in DC, Maryland, and Virginia
When a marriage ends, the family home is almost always the most financially significant asset on the table. In the Washington, DC metro area, where home values in neighborhoods like Bethesda, McLean, Chevy Chase, and Northwest DC routinely reach well into seven figures, the tax implications of selling that home deserve serious attention. Getting this piece right can mean the difference between walking away with your full equity and facing an unexpected tax bill that significantly reduces what you keep.
This is one area where the timing of the sale, the ownership structure of the home, and the residency history of each spouse all interact in ways that are not always intuitive. My goal in writing this is not to give you legal or tax advice. You should absolutely work with a licensed tax professional and a divorce attorney on the specifics of your situation. What I want to do is give you a clear, honest overview of the issues at play so that when those conversations happen, you are walking in informed. Understanding the tax considerations when selling a home during divorce in the DC area is not a small thing. It can shape the decisions you make about timing, strategy, and how to structure the agreement with your spouse.
The Federal Capital Gains Exclusion and Why It Matters in a Divorce
Most homeowners in the DC metro area are aware that the IRS allows you to exclude a portion of the profit from a home sale from capital gains taxes, provided you meet certain requirements. What many do not realize is how the rules around that exclusion shift when a divorce is part of the picture.
Under current federal tax law, as detailed in IRS Publication 523, a married couple filing jointly can exclude up to $500,000 in capital gains on the sale of a primary residence, as long as both spouses have lived in the home for at least two of the five years before the sale. A single filer is limited to a $250,000 exclusion under the same residency test.
This distinction matters enormously in a divorce situation, because the exclusion amount can be cut in half depending on when the sale happens relative to when the divorce is finalized.
Selling While Still Legally Married
If both spouses agree to sell the home before the divorce is final and both meet the two-out-of-five-year residency requirement, the couple can potentially exclude up to $500,000 in capital gains on their joint return. For a home in Bethesda or McLean that was purchased a decade or two ago, this is not an abstract number. It is real money that can be preserved or lost depending on how the timeline is managed.
In many cases, this makes a compelling financial argument for completing the home sale before the divorce decree is entered, particularly when there is meaningful appreciation in the property. The conversation about whether to sell before or after the divorce is final is one that affects the tax outcome directly, and it deserves a focused discussion with your attorney and tax advisor early in the process.
Selling After the Divorce Is Finalized
Once the divorce is complete and each spouse is filing as a single individual, each person can only exclude up to $250,000 in capital gains, provided they meet the residency requirements on their own. If one spouse moved out of the home during the separation and can no longer satisfy the two-out-of-five-year residency test, they may not be entitled to any exclusion at all on their share of the proceeds.
For a home in Northwest DC, Georgetown, or Great Falls that has appreciated significantly, the difference between a $500,000 joint exclusion and two separate $250,000 exclusions can look identical on paper. But the risk lies in one spouse failing to meet the residency test, which reduces the total exclusion and increases the tax exposure for that individual.
Timing the Sale Matters More Than Most People Realize
The IRS looks at the calendar year in which the home is sold to determine filing status and applicable exclusions. This creates a strategic consideration around the timing of the sale relative to when the divorce is legally finalized.
If the divorce is expected to be finalized in early 2026, for example, completing the home sale in the prior year while both parties are still legally married could allow the couple to file jointly and capture the full $500,000 exclusion. Once the divorce is entered, that window closes. A qualified tax advisor can help you model out which scenario results in a better outcome given your specific numbers, your home’s cost basis, and how much the property has appreciated.
There are also practical timing considerations unique to the DC metro market. The spring selling season in Washington, DC, Bethesda, and McLean tends to bring the most active buyer pool and the strongest offers. If a tax-driven decision to sell in a particular calendar year conflicts with ideal market timing, those tradeoffs need to be evaluated together, not separately.

Careful documentation and professional guidance are essential when navigating the tax side of a home sale during divorce in DC, Maryland, and Virginia.
Cost Basis, Improvements, and What Reduces Your Taxable Gain
The capital gain on a home sale is the difference between what you sold it for and your adjusted cost basis. The adjusted cost basis is not simply what you paid for the home. It also includes qualifying capital improvements made during ownership, certain closing costs paid when you purchased the property, and other allowable adjustments.
Many long-term DC metro homeowners have made substantial investments in their properties over the years, from kitchen renovations to additions to energy system upgrades. These costs can increase the adjusted basis and reduce the taxable gain. Gathering documentation of improvements, permits, and contractor invoices is a step that pays real dividends at tax time, and it is especially important in a divorce where both parties need to agree on the basis calculation.
If the home was used as a rental at any point during the period of ownership, depreciation taken during that period may be subject to recapture as ordinary income when the property is sold. This is a nuanced area that a tax professional should address directly, but it is worth flagging early in the planning process.
State-Level Tax Considerations in DC, Maryland, and Virginia
Federal capital gains rules are only part of the picture. Homeowners in the DC metro area need to understand how the jurisdiction where the property is located handles capital gains at the state level as well.
Maryland
Maryland imposes both a state income tax and a separate nonresident withholding on real estate sales for sellers who are not Maryland residents at the time of the sale. For divorcing couples where one spouse has relocated out of state during the proceedings, the residency status at closing can affect whether withholding is required and at what rate. Maryland’s People’s Law Library offers a practical overview of how property is handled in Maryland divorce proceedings. The state follows equitable distribution principles, meaning property is divided fairly but not necessarily equally. Tax consequences are considered as part of that negotiation.
Virginia
Virginia treats capital gains as ordinary income for state tax purposes. That means the gain from selling the marital home is subject to Virginia’s income tax in addition to any federal capital gains tax owed. Virginia courts also apply equitable distribution, and the tax implications of how assets are divided are taken into consideration. If one spouse is in a significantly higher income bracket than the other, how the gain from the home sale is allocated in the settlement can affect each party’s state tax liability differently. This is a conversation worth having with a tax advisor familiar with Virginia’s rules.
Washington, DC
The District of Columbia treats capital gains as ordinary income at the state level as well, with rates that depend on the seller’s total income for the year. DC does allow the federal primary residence exclusion to pass through, which means a seller who qualifies for the federal exclusion will generally not owe DC income tax on the excluded portion. However, sellers with gains exceeding the exclusion threshold should plan for DC income tax on the amount above the exclusion.
What Happens When One Spouse Is Bought Out
In some divorces, one spouse retains the home by buying out the other’s share of the equity. This arrangement has its own tax considerations. The transfer of ownership from one spouse to the other as part of a divorce settlement is generally treated as a non-taxable event under federal law, meaning the buying spouse assumes the original cost basis rather than paying capital gains on the transfer itself.
However, the buying spouse who retains the home will eventually need to sell it. When that future sale happens, the capital gains will be calculated using the original cost basis, which may be quite low if the home was purchased many years ago. The retained spouse should understand that deferring the gain now does not eliminate it. It shifts the tax event to a future sale, and at that point, the $250,000 single-filer exclusion is what applies, not the $500,000 joint exclusion. For a high-value home in McLean, Potomac, or Spring Valley, this can result in a substantial future tax liability that should be factored into the equity buyout negotiation.
The Importance of Agreeing on a Listing Strategy Early
One of the most practical things divorcing couples can do to protect both parties financially is to align on a pricing and marketing strategy before the property hits the market. Disputes over price can cost more than they save. A home that sits too long because one spouse wants to hold out for a higher number accumulates carrying costs, loses negotiating leverage with buyers, and risks stigma in a market as informed as Washington, DC or Bethesda.

Many of the homes sold during divorce proceedings in the DC, Maryland, and Virginia area are longtime family residences with significant equity.
A neutral real estate advisor who is experienced in divorce-related transactions can be enormously helpful here. Their job is not to represent one spouse over the other but to represent the property and ensure both parties receive fair market value. That means pricing based on data, not emotion. It means coordinating access and showings professionally even when communication between spouses is strained. And it means keeping the transaction moving so that the tax planning decisions made before the listing are not undermined by a sale that drags on for months.
Understanding the role of a real estate advisor in divorce property sales is an important part of understanding how the overall process works. A good advisor brings structure and professionalism to what is, for both parties, an emotionally charged situation.
Planning Ahead: Steps That Protect Both Parties
Based on what I have seen working with divorcing homeowners across DC, Maryland, and Virginia over more than two decades, a few practical steps make the biggest difference in outcomes.
Engage a Tax Professional Before the Sale, Not After
Many couples discover the tax implications of their home sale only when their accountant reviews the year-end return. By that point, the decisions have already been made and the options are limited. Consulting a tax advisor who is familiar with home sale rules and divorce-related property transfers early in the process allows you to structure the timing and ownership transition in a way that minimizes exposure.
Document All Capital Improvements
Pull together records of every significant improvement made to the home during the period of ownership. Permits, contractor invoices, and receipts all help establish the adjusted cost basis and reduce the taxable gain. This documentation is in both parties’ interest and should be gathered while both spouses still have access to shared financial records.
Understand the Residency Test for Both Spouses
If one spouse has been living outside the home for an extended period, confirm whether they can still satisfy the two-out-of-five-year residency requirement. In some cases, the IRS does provide exceptions related to divorce. A tax professional can evaluate whether those exceptions apply to your specific situation and whether the departing spouse can still claim their portion of the exclusion.
Agree on a Pricing Framework Before Listing
Establish in writing how the listing price will be determined and what authority each party has over accepting or rejecting an offer. A shared understanding of the decision-making process reduces conflict at critical moments and helps keep the sale on track. Courts in DC, Maryland, and Virginia can order the sale of a marital home if the parties cannot agree, but getting to that point is costly and time-consuming for everyone involved.
Frequently Asked Questions
What is the capital gains exclusion for a married couple selling a home during divorce?
Married couples filing jointly can exclude up to $500,000 in capital gains from the sale of a primary residence, provided both spouses meet the two-out-of-five-year residency requirement. Once the divorce is finalized and each spouse files as a single individual, that exclusion drops to $250,000 per person. Timing the sale before the divorce is final can preserve the full exclusion in situations where significant appreciation has occurred.
Does Maryland tax capital gains on a home sale during divorce?
Maryland imposes state income tax on capital gains from home sales, including sales that occur during or after a divorce. The federal exclusion applies at the state level as well, but gains above the exclusion threshold are subject to Maryland state income tax. If one spouse has relocated out of Maryland, nonresident withholding rules may also apply at closing.
What happens to the tax basis of the home if one spouse buys out the other in Virginia?
Under federal law, a transfer of ownership between spouses as part of a divorce settlement is generally not a taxable event. The buying spouse assumes the original cost basis of the home. When that spouse eventually sells the property, capital gains are calculated using that original basis, and only the $250,000 single-filer exclusion applies. This can result in a larger future tax bill that should be factored into the equity buyout negotiation.
Can we each claim the $250,000 exclusion if we sell the home after the divorce is final?
In some situations, yes. If each spouse independently satisfies the two-out-of-five-year residency requirement and files separately, each may be able to claim a $250,000 exclusion on their share of the gain. However, if one spouse moved out of the home early in the separation and can no longer meet the residency test, they may not qualify for any exclusion on their portion of the proceeds. A tax professional can evaluate your specific situation.
Does DC tax capital gains from a divorce-related home sale?
Washington, DC treats capital gains as ordinary income for local tax purposes. Gains above the federal exclusion threshold are subject to DC income tax at ordinary income rates. Sellers who qualify for the federal primary residence exclusion generally do not owe DC income tax on the excluded portion, but gains above that amount are taxable at the district level.
What if we used the home as a rental at some point during the marriage?
If the home was rented out for any period during ownership, the depreciation taken during those years may be subject to depreciation recapture tax when the property is sold. This is separate from capital gains tax and is calculated at ordinary income rates on the recaptured amount. It is important to disclose the rental history to your tax advisor so this exposure can be accounted for in your planning.
Should we work with a real estate agent who has experience in divorce transactions?
Yes. A real estate advisor who has handled divorce-related transactions understands how to work with both parties, coordinate with attorneys, and manage a sale professionally even when communication between spouses is difficult. They also understand the importance of pricing the home accurately from the start, which protects both parties and keeps the transaction on a timeline that aligns with your tax planning decisions. You can read more about how to sell a home after separation in the DC metro area for a fuller picture of the process.
What should we do first, get tax advice or hire a real estate agent?
Both should happen early and ideally in coordination. The tax planning decisions around timing, ownership structure, and exclusion eligibility inform when and how the property should be listed. A real estate advisor can help you understand current market conditions and what is realistic in terms of sale timing so the tax advisor can model the best options. Waiting until the property is under contract or even listed to have these conversations means working backward, and by that point, some of the most valuable options may no longer be available.
A Few Final Thoughts
Selling the family home during a divorce is rarely just a financial transaction. It carries weight for both parties, and the decisions involved are real ones with lasting consequences. The tax considerations are meaningful and worth addressing proactively, particularly in a market like Washington, DC, Bethesda, McLean, or Chevy Chase, where years of appreciation have built substantial equity that deserves to be protected.
Getting the tax piece right starts with the right team. A tax advisor who understands divorce-related home sale rules, a family law attorney who keeps the process on track, and an experienced real estate advisor who knows how to handle sensitive transactions are the three pillars of a well-managed divorce home sale. All three working together, rather than in isolation, is what produces outcomes that both parties can live with.
If you are navigating a divorce-related home sale in the DC, Maryland, or Virginia area and have questions about how the process works, I am glad to talk through the real estate side with you directly. My role is not to tell you what to do, but to make sure you understand your options clearly so you can make informed decisions.
About Matt Cheney
Matt Cheney is a top-producing real estate advisor with Compass in Washington, DC, guiding buyers and sellers across DC, Maryland, and Virginia through high-stakes moves, from luxury sales to estate settlements, downsizing, and divorce-related transactions. With over $779 million in career sales volume and 22 years of experience, including more than two decades working on complex and sensitive real estate situations, Matt is known for calm, strategic guidance and brings hundreds of successful sales to clients seeking clarity and support during life transitions. Matt has earned 58 five-star reviews from buyers and sellers across DC, Maryland, and Virginia and is recognized in the top 1.5% of agents nationwide by RealTrends America’s Best.