Learn how a rental property sale is taxed, including adjusted basis, selling costs, depreciation, Section 1231 gain, and California differences.
A rental property sale is generally taxed by comparing the property's amount realized with its adjusted tax basis. The result is not always one simple capital gain. Depreciation, separately identified assets, Section 1231 rules, prior losses, installment payments, and any period of personal use can divide the transaction into several tax components.
The mortgage payoff does not ordinarily reduce taxable gain. Debt affects the cash the owner receives at closing, while gain is based on amount realized and adjusted basis. This distinction explains why a seller can have substantial taxable gain even when much of the closing cash pays off a loan.
A useful starting formula is:
Amount realized − adjusted basis = realized gain or loss
Amount realized generally includes cash, the fair market value of property received, and debt assumed or paid by the buyer, reduced by qualifying selling expenses. Adjusted basis generally begins with cost, then increases for capital improvements and certain acquisition costs and decreases for depreciation allowed or allowable, casualty adjustments, credits, and other basis reductions.
Land is not depreciable. Owners should preserve the original land/building allocation rather than treating the entire purchase price as building basis. Appliances, furniture, land improvements, and cost-segregated components may also require separate disposition calculations.
Consider a rental duplex with:
A $300,000 mortgage payoff changes the seller's net closing cash but not this gain formula.
Residential rental buildings are generally Section 1250 property. For an individual selling property held more than one year, the depreciation-related portion of long-term gain may be unrecaptured Section 1250 gain, generally subject to a maximum federal rate of 25%. It is not automatically taxed at 25%; the actual result depends on taxable income and the Schedule D tax computation.
Additional depreciation beyond straight-line treatment can create ordinary Section 1250 recapture in limited situations. Shorter-lived personal property, such as appliances or cost-segregated Section 1245 components, may produce ordinary-income recapture up to prior depreciation. The remaining net Section 1231 gain may ultimately receive long-term capital-gain treatment after the required netting and five-year lookback rules.
Depreciation is generally based on the amount allowed or allowable. Failing to claim depreciation does not necessarily preserve basis. An owner who omitted depreciation may need to evaluate Form 3115 or amended-return options rather than simply ignoring the missed deductions at sale.
Form 4797 commonly reports a sale of rental property used in a trade or business. Part III handles recapture computations; property held more than one year may flow through Part I and the Section 1231 netting process. Schedule D then incorporates resulting long-term amounts and calculates special-rate components, including unrecaptured Section 1250 gain.
Form 8949 may apply when property was held for investment but the activity did not rise to a trade or business, or for a home-sale portion under applicable rules. Form 6252 applies to many installment sales. Form 8824 applies to a qualifying like-kind exchange. The facts, not merely the label "rental," determine the reporting path.
A fully taxable disposition of an entire passive activity to an unrelated person can release suspended passive losses under Section 469. Basis-limited, at-risk, vacation-home, and passive-loss carryforwards are different records; a sale does not release every category under the same rule.
Owners should also review capital loss carryovers, Section 1231 lookback amounts, unallowed interest, and any depreciation elections. These items can materially change the return even when they are absent from the closing statement.
When a former principal residence becomes a rental, the home-sale exclusion may apply to part of the gain if the ownership and use tests are met. Depreciation for rental or business use after May 6, 1997, generally cannot be excluded. Separate-space rental use, periods of nonqualified use, and loss-basis rules can complicate the calculation.
For depreciation after conversion, basis generally begins with the lower of adjusted basis or fair market value on the conversion date. Gain basis and loss basis can therefore differ. Keep the original purchase records, conversion-date appraisal, improvement history, depreciation schedules, personal-use calendar, and sale documents.
California taxes capital gains as ordinary income; it does not provide the federal preferential capital-gain rate. California may nevertheless require the same character and gain computations for return reporting. Schedule D (540) reports adjustments when California gains or losses differ from federal amounts, and Schedule D-1 is comparable to federal Form 4797.
Federal and California adjusted bases may differ because California does not conform to every federal depreciation provision, including federal bonus depreciation. The California gain must be calculated using the California depreciation schedule rather than copying federal adjusted basis. A lower amount of prior California depreciation generally means a higher California basis and potentially a lower California gain, but all adjustments must be reconciled.
California-source gain can remain taxable to a nonresident when California real property is sold. California withholding at closing is a payment toward tax, not necessarily the final tax liability or the taxable gain calculation.
Heath Income Tax can help rental owners reconstruct basis, reconcile depreciation, model sale consequences, and prepare the federal and California disposition forms.
Is all profit from a rental sale taxed at the capital-gain rate?
No. Ordinary recapture, unrecaptured Section 1250 gain, Section 1231 gain, and other components may receive different treatment.
Does paying off the mortgage reduce the taxable gain?
Generally no. It reduces closing cash, but gain is based on amount realized minus adjusted basis.
Can a 1031 exchange be arranged after the sale closes?
Generally not as an afterthought. The exchange structure, qualified intermediary, identification, and timing rules must be addressed before control of sale proceeds is received.
The definitions and examples on this page are for informational purposes only and do not constitute tax advice. Tax laws change frequently and individual circumstances vary. Consult a qualified tax professional before making decisions based on this content.
Click a question or ask us your own.
Ask Us a Question
Message Sent!
Thank you — we'll get back to you as soon as possible.