Tax Help Guy Logo

TAX ARTICLES

Tax Help Guy Articles

Real Estate Capital Gains Tax Strategies: Minimize Taxes on Property Sales | Tax Help Guy

Smart Strategies to Reduce or Eliminate Capital Gains Taxes

Published: December 3, 2025

"Learn strategies to minimize capital gains taxes on real estate sales. Expert guidance on primary residence exclusion, 1031 exchanges, and timing strategies. Call (760) 249-7680."

Tax Help Guy
Tax Help Guy
December 3, 2025

Real Estate Capital Gains Tax Strategies: Minimize Taxes on Property Sales

Smart Strategies to Reduce or Eliminate Capital Gains Taxes

Selling real estate can trigger substantial capital gains taxes, but strategic planning can dramatically reduce or even eliminate your tax bill. For property owners in Victorville and Apple Valley, CA , understanding capital gains strategies is essential for maximizing your wealth. This comprehensive guide covers proven strategies to minimize capital gains taxes on real estate sales.VictorvilleApple Valley, CA

πŸ’° Planning to Sell Property? Minimize Your Tax Bill

Capital gains taxes can consume 30-40% of your profit. Our tax professionals can help you structure your sale to minimize or eliminate taxes through strategic planning.

Call (760) 249-7680 for Capital Gains Tax Planning

Understanding Real Estate Capital Gains

Capital gain is the difference between your property's sale price and its adjusted basis (original cost plus improvements minus depreciation).

Capital Gain Calculation

Formula:Formula:

Sale Price - Selling Costs (commissions, closing costs) - Adjusted Basis (purchase price + improvements - depreciation) = Capital Gain





Capital Gain

Example:Example:

  • Sale Price: $800,000
  • Selling Costs: $50,000
  • Original Purchase Price: $400,000
  • Improvements: $50,000
  • Depreciation Taken: $100,000
  • Adjusted Basis: $350,000 ($400k + $50k - $100k)
  • Capital Gain: $400,000Capital Gain: $400,000

Capital Gains Tax Rates

Federal Long-Term Capital Gains Rates (2024)

Filing Status 0% Rate 15% Rate 20% Rate Single Up to $47,025 $47,026 - $518,900 Over $518,900 Married Filing Jointly Up to $94,050 $94,051 - $583,750 Over $583,750Filing Status 0% Rate 15% Rate 20% RateSingle Up to $47,025 $47,026 - $518,900 Over $518,900Married Filing Jointly Up to $94,050 $94,051 - $583,750 Over $583,750
Filing Status0% Rate15% Rate20% Rate
SingleUp to $47,025$47,026 - $518,900Over $518,900
Married Filing JointlyUp to $94,050$94,051 - $583,750Over $583,750

Additional Taxes on Real Estate Gains

  • Net Investment Income Tax (NIIT): 3.8% for high earners (AGI over $200k single/$250k married)Net Investment Income Tax (NIIT):
  • Depreciation Recapture: Up to 25% on depreciation takenDepreciation Recapture:
  • California State Tax: Up to 13.3% on all gainsCalifornia State Tax:

⚠️ Total Tax Can Exceed 40%

High-earner in California selling investment property:High-earner in California selling investment property:

  • Federal capital gains: 20%
  • NIIT: 3.8%
  • Depreciation recapture: 25% (on depreciated portion)
  • California state tax: 13.3%
  • Total: 37.1% - 42.1%Total: 37.1% - 42.1%

On a $400,000 gain, that's $148,400 - $168,400 in taxes!

Strategy #1: Primary Residence Exclusion (Section 121)

The most powerful capital gains strategy: exclude up to $250,000 (single) or $500,000 (married) of gain from your primary residence sale.

Requirements

  • Ownership test: Owned the home for at least 2 of the past 5 yearsOwnership test:
  • Use test: Lived in the home as your primary residence for at least 2 of the past 5 yearsUse test:
  • Frequency test: Haven't used the exclusion in the past 2 yearsFrequency test:

πŸ’‘ Primary Residence Exclusion Example

