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 type | Qualifies for 1031? | Notes |
|---|---|---|
| Apartment building (5+ units) | Yes | Classic investment real property; 27.5-year depreciation |
| Duplex or triplex held for rental | Yes | See rental property guide for SFR and small multifamily rules |
| Mixed-use building (residential + commercial) | Yes — real property portion | Allocate value between residential and commercial components; both qualify |
| Senior or assisted-living apartment | Yes — real property component | Business/operating component may not qualify; must be separated at sale |
| Student housing | Yes | Qualifies as investment real property; same rules as standard multifamily |
| Primary residence | No | Must be held for investment, not personal use; see §121 exclusion separately |
| Apartment building you intend to convert to condos and sell | No (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 layer | What triggers it | 2026 federal rate |
|---|---|---|
| §1250 unrecaptured depreciation recapture | All accumulated straight-line depreciation on the building (27.5-year residential MACRS) | 25% |
| Long-term capital gain | Appreciation above the recaptured depreciation amount | 20% (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.
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
| Component | Original cost | Depreciation taken | Adjusted 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 sale | 1031 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,273 | Deferred |
| LTCG (20% × $1,700,000 remaining gain) | $340,000 | Deferred |
| NIIT (3.8% × $2,289,091, passive) | $86,985 | Deferred |
| Total federal tax | $574,258 | $0 at closing |
| Net proceeds available to reinvest | ~$2,925,742 | $3,500,000 |
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 type | Typical prepayment structure | How cost is calculated |
|---|---|---|
| Fannie Mae / Freddie Mac | Defeasance 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 multifamily | Step-down prepayment premium (often 10/9/8/7...1%) | Fixed percentage of outstanding principal, declining annually |
| CMBS | Defeasance or yield maintenance | Same mechanics as agency; often more expensive due to servicer complexity |
| Bank/portfolio loan | Varies — often open or soft prepayment with shorter lockout | Typically 1–3% of outstanding balance in prepayment period |
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 deduction | How | Tax impact |
|---|---|---|
| Real estate professional (REPS) — IRC §469(c)(7) | 750+ hours in real estate activities, material participation in the property | Bonus 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 participation | STR exception may allow active deduction; requires specific rental structure |
| Passive investor | All other apartment investors | Deductions 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 class | Typical 2026 cap rate | Characteristics |
|---|---|---|
| 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:
- Debt replacement: DSTs come with pre-existing non-recourse financing at fixed rates. If the DST's loan-to-value ratio matches or exceeds the debt replacement threshold, the investor takes no personal liability.
- Front-end load: DST offering prices include 7–12% in upfront fees (sponsor, broker-dealer, advisor). On a $500K DST investment, $35K–$60K effectively goes to fees, reducing the productive capital at work.
- Seven Deadly Sins: After formation, a DST cannot take on new debt, renegotiate leases, accept new capital, or make major capital expenditures beyond normal maintenance. This limits flexibility but also protects investors from unsanctioned decisions.
- UPREIT exit path: Many multifamily DST sponsors are affiliated with real estate investment trusts. After a 2-year safe harbor, the DST can contribute assets to the REIT's operating partnership in a §721 exchange, converting the DST interest into OP units that eventually become liquid REIT shares. See the UPREIT vs DST guide.
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:
- 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.
- 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.
- 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.
- 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:
- The §1014 step-up is the exit strategy. If the owner is in declining health and heirs will inherit the property within a few years, the §1014 step-up at death erases all deferred gain — §1250 recapture, capital gains, and NIIT — permanently. If that outcome is likely within the near term, continuing to defer the tax through another exchange just delays what the step-up will ultimately eliminate at no cost. See the estate planning guide for how to factor health and estate timeline into the decision.
- Large suspended passive activity losses. If the apartment building generated significant suspended PALs over the years — losses from depreciation that the investor could not use because they were not a real estate professional — a taxable sale releases those losses under §469(g)(1). Those released PALs can absorb a portion of the gain, reducing the net tax cost of selling. A 1031 exchange carries the PALs forward to the replacement property but does not release them. See the PAL guide.
- Exiting real estate for retirement. If the investor plans to convert the equity to a diversified investment portfolio and live off the proceeds, the long-term deferral benefit of the exchange shrinks against the cost of ongoing real estate ownership and illiquidity. The exchange vs. taxable sale guide covers the breakeven analysis and the scenarios where the taxable sale wins.
- No replacement property meets the criteria. A forced exchange into a substandard replacement — weak tenants, declining market, deferred maintenance the seller doesn't understand, or a DST with an unsuitable risk profile — is worse than paying the tax and investing the net proceeds freely. If the replacement pipeline is thin, a financial advisor can model the exact cost of declining the exchange and help the investor evaluate DST alternatives before the 45-day clock runs out.
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.
Sources
- 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).
- 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.
- 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.
- 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.