1031 Exchange Advisor Match

Multifamily Apartment 1031 Exchange

Apartment building owners who sell after years of 27.5-year depreciation face the largest deferred-tax bill in real estate — §1250 recapture on every dollar written off, long-term capital gains on every dollar of appreciation, and the Net Investment Income Tax on top. A 1031 exchange defers the entire amount. This guide covers the mechanics specific to multifamily: how the three tax layers work, agency loan prepayment costs, a worked $3.5M example showing $574K in federal tax deferred, value-add strategy after the exchange, and the replacement property options from another apartment building to a passive DST exit.

Does an Apartment Building Qualify for a 1031 Exchange?

Yes. An apartment building held for investment or productive use in a trade or business satisfies both conditions of IRC §1031.1 The like-kind standard for real estate is broad — any U.S. investment real property is like-kind to any other. A multifamily owner can exchange into another apartment building, a commercial NNN property, farmland, a Delaware Statutory Trust interest, or any other qualifying real estate regardless of property type.

Property typeQualifies for 1031?Notes
Apartment building (5+ units)YesClassic investment real property; 27.5-year depreciation
Duplex or triplex held for rentalYesSee rental property guide for SFR and small multifamily rules
Mixed-use building (residential + commercial)Yes — real property portionAllocate value between residential and commercial components; both qualify
Senior or assisted-living apartmentYes — real property componentBusiness/operating component may not qualify; must be separated at sale
Student housingYesQualifies as investment real property; same rules as standard multifamily
Primary residenceNoMust be held for investment, not personal use; see §121 exclusion separately
Apartment building you intend to convert to condos and sellNo (at risk)Condo-conversion intent suggests dealer status; IRS may challenge investment-use requirement

One important distinction from commercial real estate: residential multifamily uses a 27.5-year depreciation schedule (not the 39-year schedule for commercial). This faster write-off generates larger annual deductions — and a larger §1250 recapture bill when the property sells. It also creates more opportunity for cost segregation and bonus depreciation on a replacement property.

The Three Federal Tax Layers on a Multifamily Sale

When an apartment building is sold taxably, the gain is split into layers, each taxed at a different rate. The ordering matters — recapture is computed first, then capital gains on the remaining appreciation:

Tax layerWhat triggers it2026 federal rate
§1250 unrecaptured depreciation recaptureAll accumulated straight-line depreciation on the building (27.5-year residential MACRS)25%
Long-term capital gainAppreciation above the recaptured depreciation amount20% (high-income sellers)
Net Investment Income Tax (NIIT)Applies to passive investors (not material participants, or non-REPS landlords)3.8% on total gain

A 1031 exchange defers all three layers. The accumulated depreciation and deferred capital gain both carry into the carryover basis of the replacement property — to be recognized in a future taxable sale, or permanently eliminated if the owner holds until death and heirs receive a step-up in basis under IRC §1014.

Why 27.5 years matters more than you might think: A $2M apartment building generates about $72,727 in annual depreciation deductions. After 12 years of ownership, that is $872,727 in cumulative deductions — all subject to §1250 recapture at 25% in a taxable sale (~$218,182 federal tax on that recapture alone). A 1031 exchange defers this indefinitely.

Worked Example: $3.5M Apartment Building

A couple purchased a 12-unit apartment building 12 years ago for $1.8M (land $450,000; building $1,350,000). They have used straight-line depreciation on the 27.5-year residential schedule. The property is now under contract at $3.5M.

Adjusted Basis Calculation

ComponentOriginal costDepreciation takenAdjusted basis
Land$450,000$0$450,000
Building (27.5-yr SL, 12 yrs)$1,350,000$1,350,000 × 12/27.5 = $589,091$760,909
Total$1,800,000$589,091$1,210,909

Federal Tax Comparison: Taxable Sale vs. 1031 Exchange

Taxable sale1031 exchange
Sale price$3,500,000$3,500,000
Adjusted basis$1,210,909$1,210,909
Total realized gain$2,289,091$2,289,091
§1250 recapture (25% × $589,091)$147,273Deferred
LTCG (20% × $1,700,000 remaining gain)$340,000Deferred
NIIT (3.8% × $2,289,091, passive)$86,985Deferred
Total federal tax$574,258$0 at closing
Net proceeds available to reinvest~$2,925,742$3,500,000
The compounding impact: Reinvesting $3.5M in full (exchange) versus $2.93M after federal tax at 6% annual return produces $8.39M versus $7.01M after 15 years — a $1.38M gap from federal tax alone, before state taxes and any additional appreciation on the deferred tax capital.

Debt Replacement Requirement

For full deferral, the couple must also replace the mortgage balance. If the building carried a $1.6M agency loan at sale, the replacement property must have at least $1.6M in debt — or the shortfall is treated as mortgage boot, taxable at the §1250 and LTCG rates in the same priority order as the recapture table above. The boot guide covers the exact tax-order calculation for mortgage boot scenarios.