Married couple sells primary residence:Married couple sells primary residence:

  • Purchase price: $300,000 (2018)
  • Sale price: $900,000 (2024)
  • Capital gain: $600,000
  • Section 121 exclusion: $500,000
  • Taxable gain: $100,000Taxable gain: $100,000
  • Tax savings: ~$185,000!Tax savings: ~$185,000!

Partial Exclusions

You may qualify for a partial exclusion if you don't meet the full 2-year requirement due to:

  • Job relocation (50+ miles)
  • Health reasons
  • Unforeseen circumstances (divorce, multiple births, unemployment, etc.)

Converting Rental to Primary Residence

You can convert a rental property to your primary residence to use the Section 121 exclusion, but:

  • You must live in it for 2 of the 5 years before sale
  • Post-2008 rental use reduces the exclusion proportionally
  • Depreciation taken after May 6, 1997 must be recaptured

πŸ’‘ Rental-to-Primary Conversion Strategy

Strategy: Move into your rental property for 2 years before sellingStrategy:

  • Owned and rented: Years 1-5
  • Convert to primary residence: Years 6-7
  • Sell in Year 8
  • Qualify for partial Section 121 exclusion
  • Excludable gain: $250k-$500k Γ— (2 years lived Γ· 7 years owned) = significant tax savings

Strategy #2: 1031 Exchange (Like-Kind Exchange)

Defer ALL capital gains taxes by exchanging into another investment property. See our comprehensive article on 1031 exchanges for details.

Key Benefits

  • Defer 100% of capital gains taxes
  • Defer depreciation recapture
  • Can exchange indefinitely ("swap till you drop")
  • Heirs receive step-up in basis (eliminates deferred gains)

Requirements

  • Must use a Qualified Intermediary
  • Identify replacement property within 45 days
  • Close on replacement within 180 days
  • Replacement property must be equal or greater value
  • Must reinvest all equity

Strategy #3: Installment Sales

Spread your gain over multiple years by receiving payments over time instead of a lump sum at closing.

How It Works

  • Seller finances part (or all) of the sale
  • Buyer makes payments over time (e.g., 5-10 years)
  • Seller pays tax only on gains received each year
  • Spreads tax liability over multiple years

Benefits

  • Defer taxes to future years
  • Potentially stay in lower tax brackets
  • Earn interest on the financed amount
  • Can be attractive to buyers (easier financing)

Risks and Considerations

  • Default risk (buyer stops paying)
  • Property may decline in value
  • Depreciation recapture due immediately (not deferred)
  • Complex if property has existing mortgage (due-on-sale clauses)

Strategy #4: Opportunity Zone Investment

Invest capital gains into a Qualified Opportunity Zone Fund to defer and potentially eliminate taxes. See our Opportunity Zone article for full details.

Benefits

  • Defer original gain until Dec 31, 2026
  • ELIMINATE all taxes on appreciation of OZ investment if held 10+ years
  • Can invest any capital gain (not just real estate)

Strategy #5: Hold Until Death (Step-Up in Basis)

One of the simplest strategies: don't sell. Hold the property until death, and your heirs receive a "stepped-up" basis to fair market value.

How the Step-Up Works

Example:Example:

  • You bought property for $200,000
  • It's now worth $1,000,000
  • Built-in gain: $800,000
  • You pass away, property goes to heirs
  • Heirs' basis: $1,000,000 (stepped up to FMV)
  • If heirs immediately sell for $1M: $0 taxable gain
  • $800,000 gain PERMANENTLY ELIMINATED$800,000 gain PERMANENTLY ELIMINATED

Combining with Other Strategies

The ultimate strategy: Keep exchanging properties via 1031 until death, then heirs get step-up.

  • Defer taxes your entire lifetime through 1031 exchanges
  • Never pay capital gains tax
  • Heirs inherit with stepped-up basis
  • All deferred gains eliminated at death

Strategy #6: Timing the Sale

Strategic timing can significantly impact your tax bill.

Timing Strategies

1. Hold for One Year (Long-Term Gains)

Short-term gains (held ≀ 1 year) are taxed as ordinary income (up to 37%). Long-term gains are taxed at preferential rates (0-20%).

2. Sell in a Low-Income Year

  • Retire mid-year (lower income that year)
  • Sell after a business loss year
  • Time sale when you're between jobs
  • Coordinate with other tax planning

