Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before selling a U.S. rental property, check two things that can change the outcome: how the sale will be taxed and what the lease and local law require if a tenant still lives there. Reconstruct your adjusted tax basis, decide whether you are selling with the tenant or seeking vacant possession, and confirm disclosures and sale steps for the property’s location before you commit to a closing date.

How is the taxable gain on a rental property sale calculated?

Your gain is not simply the sale price minus what you originally paid. Federal tax generally compares the amount realized from the sale with the property’s adjusted basis. Selling expenses can affect the amount realized; capital improvements and depreciation can affect basis. The details depend on the property’s history and the seller’s circumstances.

Depreciation matters even if you did not claim every deduction you could have claimed: depreciation allowed or allowable can affect basis. A sale at a gain may also trigger rules that treat some gain as ordinary income, so it is not safe to call the entire taxable amount “capital gains.” The IRS explains these basis and disposition rules in Publication 544 and Publication 527.

Build the records before estimating tax

Gather documents that let a tax professional trace what you paid, how the property was used, what changed its basis, and what the sale costs. The IRS identifies acquisition date and manner, cost or other basis, depreciation or amortization, and other basis adjustments as information to keep in permanent records.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Purchase and acquisition records, including the closing statement.
  • Invoices and records for capital improvements, plus permits where applicable.
  • Depreciation schedules and tax returns from every year the property was rented or used in business.
  • Records of personal, rental, and business use, including dates and any change in use.
  • Estimated selling costs, the eventual closing statement, and records of liens or loan payoff.

Depreciation can affect the character of gain

Under depreciation-recapture rules, some or all of the gain on depreciable property may be treated as ordinary income. For certain real property, unrecaptured Section 1250 gain is a distinct tax concept; it should not be conflated with every kind of depreciation recapture. The applicable treatment depends on the asset, depreciation, holding period, and other facts. IRS Publication 544 describes recapture and Section 1231 treatment, including the need to account for recapture before treating remaining qualifying gain as Section 1231 gain.

Reporting also varies. Depending on the purpose of the activity and the sale facts, IRS guidance identifies Form 4797 or Form 8949; individuals typically use Schedule D with the relevant form. A landlord should have a tax preparer determine the appropriate reporting rather than assume one form fits every rental sale. See the IRS Sales, trades, exchanges FAQ.

Former homes and mixed personal use need a separate review

If you once lived in the property, used part of it personally, or changed its use between home and rental, do not assume that moving back in for a set period automatically removes the tax consequences of rental use. Allocation, depreciation, the home-sale exclusion, and a possible Section 1031 exchange can interact. Review the full timeline against IRS Publication 523 with a tax professional.

Can you sell a property with a tenant living in it?

Often, yes, but the tenant’s lease and the law where the property is located govern what happens next. A sale does not automatically end a tenancy nationwide, and there is no single notice period or showing rule that applies everywhere. A general overview from Nolo explains that the lease and state or local law shape marketing and showings, and that in most states tenants have rights to remain until the lease or rental agreement expires. Treat that as orientation, not a rule for your particular property.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Compare the two sale approaches using your lease, local requirements, timing, and actual costs—not an assumed universal price premium or discount:

Decision factor Sell with the tenant in place Seek vacant possession before sale
Lease and buyer plans Review the fixed-term or month-to-month agreement, any sale clause, and whether the likely buyer is an investor prepared to take on the tenancy. Check whether the lease and local law permit the tenant to leave by the intended date; a buyer’s preference for an empty home does not itself end the tenancy.
Marketing and access Coordinate showings, photographs, signs, and access around the tenant’s rights and the lease. Plan any lawful move-out process and subsequent access; do not promise a vacancy date until it is supportable.
Timing and costs Estimate rent and sale timing during marketing, and consider how a tenant’s cooperation affects access. Compare turnover, lost rent, any lawful incentives, and timing against the expected sale schedule using property-specific numbers.
Potential buyer pool A performing tenancy may suit some investors; this is a practical possibility, not a guarantee of value or a statistical premium. An owner-occupant may prefer vacant possession, but the reviewed sources establish no universal financial advantage to either approach.

Check the lease and local tenant protections first

Read the lease and amendments for term, access provisions, sale-related language, and any tenant purchase rights. Before offering vacant possession, check local rules for tenant purchase programs, rights of first refusal, just-cause requirements, and required notices. Ask whether the tenant wants to buy only if that is a sensible step and no formal local procedure should come first.

Jurisdictional examples show why location matters. The Texas State Law Library says that when a lease does not say it ends on sale, an ordinary sale generally does not let the owner remove the tenant or change the lease; it also discusses a foreclosure-sale exception and a 90-day notice circumstance. Nevada’s statute separately provides for continuation of a tenant’s rights, obligations, and liabilities under the prior lease in the circumstances it covers: Nevada Revised Statutes, Chapter 40. These examples are not rules for properties elsewhere.

Should you consider a Section 1031 exchange?

A qualifying like-kind exchange may postpone recognition of gain by shifting basis to replacement property; it is not a blanket tax-free sale. The real property generally must be held for investment or productive use in a trade or business, rather than primarily for sale. If the replacement property is lower in value or you receive cash or other non-like-kind property, some gain may be recognized. Review the IRS Sales, trades, exchanges FAQ and Publication 544.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Exchange planning has to happen before closing. The seller cannot have actual or constructive receipt of the sale proceeds; IRS guidance identifies a qualified intermediary or qualified trust as a safe harbor for handling them. Deadlines and execution requirements must be checked against current rules and specialist advice before the sale closes. An exchange is reported on Form 8824 even when no gain or loss is recognized.

Use a tax professional to evaluate eligibility and consequences, and a qualified intermediary if you pursue an exchange. Do not wait until after closing to investigate the option.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What disclosures and sale-preparation records should you assemble?

Determine which disclosures apply

Federal lead-based-paint disclosure requirements apply to most pre-1978 housing, including covered private, public, federally owned, and federally assisted housing. Sellers and agents have duties in covered transactions; confirm whether the property is covered and complete the applicable steps before contract. The EPA’s real-estate disclosure guidance explains the federal requirements. Lead disclosure does not replace state or local disclosure rules for condition, hazards, permits, or known defects.

Prepare a transaction file

Requirements vary by property, jurisdiction, and transaction, but organizing these records can make legal, tax, and closing review more efficient:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Deed, ownership or entity information, loan payoff details, and known liens.
  • Current and prior leases, amendments, rent ledger, security-deposit records, and tenant notices.
  • Improvement invoices, permits, inspection records, and environmental documents.
  • Insurance and claims history, if available.
  • Tax returns, depreciation schedules, and records of acquisition, use changes, and basis adjustments.
  • A closing-cost estimate and, after closing, the final settlement statement.

Who should help with the sale?

  • Tax professional: Have an experienced preparer review adjusted basis, depreciation, mixed personal use, gain character, and reporting forms.
  • Qualified intermediary: Consult one before closing if you are evaluating a Section 1031 exchange.
  • Local real-estate or legal professional: Get property-location-specific advice on lease rights, showings, notices, vacant possession, disclosures, and contract terms.

The property’s location, lease, ownership structure, use history, and tax facts determine which rules apply. Federal tax guidance and lead-disclosure rules are national in scope, but many tenant, transfer, showing, and other disclosure requirements vary by state and locality. This article is general information, not individualized legal or tax advice.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.