Rent out the house or sell it? A separated owner's Virginia guide
For a recently separated Chesapeake homeowner nearing retirement: what changes under Virginia landlord law and federal tax rules when the marital home is rented out instead of sold.
Who decides: the separation agreement, or the court
While spouses are separated, a jointly owned house can be settled in a signed agreement. Married persons may "enter into agreements with each other for the purpose of settling the rights and obligations of either or both of them," and such agreements "shall become effective immediately upon their execution" (Va. Code § 20-155). They have the same reach as premarital agreements, which may cover "The right to buy, sell, use, transfer, exchange, abandon, lease" and otherwise "manage and control property" (§ 20-150). A reconciliation after signing "shall abrogate such agreement unless otherwise expressly set forth in the agreement" (§ 20-155). A court may "affirm, ratify and incorporate by reference" a valid agreement in its decree, making its terms "enforceable in the same manner as any provision of such decree" (§ 20-109.1; more under signing the settlement).
Without an agreement, the court decides at the divorce, on either party's request. Marital property includes "all property titled in the names of both parties," except as subdivision 3 provides, which lets traced separate contributions make jointly titled property partly separate (Va. Code § 20-107.3(A)(2)), and for jointly owned marital property the court may transfer it to one spouse, let either spouse buy the other's interest if the buyer "agrees to assume any indebtedness secured by the property," "or order its sale by private sale by the parties, through such agent as the court shall direct, or by public sale as the court shall direct without the necessity for partition" (§ 20-107.3(C)). Renting the house out is not among those means.
Divorce suits are heard in circuit court (Va. Code § 20-96), and an order transferring real property is recorded "in the clerk's office of the circuit court of the county or city in which the property is located" (§ 20-107.3(C)). For a Chesapeake house, that is the Chesapeake Circuit Court, 307 Albemarle Drive, Suite 300A (clerk's office hours 8:30 a.m. to 3:45 p.m.; phone (757) 382-3000). Which terms protect each owner is a question for a licensed attorney.
Selling and renting out, side by side
| Question | Selling | Renting it out |
|---|---|---|
| Who can bring it about | The owners by agreement, or a court-ordered sale (§ 20-107.3(C)) | The owners by agreement, which may cover leasing (§§ 20-150, 20-155) |
| Tax on the gain | Excluded up to the Publication 523 limits if its requirements are met | At a later sale, the full exclusion only if the residence requirement is still met (a partial exclusion may apply), and never the gain equal to depreciation after May 6, 1997 (Pub. 523) |
| While it is rented | Not applicable | Rent is income; ordinary expenses are generally deductible; the building is depreciated over 27.5 years (Pub. 527) |
| Virginia landlord law | A purchaser's occupancy under a contract of sale is not a residential tenancy (§ 55.1-1201(C)) | Applies: fit and habitable premises, a deposit of at most two months' rent (§§ 55.1-1201, 55.1-1220, 55.1-1226) |
| Chesapeake | No step for a sale on the city's rental inspection page | Inspection before occupancy in a Special Emphasis Area; $50 per unit inspection (City of Chesapeake) |
| Hiring a contractor | A license is needed for a project over $1,000 (DPOR) | The same rule; repairs generally deductible, improvements capitalized (Pub. 527) |
Selling: the home sale exclusion and who qualifies
Publication 523 (2025): "If you meet certain conditions, you may exclude the first $250,000 of gain from the sale of your home from your income and avoid paying taxes on it. The exclusion is increased to $500,000 for a married couple filing jointly." The main conditions (the publication also lists automatic disqualifications, such as a home acquired through a like-kind exchange in the past 5 years):
- Ownership: owning the home "for at least 24 months (2 years) out of the last 5 years leading up to the date of sale (date of the closing)."
- Residence: using it "as your residence for at least 24 months of the previous 5 years," months that "can fall anywhere within the 5-year period."
- Look-back: "You may take the exclusion only once during a 2-year period."
For the $500,000 figure, "only one spouse has to meet the ownership requirement," but "each spouse must meet the residence requirement individually," and both must meet the look-back requirement. "You are married for the whole year if you are separated but you haven't obtained a final decree of divorce or separate maintenance by the last day of your tax year" (IRS Publication 504).
For separated owners: "If you were separated or divorced prior to the sale of the home, you can treat the home as your residence if: You are a sole or joint owner, and Your spouse or former spouse is allowed to live in the home under a divorce or separation instrument and uses the home as his or her main home." "A written separation agreement" counts as such an instrument (Pub. 523). An owner who does not meet the requirements "may still qualify for a partial exclusion of gain" when the main reason for the sale was "a change in workplace location, a health issue, or an unforeseeable event," and the publication's list of unforeseeable events includes becoming "divorced or legally separated," if the event occurred while the owner owned and lived in the home.
Renting it out: rent, deductions and depreciation
Under IRS Publication 527 (2025), "Rental income is any payment you receive for the use or occupation of property," and "In most cases, the expenses of renting your property, such as maintenance, insurance, taxes, and interest, can be deducted from your rental income."
"If you used the property for personal purposes before changing it to rental use, its basis for depreciation is the lesser of its adjusted basis or its FMV when you change it to rental use." FMV is fair market value; adjusted basis is the basis after "certain adjustments (increases and decreases)." The house is placed in service "on the date of the change," and the publication's Table 2-1 gives residential rental property a 27.5-year recovery period under the General Depreciation System. The cost of land is not depreciated. The value on the conversion date and the split between land and building are questions for a tax professional.
Selling after a rental: what happens to the exclusion
Renting first starts a clock, because the residence requirement looks back five years from the closing. As an example of the arithmetic, not a separate rule: an owner who moves out on November 1, 2026 after years in the house, then rents it to tenants, has 24 months of residence in the window only for a closing by about November 1, 2029. Each spouse's window depends on that spouse's own residence.
Gain "allocable to periods of nonqualified use" is not excludable, and "Nonqualified use means any period after 2008 when neither you nor your spouse (or former spouse) used the property as your main home, with certain exceptions." One exception is "Any portion of the 5-year period ending on the date of the sale or exchange after the last date you or your spouse (or former spouse) used the property as your main home" (Pub. 523). Rental years after the last use as a main home, within that period, fit those words.
Depreciation is not covered: a seller entitled to depreciation for rental use cannot exclude "the part of your gain equal to any depreciation allowed or allowable as a deduction for periods after May 6, 1997" (Pub. 523). Because the rule reaches depreciation "allowed or allowable," depreciation that could have been claimed counts even if it was not (Pub. 523). IRS Topic 409 adds: "The portion of any unrecaptured section 1250 gain from selling section 1250 real property is taxed at a maximum 25% rate." How a particular gain divides among these rules is a question for a tax professional.
Becoming a landlord under Virginia law
An owner who rents the house out is its "landlord": "the owner, lessor, or sublessor of the dwelling unit or the building of which such dwelling unit is a part" (Va. Code § 55.1-1200). The Virginia Residential Landlord and Tenant Act "shall apply to occupancy in all single-family and multifamily dwelling units" and may not be waived or modified by a locality or the courts (Va. Code § 55.1-1201(A), (B)).
Its exemptions cover residence at certain institutions, fraternal or social organization housing, condominium unit owners and cooperative lease holders, campgrounds, some employee housing and recovery residences (§ 55.1-1201(C)), and some hotel and other transient stays (§ 55.1-1201(D)). None is for an owner who rents out one house. Two touch this choice: "Occupancy by a tenant who pays no rent pursuant to a rental agreement," and a purchaser's occupancy "under a contract of sale" (§ 55.1-1201(C)).
The landlord must "Comply with the requirements of applicable building and housing codes materially affecting health and safety," "Make all repairs and do whatever is necessary to put and keep the premises in a fit and habitable condition," and keep supplied facilities and appliances "in good and safe working order and condition," among other duties. The landlord "shall only be liable for the tenant's actual damages proximately caused by the landlord's failure to exercise ordinary care" (Va. Code § 55.1-1220(A), (B)).
A security deposit may not exceed "two months' periodic rent." It may be applied only to the uses the statute lists, such as accrued rent and damages "less reasonable wear and tear," itemized in writing "within 45 days after the termination date of the tenancy or the date the tenant vacates the dwelling unit, whichever occurs last" (Va. Code § 55.1-1226(A)).
Sections 55.1-1201, 55.1-1220 and 55.1-1226 are not on LIS's list of Code sections updated in 2026; § 55.1-1200 was amended effective July 1, 2026, and the "landlord" definition quoted above is its current text (Code of Virginia, 2026 Updates). Other guides on this choice are under turning the home into a rental.
Chesapeake: inspections before a tenant moves in, in some areas
Chesapeake's Rental Dwelling Inspections program covers "rental dwelling units located within designated Special Emphasis Areas." There, no owner, managing agent or person in control of a dwelling "shall permit any person to occupy such property as a tenant, lessee, or otherwise for valuable consideration unless the dwelling or dwelling unit has been inspected before occupancy and has been determined to be in compliance with all applicable laws, ordinances, and regulations" (City of Chesapeake: Rental Dwelling Inspections). The page also says:
- With no violations at an initial or periodic inspection, "a four-year certificate of approval shall be issued to the owner."
- With a violation, "follow-up inspections may be required," and once "all violations have been abated, a one-year certificate of approval shall be issued to the owner."
- "Rental Dwelling Inspection Fee: $50 per unit inspection."
- "The property owner, property manager, or agent for owner must be present at the time of city inspection."
The page links a Rental Inspection Property Search Map and does not mention registration. Whether an address lies in a Special Emphasis Area is a question for the city; the page's Contact Us listing is the City of Chesapeake, 306 Cedar Road, phone 757-382-2489. Other guides for the city are on the Chesapeake page.
Repairs and hiring a licensed contractor
The repair duty in § 55.1-1220 has a tax side: "Generally, an expense for repairing or maintaining your rental property may be deducted if you aren't required to capitalize the expense," while "You must capitalize any expense you pay to improve your rental property" (Pub. 527).
For a rental or a sale alike, "No person shall engage in, or offer to engage in, contracting work in the Commonwealth unless he has been licensed" (Va. Code § 54.1-1103(A)). Va. Code § 54.1-1100 sets the license classes, which the Department of Professional and Occupational Regulation's Statement of Consumer Protections, effective July 1, 2025, summarizes by a project's total value: Class C for "more than $1,000 but less than $30,000," Class B for "$30,000 or more, but less than $150,000," and Class A for "$150,000 or more" (DPOR). The statute also counts a contractor's total work "within any 12-month period" (Va. Code § 54.1-1100).
DPOR's consumer guide says "Licensed contractors are required by law to provide a written contract for residential work, signed by both parties," and points to its License Lookup to check a license's status and disciplinary history (DPOR Consumer Guide: Hiring a Contractor). More on handling repairs alone is on the home repairs page.
What decides between renting and selling
Neither path is the default. The deciding facts are dates and figures in the household's own papers; near retirement, the choice also sets whether the house becomes monthly rent with a landlord's duties or one sum from a sale.
- The calendar: when each owner last lived there, and whether a sale could close while 24 months of residence remain in the five-year window (Pub. 523).
- Filing status: whether the spouses will be married on the last day of the year of sale and file jointly, which the $500,000 figure requires (Pub. 504, Pub. 523).
- The gain: whether it exceeds the exclusion, and how much depreciation a rental would add to the taxable part (Pub. 523, Topic 409).
- The carrying costs: whether rent would cover the mortgage, taxes, insurance and repairs, and whether the loan and the insurance policy allow a rental (the lender and the insurer answer that).
- The duties: a landlord's obligations and, in a Special Emphasis Area, an inspection before occupancy.
- The agreement: who owns, manages and pays for the house while it is rented, and what happens if the owners later disagree.
The tax figures are questions for a tax professional; the agreement and a court's options are questions for a licensed attorney. More on this choice is under keep the house or sell it, and guides for this stage of life are under approaching retirement.
Related guides on this site: Selling the house while separating in Virginia: taxes and closing; Still co-owners after a Virginia divorce: rights, costs and partition.