3. Harvest Capital Losses

Sell losing investments to offset capital gains:

  • Capital losses offset capital gains dollar-for-dollar
  • Up to $3,000 excess losses offset ordinary income per year
  • Remaining losses carry forward indefinitely

4. Spread Gains Across Tax Years

  • Close late in the year (gain recognized that year)
  • Or close early next year (defer to following year)
  • Combined with installment sale can spread over many years

Strategy #7: Maximize Your Basis

The higher your basis, the lower your taxable gain. Don't overlook items that increase basis:

Items That Increase Basis

  • Purchase price: Original costPurchase price:
  • Closing costs when buying: Title insurance, recording fees, legal feesClosing costs when buying:
  • Improvements: Additions, renovations, upgradesImprovements:
  • Assessments: Special assessments for improvements (streets, sidewalks)Assessments:
  • Legal fees: To defend or perfect titleLegal fees:
  • Zoning costs: Fees to change zoningZoning costs:

Items That Decrease Basis

  • Depreciation: All depreciation taken (or allowable)Depreciation:
  • Casualty losses: Insurance reimbursements for lossesCasualty losses:
  • Section 179 deductions: Expensed propertySection 179 deductions:

⚠️ Don't Forget Improvements

Many sellers forget to include major improvements in their basis:

  • New roof: $20,000
  • Kitchen remodel: $40,000
  • HVAC replacement: $15,000
  • Landscaping: $10,000
  • Total additional basis: $85,000Total additional basis: $85,000

At a 37% tax rate, that's $31,450 in tax savings!

Strategy #8: Reduce Selling Costs

Selling costs reduce your gain. Make sure to include all deductible costs:

Deductible Selling Expenses

  • Real estate commissions (typically 5-6%)
  • Title insurance and escrow fees
  • Transfer taxes
  • Legal fees related to sale
  • Recording fees
  • Advertising costs
  • Home staging costs
  • Inspection reports required by buyer
  • Points paid on buyer's behalf

Strategy #9: Charitable Remainder Trust (CRT)

For highly appreciated property, donating to a CRT can provide significant benefits:

How It Works

  1. Transfer property to a Charitable Remainder Trust
  2. CRT sells property (no capital gains tax in trust)
  3. CRT invests proceeds
  4. You receive income for life (or term of years)
  5. Remainder goes to charity at death

Benefits

  • Immediate charitable deduction
  • No capital gains tax on sale
  • Income stream for life
  • Reduces estate taxes
  • Legacy gift to charity

