DIRECT ANSWER
What to know first
A rental-property sale generally starts with the amount realized after selling costs and the property's adjusted tax basis—not the remaining mortgage. Improvements can increase basis, while depreciation allowed or allowable generally reduces it. The result may include several federal tax layers, released passive losses, state reporting, and different treatment for the building, land, and shorter-life assets. A potential 1031 exchange must be coordinated before closing rather than reconstructed afterward.
Work through the sale in this order
Confirm the owner and property history.
Identify who owns the property, how the owner is taxed, when the property was acquired and placed in service, whether it was ever a main home, and whether use changed during ownership.
Build the adjusted-basis schedule.
Start with supportable acquisition basis, allocate land, add capitalized acquisition costs and improvements, and apply required basis reductions including depreciation allowed or allowable.
Reconcile every depreciated asset.
The building, appliances, furniture, land improvements, qualified improvement property, and cost-segregation components can have different recovery and sale-reporting rules.
Calculate the amount realized.
Reconcile gross sales price, selling expenses, liabilities, credits, and any property or money received. Mortgage payoff affects cash at closing but does not by itself determine taxable gain.
Classify the federal gain or loss.
Form 4797, Schedule D, Form 8949, Form 8824, or other forms may apply depending on the asset, holding period, activity, and transaction structure.
Review passive losses, NIIT, and state returns.
A fully taxable disposition can affect suspended passive losses. Net investment income tax and state-source reporting can also change the overall result.
Coordinate alternatives before closing.
A deferred like-kind exchange requires advance structuring and strict identification and receipt deadlines. Legal documents, title, debt, and ownership changes should be coordinated with qualified legal and exchange professionals.
A preliminary gain calculation
This framework organizes the arithmetic before the tax character is determined. It does not allocate the result among every asset or calculate the final federal or state tax.
| Figure | Common starting items | Important caution |
|---|---|---|
| Amount realized | Gross selling price less qualifying selling expenses, adjusted for other consideration and liabilities under the applicable rules. | Cash received after paying off debt is not the same as amount realized. |
| Adjusted basis | Acquisition basis plus capitalized costs and improvements, less depreciation and other required basis reductions. | Land, building, improvements, and shorter-life assets may need separate schedules. |
| Preliminary gain or loss | Amount realized minus adjusted basis. | The total still must be classified by asset and tax rule before estimating tax. |
Records that support adjusted basis
- Purchase closing statement and allocation between land and depreciable property
- Invoices and placed-in-service dates for additions, renovations, appliances, furniture, and land improvements
- Every federal and state depreciation schedule, including cost-segregation assets
- Records of casualty losses, insurance reimbursements, credits, easements, and other basis adjustments
- Sale contract, closing statement, commissions, legal fees, transfer taxes, and other selling-cost support
- Prior returns showing rental use, personal use, suspended losses, and ownership changes
Depreciation can create more than one tax layer
Depreciation reduces basis even when a deduction was allowable but not claimed. On sale, the federal result may include ordinary-income recapture for certain Section 1245 assets, unrecaptured Section 1250 gain subject to its own maximum rate, and other Section 1231 or capital-gain treatment.
Do not apply a universal 25% rate to the entire gain or assume every dollar of prior depreciation has identical treatment. The asset classification, depreciation method, holding period, total gain, and the taxpayer's broader return all matter.
A sale can affect suspended passive losses
Rental losses limited in prior years may be tracked as suspended passive-activity losses. A qualifying fully taxable disposition of the entire interest to an unrelated person can change how those losses are used, but the transaction and activity groupings must satisfy the applicable rules.
The passive-loss effect should be reviewed with the sale calculation rather than treated as an automatic dollar-for-dollar offset. At-risk limits, basis limits, prior grouping decisions, and partial or related-party dispositions can change the result.
Former homes and mixed-use property need separate review
A property that was once a main home may require coordination of the Section 121 home-sale rules with rental use, nonqualified use, and depreciation after May 6, 1997. Gain attributable to depreciation generally is not excluded merely because the property also satisfies a home-sale ownership and use test.
Vacation homes, short-term rentals, partial rentals, and properties with personal-use periods can require allocations that a simple rental-sale worksheet cannot determine.
A 1031 exchange must be planned before the sale closes
Section 1031 generally applies only to qualifying real property held for business or investment that is exchanged for qualifying like-kind real property. A deferred exchange is not simply a sale followed by a later purchase; actual or constructive receipt of proceeds can disqualify the intended deferral.
Replacement property generally must be identified in writing within 45 days after the transfer, and received by the earlier of 180 days after the transfer or the return due date, including extensions. Engage a qualified intermediary and appropriate legal advisers before closing.
Other facts that can change the return
- Installment-sale terms, seller financing, debt relief, or property received
- Partnership, S corporation, trust, estate, or multi-owner interests
- Related-party transactions or a partial sale
- A property in one state owned by a resident of another state
- Net investment income tax and capital-loss or Section 1231 history
- Foreign property, involuntary conversions, or a pending 1031 exchange
APPLY THE GUIDE
Related tools and service paths
Rental-property sale estimator
Organize sale price, selling costs, adjusted basis, improvements, and depreciation in a private preliminary worksheet.
Rental-property tax services
Coordinate return preparation, depreciation records, property sales, estimates, and state filings within a written scope.
CPA help for real estate investors
See the broader tax and filing path for owners with rentals, entities, multiple states, and transactions.
PRIMARY GUIDANCE
Sources
- IRS Publication 544, Sales and Other Dispositions of Assets
- IRS Publication 527, Residential Rental Property
- IRS Instructions for Form 4797
- IRS Publication 551, Basis of Assets
- IRS Publication 925, Passive Activity and At-Risk Rules
- IRS Topic No. 559, Net Investment Income Tax
- IRS like-kind exchange guidance
