Skip to main content
Public Desk

    Popular: W-9, W-4,1099-NEC, Paycheck calculator,Fill any PDF

    Real Estate Investor Tax Guide (2026): MACRS Depreciation, 1031 Exchanges & NIIT

    How 27.5-year and 39-year MACRS depreciation, 25% Section 1250 recapture, Section 1031 exchanges (45/180-day rules), and the 3.8% NIIT work for rental investors.

    Last updated · Reviewed by the Public Desk Editorial Team

    Not a government website. Not affiliated with the IRS, USCIS, or any government agency. For informational purposes only — not tax, legal, or immigration advice. Read the full disclaimer.

    Owning rental real estate involves a different tax cycle from owning stocks or living in your own home. While you hold the property, MACRS depreciation shelters cash flow on Schedule E—but every dollar of depreciation reduces your cost basis and comes back into focus when you sell. Between depreciation recapture, Section 1031 like-kind exchanges, and the 3.8% Net Investment Income Tax, the timing and structure of a sale can swing your federal tax bill by tens of thousands of dollars. This guide explains the core 2026 federal rules and official IRS forms. It is general information, not tax or legal advice.

    Separating land from depreciable building basis

    Before you take your first dollar of depreciation, you must split your total acquisition basis (purchase price plus certain capitalized closing costs such as recording fees, title insurance, and transfer taxes) into two buckets:

    • Land (non-depreciable): Under IRS Publication 527, land is never depreciated because it does not wear out or get used up.
    • Building and improvements (depreciable): The structure itself, plus capital improvements you make after purchase (such as a new roof or HVAC system), are depreciated over their IRS recovery periods.

    Investors typically establish the land-to-building split using the county property tax assessment ratio, an independent appraisal, or a clear allocation in the purchase documentation. Keep the backup for that allocation with your permanent property records—you will need it for the entire time you own the building and when you eventually sell or exchange it.

    MACRS straight-line depreciation (27.5 vs. 39 years)

    Under the MACRS General Depreciation System (GDS), rental buildings are depreciated using the straight-line method and the mid-month convention:

    • Residential rental property: 27.5 years (about 3.636% of depreciable building basis per full year). See IRS Publication 527 for the dwelling-unit gross rental income test that distinguishes residential from nonresidential buildings.
    • Nonresidential (commercial) real property: 39 years (about 2.564% per full year).
    • Mid-month convention: Regardless of which day of the month you place the rental in service (ready and available for rent), the IRS treats it as placed in service at the midpoint of that month. A property placed in service in July, for example, receives 5.5 months of depreciation in year one, not 6.

    Run your purchase price, land value, and placement month through the rental property depreciation calculator to see your exact first-year and full-year schedule.

    You claim initial-year rental depreciation on Form 4562 (Part III, Section B) and report ongoing rental income, operating expenses, mortgage interest, property taxes, and depreciation on Schedule E. Note that rental mortgage interest is deducted on Schedule E as a rental expense—it is not subject to the personal home-acquisition debt cap ($750,000, or $375,000 married filing separately), which applies to primary and second-home itemized deductions modeled in the mortgage tax deduction calculator. Some landlords whose rental activity rises to a Section 162 trade or business (or meets the IRS rental safe harbor) may also evaluate eligibility for the 20% deduction in the QBI deduction calculator.

    Selling a rental: capital gains and 25% depreciation recapture

    When you sell a rental property held for more than one year in a taxable sale, your gain is usually split into two pieces taxed at different federal rates:

    1. Unrecaptured Section 1250 gain: The portion of your gain equal to the straight-line depreciation you claimed—or were allowed to claim, even if you forgot to deduct it—is taxed at your ordinary marginal income tax rate up to a maximum federal rate of 25% (IRS Topic 409).
    2. Remaining long-term capital gain: Appreciation above your original adjusted cost basis is taxed at the 2026 federal long-term capital gains rates—0%, 15%, or 20%—depending on your taxable income (for 2026, the 15% bracket starts above $49,450 single / $98,900 married filing jointly, and the 20% bracket starts above $545,500 single / $613,700 joint).

    Model how appreciation stacks on top of ordinary income in the capital gains tax calculator.

    Deferring taxes with a Section 1031 like-kind exchange

    If you plan to reinvest your equity into another investment or business real estate asset, IRC § 1031 lets you defer both long-term capital gains tax and 25% unrecaptured Section 1250 tax by exchanging real property for like-kind real property (personal property and personal residences do not qualify).

    Three strict rules govern a deferred 1031 exchange under the Form 8824 instructions:

    • 45-day identification deadline: You must identify potential replacement property in writing within 45 calendar days after closing the sale of your relinquished property.
    • 180-day completion deadline: You must close on and receive the replacement property within 180 calendar days after transferring the relinquished property (or by the due date of your tax return for that year, including extensions, if earlier). Neither deadline is extended for weekends or holidays in the ordinary course.
    • Boot triggers immediate tax: To defer 100% of your realized gain, you generally must acquire replacement real estate of equal or greater value and reinvest all net equity without reducing net mortgage debt (unless offset by adding cash). Any cash you receive, non-like-kind property received, or net debt relief is boot, which is taxable up to your realized gain—with depreciation recapture generally recognized first.

    Use a Qualified Intermediary before closing the sale (touching the sale proceeds directly disqualifies the exchange), estimate deferred gain, boot, and exact calendar deadlines in the 1031 exchange calculator, and report the exchange to the IRS on Form 8824.

    The 3.8% Net Investment Income Tax (Form 8960)

    High-income real estate investors face an additional federal surtax on top of income and capital gains rates: the 3.8% Net Investment Income Tax (NIIT) under IRC § 1411.

    The 3.8% tax applies to the lesser of your net investment income or the amount by which your Modified Adjusted Gross Income (MAGI) exceeds statutory thresholds that are not indexed for inflation:

    • Single or head of household: $200,000
    • Married filing jointly (or qualifying surviving spouse): $250,000
    • Married filing separately: $125,000

    Net rental income and taxable gain from selling investment real estate (including taxable boot in a partial 1031 exchange) generally count as net investment income, unless the rental is part of an active Section 162 real estate trade or business in which you materially participate (such as a qualifying real estate professional). Estimate your exposure in the 3.8% NIIT calculator and report the tax on Form 8960, attached to Form 1040.

    Rental property vs. the primary-residence § 121 exclusion

    Investors sometimes confuse the investment deferral rules of Section 1031 with the primary-home exclusion under IRC § 121 (IRS Topic 701):

    • Main-home exclusion (§ 121): Excludes up to $250,000 of gain ($500,000 if married filing jointly) permanently—not just deferred—if you owned and lived in the home as your main residence for at least 2 of the 5 years ending on the sale date.
    • No exclusion for depreciation: Even if you convert a rental into your main home (or rent out a former main home) and meet the 2-out-of-5-year test, prior rental depreciation allowed or allowable is never excluded under § 121 and remains taxable up to 25% (see IRS Publication 523 for the effective-date cutoff and calculation).
    • Nonqualified use: Gain allocated to periods when the property was used as a rental before it became your main home generally cannot be excluded under § 121.

    What this guide does not cover

    This guide is general federal tax information, not tax, legal, or real estate advice. It does not cover passive activity loss (PAL) limitations and the special rental loss allowance on Form 8582, real estate professional status hour and material-participation tests, short-term rental exceptions, cost segregation studies, state capital gains taxes or state 1031 clawback rules, installment sales (Form 6252), or partnership/LLC basis and Section 754 elections. Consult IRS Publication 527, the Form 8824 and Form 8960 instructions, or a qualified real estate CPA before closing a sale or exchange.

    Frequently asked questions

    Why do I have to separate land value from building value before depreciating a rental?

    Under IRS Publication 527, land never wears out and cannot be depreciated. Only the cost basis allocable to the building and depreciable improvements is recovered over 27.5 years (residential rental property) or 39 years (nonresidential real property). Investors commonly allocate purchase price using property tax assessments, an appraisal, or closing documentation.

    How does the MACRS mid-month convention affect first-year rental depreciation?

    Under MACRS General Depreciation System straight-line rules, real property placed in service during a month is treated as placed in service at the midpoint of that month. That means you get half a month of depreciation for the placement month plus the remaining full months in the year, rather than a full 3.636% residential or 2.564% commercial annual deduction.

    What is unrecaptured Section 1250 gain when I sell a rental property?

    Every dollar of depreciation you claimed (or were allowed to claim) lowers your adjusted basis, which increases gain on sale. Under IRS Topic 409, the portion of gain attributable to prior straight-line real estate depreciation—called unrecaptured Section 1250 gain—is taxed at your ordinary rate up to a maximum federal rate of 25%, rather than the standard 15% or 20% long-term capital gains brackets.

    What are the strict deadlines and boot rules in a Section 1031 like-kind exchange?

    Per Form 8824 instructions, you must identify replacement real property in writing within 45 calendar days of transferring the relinquished property and receive the replacement property within 180 calendar days (or by your tax return due date with extensions, if earlier). Any cash you keep, non-like-kind property received, or net mortgage debt reduction counts as taxable "boot" and triggers recognized gain up to your realized gain.

    When does the 3.8% Net Investment Income Tax apply to rental income and sales?

    Under IRS Topic 559 and Form 8960, the 3.8% NIIT applies to the lesser of your net investment income or the excess of Modified Adjusted Gross Income (MAGI) over $200,000 (single or head of household), $250,000 (married filing jointly), or $125,000 (married filing separately). Passive rental net income and taxable gains from selling investment real estate are generally included in net investment income unless an active real estate trade or business exception applies.

    Can I use the $250,000 / $500,000 home-sale exclusion on a rental property?

    The IRC § 121 exclusion ($250,000 single, $500,000 married filing jointly) applies only if you owned and lived in the property as your main home for at least 2 of the 5 years ending on the sale date (IRS Topic 701). Even if a former rental later qualifies for § 121, prior rental depreciation allowed or allowable cannot be excluded and remains subject to unrecaptured Section 1250 tax, and gain allocated to periods of nonqualified rental use may also be ineligible.

    Official sources

    Every number on this page comes from the documents below. Last checked against them on .

    1. Publication 527, Residential Rental Property — Internal Revenue ServiceLand vs. building basis allocation, MACRS GDS 27.5-year and 39-year recovery periods, mid-month convention, and Schedule E reporting.
    2. About Form 8824, Like-Kind Exchanges — Internal Revenue ServiceOfficial form page for reporting IRC § 1031 real property like-kind exchanges.
    3. Instructions for Form 8824, Like-Kind Exchanges — Internal Revenue Service45-day identification rule, 180-day exchange completion window, boot calculation, and replacement basis rules.
    4. About Form 8960, Net Investment Income Tax — Individuals, Estates, and Trusts — Internal Revenue ServiceReporting the 3.8% NIIT on passive rental income, capital gains, and allocable investment expenses.
    5. Topic No. 409, Capital gains and losses — Internal Revenue ServiceLong-term capital gains holding period and the 25% maximum rate on unrecaptured Section 1250 gain.
    6. Topic No. 559, Net investment income tax — Internal Revenue Service3.8% rate and statutory MAGI thresholds ($200,000 single / $250,000 joint / $125,000 MFS).
    7. Topic No. 701, Sale of your home — Internal Revenue Service$250,000 / $500,000 IRC § 121 main-home exclusion and the 2-out-of-5-year ownership and use tests.