Considerations

  • Complex structure (legal and accounting costs)
  • Irrevocable (can't get property back)
  • Charity ultimately receives remaining assets
  • Best for larger estates with charitable intent

Strategy #10: Offsetting Capital Gains

Use Suspended Passive Losses

If you have suspended passive losses from prior years, they can be fully deducted when you sell the property.

Harvest Other Capital Losses

Sell losing stocks, bonds, or other investments to offset real estate gains:

  • Long-term losses offset long-term gains
  • Short-term losses offset short-term gains
  • Excess losses from one category offset the other

Strategy #11: Splitting Sales Across Spouses

In community property states like California, strategic gifting before sale can provide benefits:

Gift to Lower-Income Spouse

If one spouse has significantly lower income:

  • Gift partial ownership to lower-income spouse before sale
  • Their portion of gain may be taxed at lower rate (0-15% vs 20%)
  • Requires careful planning and documentation
  • May not work in community property states

Strategy #12: Renovate Before Selling

Strategic improvements before sale can increase basis and reduce gain:

Timing Matters

  • Major improvements add to basis (reduce gain)
  • Repairs before sale don't increase basis (but necessary for good sale price)
  • Do improvements before listing to increase basis

Depreciation Recapture: The Hidden Tax

Don't forget about depreciation recaptureβ€”you must "recapture" all depreciation taken, taxed at up to 25%.

Strategies to Manage Recapture

  • 1031 Exchange: Defers depreciation recapture1031 Exchange:
  • Installment sale: Recapture due immediately (can't defer)Installment sale:
  • Die with property: Step-up eliminates recaptureDie with property:
  • Convert to primary residence: Recapture still applies but may reduce overall taxConvert to primary residence:

California-Specific Strategies

California Capital Gains Tax

California taxes capital gains as ordinary income (up to 13.3%)β€”no preferential rates like federal.

Strategies for California Residents

  1. Move before selling: Establish residency in no-tax state (must be legitimate, not just temporary)Move before selling:
  2. Opportunity Zones: Federal benefits only (CA doesn't conform)Opportunity Zones:
  3. Installment sales: Spread CA tax over multiple yearsInstallment sales:
  4. Primary residence exclusion: CA conforms (same $250k/$500k exclusion)Primary residence exclusion:

⚠️ California Exit Tax Considerations

If you move out of California before selling property, CA may still tax the gain if:

  • Move is not legitimate (temporary to avoid tax)
  • Property is located in California
  • You're a former resident with CA-source income

Consult a tax professional before attempting to move to avoid CA tax.

πŸ“Š Develop Your Capital Gains Exit Strategy

The difference between good and great tax planning can be hundreds of thousands of dollars. Our team in Victorville and Apple Valley specializes in minimizing capital gains taxes for property sellers. We'll help you:

  • Calculate your expected capital gains tax
  • Identify which strategies work best for your situation
  • Implement 1031 exchanges, installment sales, or other strategies
  • Maximize your basis to reduce taxable gains
  • Coordinate with your overall financial and estate plan
  • Handle all required tax reporting
Call (760) 249-7680 to Start Planning

Combining Multiple Strategies

The most effective approach often combines multiple strategies:

Example: Comprehensive Strategy

Situation: Selling $2M investment property with $1M gainSituation:

Multi-Strategy Approach:Multi-Strategy Approach:

  1. Perform cost segregation study before sale (increase basis through captured depreciation)
  2. Do final improvements (increase basis further)
  3. Use 1031 exchange to defer gain
  4. In replacement property, do another cost segregation
  5. Keep exchanging properties through lifetime
  6. Hold until death for step-up in basis

Result: $0 capital gains tax ever paid + wealth transferred to heirs tax-freeResult: $0 capital gains tax ever paid + wealth transferred to heirs tax-free

Common Mistakes to Avoid

  • Not planning ahead: Best strategies require advance planningNot planning ahead:
  • Forgetting about improvements: Loses valuable basisForgetting about improvements:
  • Not tracking depreciation: Must recapture even if not claimedNot tracking depreciation:
  • Missing the 1031 timeline: Strict deadlines disqualify exchangeMissing the 1031 timeline:
  • Poor documentation: Can't support basis or expensesPoor documentation:
  • Selling without considering alternatives: Once sold, can't undoSelling without considering alternatives:
  • Ignoring state taxes: California tax can be substantialIgnoring state taxes:

When to Consult a Professional

Consider professional help when:

  • Expected gain exceeds $100,000
  • Property has been heavily depreciated
  • Considering a 1031 exchange
  • Multiple properties or complex ownership
  • High-income earner (additional NIIT applies)
  • California resident considering exit strategies
  • Estate planning considerations

Conclusion

Capital gains taxes on real estate can be substantial, but numerous strategies exist to minimize or eliminate them. From the primary residence exclusion to 1031 exchanges to holding until death, the right approach depends on your specific situation, timeline, and goals.

The key is planning ahead. Many of the best strategies require implementation before you list your property or even years in advance. If you're a property owner in Victorville or Apple Valley, CA, considering selling real estate, contact Tax Help Guy well before you plan to sell. We'll develop a comprehensive capital gains strategy to help you keep more of your hard-earned equity.

TAX ARTICLES

Articles written by AI
curated by Joseph Stacy.

Anyone may arrange his affairs so that his taxes shall be as low as possible; he is not bound to choose that pattern which best pays the treasury. There is not even a patriotic duty to increase one's taxes. Over and over again the Courts have said that there is nothing sinister in so arranging affairs as to keep taxes as low as possible. Everyone does it, rich and poor alike and all do right, for nobody owes any public duty to pay more than the law demands.



Judge Learned Hand
Chief Judge of the United States Court of Appeals
for the Second Circuit
Gregory v. Helvering, 69 F
Judge Learned Hand

Text anytime!

Joe "Tax Help Guy"
951 203 9021


Download my contact info