Reducing debt at retirement is possible but requires planning: a DST with pre-existing non-recourse financing may satisfy the debt replacement requirement without the investor taking on personal liability, and taking on a smaller loan relative to the new property's value creates taxable boot on the debt reduction.

Agency Loan Prepayment: The Defeasance and Yield Maintenance Issue

Most apartment buildings above $1M are financed with Fannie Mae, Freddie Mac, or HUD loans — collectively called agency debt — or with CMBS loans. These loan structures typically prohibit open prepayment. Selling the property and paying off the loan triggers a prepayment penalty that can represent a significant transaction cost:

Loan typeTypical prepayment structureHow cost is calculated
Fannie Mae / Freddie MacDefeasance or yield maintenance (lender's choice or as specified in note)Defeasance: cost of purchasing Treasuries to replicate loan cash flows. Yield maintenance: present value of remaining interest shortfall vs. current rate.
HUD / FHA multifamilyStep-down prepayment premium (often 10/9/8/7...1%)Fixed percentage of outstanding principal, declining annually
CMBSDefeasance or yield maintenanceSame mechanics as agency; often more expensive due to servicer complexity
Bank/portfolio loanVaries — often open or soft prepayment with shorter lockoutTypically 1–3% of outstanding balance in prepayment period
Tax treatment of prepayment costs: Defeasance fees and yield maintenance premiums are selling expenses that reduce the amount realized from the sale — they lower the gain but do not constitute boot. They should be included in the HUD-1 or closing statement and factored into the exchange calculation. A financial advisor and CPA should review the loan documents before executing the sale contract to quantify this cost.

The prepayment cost does not disqualify the exchange or reduce the amount that must be reinvested (the full sale price, net of selling expenses, must be reinvested for full deferral). But it can meaningfully affect the net economics. On a $1.6M loan with 4 years remaining at a favorable interest rate, a defeasance cost of $50K–$150K is not unusual and should factor into the exchange-versus-hold-longer decision.

Value-Add Strategy After a 1031 Exchange Into Multifamily

One of the most common uses of a multifamily 1031 exchange is stepping up into a value-add property — buying an apartment building with below-market rents, deferred maintenance, or cosmetic renovation opportunity, using exchange proceeds from a stabilized asset. The exchange has no restrictions on what the investor does with the replacement property after acquisition.

Cost Segregation and OBBBA Bonus Depreciation on the Replacement

After acquiring a value-add replacement property, a cost segregation study reclassifies portions of the building from the 27.5-year residential schedule into 5-year, 7-year, or 15-year asset categories. Under the One Big Beautiful Bill Act (OBBBA, July 2025), 100% bonus depreciation was permanently restored for qualified property placed in service after January 19, 2025.2

On a $3.5M replacement apartment building, a cost segregation study might reclassify $500,000–$800,000 of building components into short-life categories eligible for immediate expensing. The deduction mechanics:

Who captures the deductionHowTax impact
Real estate professional (REPS) — IRC §469(c)(7)750+ hours in real estate activities, material participation in the propertyBonus depreciation offsets ordinary income — potentially eliminating tax on W-2, business income, or other passive income in the same year
Active participant (but not REPS)Short-term rental with average stay ≤7 days and material participationSTR exception may allow active deduction; requires specific rental structure
Passive investorAll other apartment investorsDeductions become suspended passive activity losses (PALs) that carry forward to offset future passive income or release in a taxable sale

The carryover basis from the exchange is important: the replacement property's starting depreciable basis includes the carryover basis from the relinquished property, not the full new purchase price. However, any excess value above that carryover basis — often a significant amount on an appreciated property — starts a fresh depreciation clock at the new market allocation. A financial advisor and CPA should model this basis bifurcation before the exchange closes. See the cost segregation guide for the full basis mechanics.

Replacement Property Options for Apartment Owners

The right replacement depends on the owner's investment goals, income needs, desired management involvement, and estate plan. Multifamily owners typically consider four paths:

Option 1: Another Apartment Building

The simplest exchange — same asset class, same operational knowledge. Common motivations include moving to a larger market with better rent-growth prospects, exchanging a Class C asset into a Class B property with a more stable tenant base, or consolidating multiple smaller buildings into one larger asset for operational efficiency.

Multifamily classTypical 2026 cap rateCharacteristics
Class A (luxury, new construction, major metros)5.0–6.5%Higher acquisition price, institutional competition, lower deferred maintenance risk
Class B (mid-tier, workforce housing)6.0–7.5%Most common exchange target; balance of yield and stability
Class C (older stock, value-add)7.0–8.5%Higher renovation risk, PAL generation opportunity via cost segregation, larger rent-growth potential

Option 2: Delaware Statutory Trust (DST) — Multifamily

Multifamily apartments are the single largest asset class in the DST market. A DST sponsor acquires an apartment portfolio, structures it as a DST under Revenue Ruling 2004-86, and offers fractional interests to §1031 investors.3 The investor owns a beneficial interest in the DST — not a direct ownership interest — and receives monthly income distributions without active management responsibility.

DSTs are particularly attractive for multifamily owners who are retiring from active management but want to preserve the §1014 step-up at death, maintain real estate exposure, and receive passive income. Key considerations:

Option 3: NNN Commercial Property

Apartment owners seeking zero active management sometimes exchange into a single-tenant NNN property — a pharmacy, fast food, dollar store, or dollar general — where the tenant pays taxes, insurance, and maintenance. Cap rates on investment-grade NNN tenants in 2026 range from 5–7%. The debt replacement math is important: if the apartment had a high LTV loan, the replacement NNN property may need to carry a similar or larger mortgage. See the NNN guide for the full mechanics and credit tenant evaluation.

Option 4: Diversification Across Multiple Properties

A single $3.5M apartment sale can fund a diversified replacement portfolio: one apartment building in a secondary market, a partial interest in a NNN property, and a DST position. Using the 200% Rule (identify unlimited properties as long as their combined value does not exceed 200% of the sale price), the investor can identify backup replacements and close on the mix that actually clears due diligence. See the multiple properties guide for aggregated debt replacement math and identification strategy.

The 45-Day and 180-Day Clocks for Multifamily Transactions

Multifamily deals close on lender timelines — agency underwriting, third-party appraisals, and environmental assessments regularly take 45–75 days from contract to close. This creates a real tension with the 180-day exchange window:

  1. Start the QI relationship before the sale closes. The qualified intermediary agreement must be in place and the proceeds must be wired directly from the closing attorney to the QI — not to the seller's bank account, even temporarily. For large transactions, select a QI with adequate financial safety (segregated trust accounts, fidelity bond, E&O coverage). See the QI guide for the financial safety checklist.
  2. Identify within 45 days. The 45-day identification window is absolute — no extensions. For multifamily sellers who are still in due diligence on replacement properties at the time of sale closing, use the Three-Property Rule to identify up to three properties as backups. Once the 45th day passes, no new properties can be added to the identification list.
  3. Budget lead time for agency financing. If the replacement property requires a new Fannie Mae or Freddie Mac loan, the underwriting and approval process typically takes 30–60 days after application. For a $3.5M replacement property, the investor needs to be in contract well before day 120 of the 180-day window to leave adequate time for underwriting. If the window is tight, a bridge loan or hard-money loan can be used to close on time, with agency refinancing post-exchange.
  4. Watch for late-year closings. If the relinquished property closes after October 17, the 180-day window extends past the April 15 unextended return due date. File IRS Form 4868 (individuals) or Form 7004 (entities) for an extension to preserve the full 180 days. The deadline calculator flags this automatically.

When Does a Taxable Sale Beat the Exchange for an Apartment Owner?

A 1031 exchange is not always the right answer. For multifamily owners, a taxable sale may be preferable in these scenarios:

Get matched with a specialist financial advisor

A multifamily sale is often one of the largest financial events in a real estate investor's life. A fee-only financial advisor can model the exchange versus taxable sale with your specific numbers — including the agency loan prepayment cost, the carryover basis bifurcation, and the DST income projection — coordinate the plan with your CPA, QI, and estate attorney, and help you make an irreversible decision before the 45-day window forces a rushed commitment.

Fee-only focus - No obligation - Privacy-minded matching - Built for seven-figure planning decisions

Sources

  1. IRC §1031 — Like-Kind Exchanges, Cornell LII. Real property held for investment or productive use in a trade or business qualifies; the like-kind standard for real estate is broad regardless of property type. Residential multifamily uses the 27.5-year depreciation schedule under §168(c).
  2. OBBBA (One Big Beautiful Bill Act, July 2025) — Permanently restored 100% bonus depreciation for qualified property placed in service after January 19, 2025. IRS guidance on bonus depreciation. Cost-segregated multifamily components (5-year, 7-year, 15-year MACRS) placed in service after that date qualify for full immediate expensing.
  3. Rev. Rul. 2004-86 — Delaware Statutory Trusts as like-kind replacement property. Establishes DST beneficial interests as qualifying replacement property for §1031 exchanges, subject to the Seven Deadly Sins operational restrictions on the DST post-formation.
  4. IRC §1014 and IRC §469(g)(1) — §1014 step-up in basis at death and §469 passive activity loss release on full disposition. Tax rates (§1250 25%, LTCG 20%, NIIT 3.8%) verified against 2026 IRS guidance; rates unchanged from 2025. OBBBA (July 2025) estate exemption: $15M per person, permanently.

Tax rates and thresholds verified as of September 2026. IRC §1250 unrecaptured recapture at 25%, long-term capital gains rate at 20% for high-income filers, NIIT at 3.8%, and the 27.5-year residential depreciation schedule are unchanged for 2026. OBBBA (July 2025) permanently restored 100% bonus depreciation for property placed in service after January 19, 2025. The §1031 real-property-only limitation from TCJA (effective 2018) remains in effect.