Baker 1031Investor Workspace
Welcome, there!Log Out

Learn

A little clarity for your next decision.

Loading your learning library…

Browse the library

Baker 1031

Investor workspace · Airtable inventory

How to Reduce Capital-Gains Tax on Investment Property

By Jerry Baker

There is no general rule that lets an owner sell appreciated investment property, keep all the cash, and owe no tax. Some lawful strategies defer gain, some exclude qualifying gain, and others reduce the amount subject to tax. This guide helps you distinguish those outcomes and compare the costs, risks, and restrictions before choosing a plan.

Start by defining what you want to accomplish

When someone asks how to avoid capital-gains tax, I want to know what they need after the sale. Do they want more income? Less management? Cash to spend? A different type of investment? The answer changes which choices deserve a closer look.

A strategy that keeps more money invested may not give you more money to spend. A plan that supports charitable goals may leave less for your family. A payment plan may spread tax over time while making you the buyer's lender.

Tax planning should support the financial goal. It should not replace it. I would compare each proposal with a normal taxable sale so you can see exactly what you gain and what you give up.

Use your own CPA's estimate of the sale tax. A promoter's largest possible tax rate is not a useful starting point for every owner. Neither is an estimate that ignores state tax, prior depreciation, or your other income.

Four different outcomes often called tax savings

What a tax strategy may actually do
OutcomeWhat it meansQuestion to ask
DeferralEligible gain is postponed under a specific rule.When might the tax return, and what basis remains?
ExclusionQualifying gain is left out of taxable income.Do I meet every requirement and limitation?
Offset or deductionAn allowed loss or deduction reduces a tax calculation.Can I use it this year against this type of income?
Basis adjustmentThe amount used to measure future gain changes.Why does the adjustment apply to my ownership interest?

These categories are not interchangeable. A 1031 exchange generally defers eligible gain. The principal-residence exclusion works under a different rule. Capital losses follow netting and deduction limits. Qualifying inherited property has separate basis rules. [1][2][3][4]

Ask anyone proposing a strategy to identify the exact result. Then have your tax adviser confirm it. Words such as tax free, tax deferred, and tax efficient should not be used as though they mean the same thing.

Calculate the gain before trying to reduce it

Start with the amount realized, selling expenses, and adjusted basis. Basis is not necessarily the original purchase price. Capital improvements, prior exchanges, depreciation, and other events can change it. IRS Publication 544 explains how these pieces enter the sale calculation. [5]

Debt is a separate issue. Paying off a mortgage reduces closing cash; it does not simply subtract that loan from taxable gain. Refinancing a property also does not, by itself, increase the property's tax basis.

Consider an original simplified example using investment land. The owner sells for $1.4 million, pays $70,000 of qualifying selling costs, has a $540,000 adjusted basis, and pays off a $420,000 loan. There are no depreciation or other adjustments in this illustration.

The gain is not $910,000, and it is not $370,000 after subtracting the loan again. Have those figures reconciled before discussing replacements, installment payments, or other strategies.

For a building, also separate the gain categories. Certain depreciation recapture is ordinary income. Unrecaptured section 1250 gain follows a different rule from that ordinary recapture. Applying one capital-gain rate to the entire sale may produce the wrong estimate. [5]

Use a 1031 exchange when more qualifying real estate fits

Section 1031 can defer eligible gain when qualifying investment or business real property is exchanged for qualifying like-kind real property. It is generally a reinvestment strategy, not a way to keep the full sale proceeds for personal spending. [1]

A deferred exchange has deadlines and limits on receiving or controlling proceeds. Identification generally must occur within 45 days, and the purchase generally must finish within 180 days or the applicable tax-return due date, including extensions, if earlier. Set up the structure before the relinquished property closes. [1]

Using the land example, assume a properly completed exchange into $1.33 million of qualifying replacement property. The owner reinvests $910,000 of equity and uses $420,000 of replacement debt. With no other adjustments in the example, all $790,000 of eligible gain is deferred and the replacement basis is $540,000.

That low basis matters later. A later taxable sale can bring the deferred gain into the tax calculation, along with later value changes and basis adjustments. The exchange did not turn $540,000 of basis into $1.33 million of basis. [1]

A partial exchange may also be worth considering. Keeping some cash can trigger recognized gain while the remaining eligible gain is deferred. The detailed debt, cash, and expense rules matter; do not assume you can calculate the tax by multiplying the cash percentage by the original tax bill.

Choose the replacement on its merits. Review income, debt, fees, business plan, location, liquidity, and control. Deferring tax into a weak investment is still a weak investment decision.

Check the home-sale exclusion only when the facts support it

Section 121 can exclude qualifying gain from a principal residence. The general rule includes ownership and use for at least two years during the five years before sale. The usual maximum is $250,000, or $500,000 for qualifying joint filers who meet the additional conditions. [2]

An investment property does not qualify just because it is a house. You must review actual use, ownership, prior exclusions, and the other requirements. Moving into a rental for two years does not automatically erase all of its prior rental gain.

Post-2008 periods of nonqualified use can limit the exclusion. The law has exceptions, including certain periods after the last principal-residence use within the five-year window. Gain attributable to depreciation after May 6, 1997, cannot be excluded under section 121. [2]

Property acquired in a qualifying 1031 exchange also has a special five-year restriction before this exclusion can apply. That rule is separate from the two-year use test. A plan has to satisfy both when both are relevant. [2]

Ask the CPA to draw a timeline showing when you owned, occupied, rented, and sold the property. Use exact dates. A change in address is not proof that every part of the gain qualifies.

Use available losses correctly

Realized capital losses and valid carryovers can reduce capital gains under the applicable netting rules. If capital losses exceed capital gains, an individual's deduction against other income is generally limited to $3,000 a year, or $1,500 for married filing separately, with unused amounts carried forward under the rules. [3]

This does not mean that only $3,000 can offset capital gains. It means the limit applies to the remaining net capital loss used against other income. The distinction can make a large difference.

For a simplified capital-gain example, $790,000 of eligible capital gain and $90,000 of usable capital losses would leave $700,000 before other netting or tax adjustments. This illustration assumes both items enter that calculation; it is not a model for offsetting ordinary depreciation recapture.

Suspended rental losses follow separate passive-activity rules. Do not combine them with capital-loss carryovers as though they were one account. Ask what is released in a taxable sale and what remains suspended in an exchange. [11]

The year of sale can also matter. A lower-income year may change the tax calculation, but the sale itself adds income. Review federal brackets, possible net investment income tax, state tax, and the timing of other transactions together.

I would not sell a sound investment solely to manufacture a tax loss without considering its role in the portfolio. The economic loss is real even if a deduction has value.

An installment sale spreads eligible gain and adds credit risk

A qualifying installment sale generally reports eligible gain as principal payments are received when at least one payment comes after the sale year. Interest is separate. Depreciation recapture subject to the immediate-recognition rule does not simply wait with the rest of the gain. [6]

The appeal is timing. Receiving payments over several years may spread recognized gain and the cash needed to pay tax. But future rates and your future income are uncertain, and the buyer may fail to pay.

Consider a separate hypothetical debt-free land sale for $800,000 with a $400,000 adjusted basis, no selling costs, and no special adjustments. The gross-profit percentage is 50%. A $200,000 principal payment contains $100,000 of gain under those assumptions; stated interest is reported separately.

Now ask the lending questions. What secures the note? Who has priority? What happens at a missed payment or balloon date? Would you be willing and able to enforce the agreement or take the property back?

Borrowing against a note or selling it can have tax consequences. A financed transaction does not become tax free because someone describes the borrowed money as proceeds. Have independent tax and legal advisers review the entire arrangement, including side agreements. [6]

Use charitable tools for a real charitable goal

Charitable planning can be appropriate when you want to give part of your wealth away. The economic gift should be part of the goal, not hidden behind a tax-savings headline.

A charitable remainder trust is irrevocable. It can pay beneficiaries for life or a permitted term, with the remainder going to qualifying charity. Assets contributed during life generally retain carryover basis inside the trust. The donor does not receive a free market-value basis reset. [7]

Payments to noncharitable beneficiaries can be taxable. The IRS describes an ordering system that takes account of the trust's income and gains. A tax-exempt trust is not the same as tax-free payments to you.

A partial charitable deduction may be available, subject to valuation and deduction rules. The trust also has filing and administration duties. You cannot treat its funds as your personal checking account or borrow them back as a simple workaround. [7]

For direct gifts or trust planning, obtain advice before a sale is already arranged. Debt, transfer timing, valuation, and control can change the analysis. A plan that promises both full personal access to the asset's value and no tax deserves particularly careful independent review.

Do not confuse an inheritance rule with a lifetime sale rule

Qualifying inherited property generally receives a basis tied to its value at death or another permitted valuation. That may reduce gain on a later sale by the heir. It can also lower basis when value has declined. Exceptions and ownership details matter. [4]

This is not an election to sell today without tax. It requires a different event and raises estate, family, liquidity, and legal questions. Holding property for the rest of your life may not fit your needs.

Giving appreciated property to children during life generally does not provide that same basis adjustment. Carryover basis usually applies for gain, subject to applicable adjustments. A gift can transfer the existing tax burden along with the property. [8]

Trust and entity structures need separate review. An asset's label does not determine whether it receives a basis adjustment, and an inherited entity interest does not automatically reset the entity's underlying real estate for everyone.

Estate planning can be valuable. It should be designed around the people and assets involved rather than used as a slogan to avoid analyzing a current sale.

A deduction is not a dollar-for-dollar refund

Owners sometimes ask whether buying another property and creating large depreciation deductions will cancel the sale tax. The answer depends on what is deductible, when it is deductible, what limitations apply, and which income it can offset.

Buying a building does not generally allow you to deduct its entire price immediately. Land is not depreciable. Different assets have different recovery rules, and cost-segregation or accelerated-depreciation claims need support. Later sale treatment also matters. [5]

For a deliberately simplified illustration, assume a $100,000 deduction is fully usable against income taxed at an assumed flat 30% rate. The current tax reduction would be $30,000, not $100,000. If only $20,000 is currently usable at that same assumed rate, the current reduction would be $6,000.

These are arithmetic examples, not a promised rate or deduction. They show why a projection should distinguish a deduction created from a deduction usable now. Add professional fees, investment costs, and future tax effects before calling the plan a success.

Include state tax in the comparison

A federal deferral or exclusion does not settle every state issue. The state where you live and the state where the property is located may have separate claims and reporting rules.

California, for example, requires specified reporting for California real property exchanged for out-of-state replacement property. Form FTB 3840 tracks California-source deferred gain in the situations covered by its rules. Buying elsewhere does not automatically erase that state's connection to the prior gain. [9]

Ask for federal and state estimates on the same sheet. Include possible net investment income tax where applicable. That federal tax has its own income and investment-income calculation; it is not simply added to every property sale at the same rate. [10]

Do this before changing residence or committing to a structure. Tax residence, property-source income, and exchange reporting are factual and legal issues, not choices made by updating a mailing address.

Compare the whole plan, including a normal sale

Put the ordinary taxable sale next to each serious alternative. Show the cash you can spend, the amount still invested, current tax, expected future tax exposure, fees, control, and access to money. Keep uncertain figures clearly labeled.

Suppose a tax adviser estimates $200,000 of total sale tax in a hypothetical case with $910,000 of cash before tax. That leaves $710,000 to use after tax. A qualifying exchange might keep more capital invested, but that capital remains exposed to the replacement and its restrictions.

Neither number alone decides the question. A person who needs cash for a home or medical expenses has different priorities from a person who wants to keep a long-term real estate allocation.

Test a less favorable outcome. What happens if distributions fall, a buyer misses note payments, or an investment cannot be sold when expected? If the plan only works when everything goes right, the tax benefit is carrying too much weight.

My preference is a decision you can explain in plain English: what the rule does, why you qualify, what it costs, what you give up, and what happens next. Have the CPA and attorney confirm the tax and legal work before you commit.

Put a proposed strategy through a written review

Before you move money, request a short written explanation from the person proposing the plan. It should identify the rule being used, the facts required to qualify, each party's role, and the events that could change the result. Ask who is responsible for the tax return and who will answer questions if the treatment is challenged.

Give that explanation to an adviser who is not paid to sell the arrangement. Include the full contract, fee schedule, loan documents, and any separate agreements. An attractive summary may leave out the terms that matter most.

Then ask for two versions of the numbers. The first should show the intended result. The second should show the result if a central assumption fails, such as a buyer default or an investment sale happening later than planned. Use the same starting property value and basis in both versions.

Keep the records supporting the decision with your tax file. A statement that a plan is commonly used is not evidence that your transaction qualifies. A clear explanation will also help your family understand what was done and what obligations remain.

Frequently asked questions

Can I sell investment property and keep all the cash tax free?

There is no general rule allowing that result for appreciated property. Depending on your facts, a rule may defer gain, exclude qualifying gain, permit offsets, or change basis. Each has conditions, and keeping proceeds for personal use can defeat some deferral strategies.

Does a 1031 exchange eliminate capital-gains tax?

It generally defers eligible gain when all requirements are met. Deferred gain affects replacement basis and may be recognized later. A partial exchange can leave some current taxable gain. The replacement also needs to fit your investment goals. [1]

Can I move into my rental for two years and exclude everything?

Not automatically. Section 121 includes ownership, use, prior-sale, nonqualified-use, and depreciation rules. Property acquired through a 1031 exchange has an additional five-year restriction. Build a dated use history and have the actual exclusion calculated. [2]

Do capital losses offset only $3,000 of capital gains?

No. Capital losses enter the capital-gain netting calculation first. The general $3,000 limit, or $1,500 for married filing separately, applies to a remaining net capital loss used against other income. Ordinary recapture and passive losses require separate analysis. [3]

Is seller financing a tax-free sale?

No. A qualifying installment sale usually spreads eligible gain over principal payments. Interest is separate, certain recapture is recognized earlier, and special rules can apply to debt, related parties, note transfers, or pledges. The buyer's ability to pay remains a real risk. [6]

Will a charitable remainder trust pay me tax-free income?

Do not assume that. Beneficiary payments follow tax-character rules and can carry ordinary income or capital gain. The trust is irrevocable, has administration duties, and leaves a required charitable remainder. It should serve a genuine charitable goal. [7]

Does giving the property to my children erase its gain?

A lifetime gift generally carries the donor's basis for gain, subject to adjustments. That differs from qualifying inherited-property basis. The transfer may change who owns the future tax burden without eliminating it. Review gift, estate, and income taxes together. [4][8]

When should I start tax planning for a sale?

Before the contract and closing leave you with fewer choices. Gather basis and depreciation records, estimate a normal taxable sale, and review any exchange, installment, residence, or charitable strategy with qualified advisers. Some steps cannot be repaired after proceeds are received.

Sources and references

  1. United States Congress; Legal Information Institute. 26 U.S.C. 1031: Exchange of Real Property Held for Productive Use or Investment. Current statutory text.Relevant sections: Subsections (a), (b), and (d): eligibility, timing, cash received, and basis. Accessed October 6, 2026.
  2. U.S. Congress; text hosted by Cornell Legal Information Institute. 26 U.S.C. § 121 — Exclusion of Gain from Sale of Principal Residence. Current primary provisions read October 6, 2026; IRS annual publications identified as 2025 editions..Relevant sections: Ownership and use tests, joint-filer conditions, nonqualified use, depreciation limitation, and property acquired in a like-kind exchange.. Accessed October 6, 2026.
  3. Internal Revenue Service. Publication 550, Investment Income and Expenses. Current primary provisions read October 6, 2026; IRS annual publications identified as 2025 editions..Relevant sections: Capital loss netting and the remaining net-loss deduction against other income; carryovers.. Accessed October 6, 2026.
  4. U.S. Congress; text hosted by Cornell Legal Information Institute. 26 U.S.C. § 1014 — Basis of Property Acquired from a Decedent. Operative guidance read October 6, 2026; IRS publication editions are identified in each title..Relevant sections: Subsections (a), (b), (c), (e), and (f): valuation, qualifying interests, community property, income rights, returned gifts, and consistency.. Accessed October 6, 2026.
  5. Internal Revenue Service. Publication 544 (2025), Sales and Other Dispositions of Assets. Current available 2025 publication or operative IRS topic read October 6, 2026; use the actual sale-year forms and updates..Relevant sections: Gain and amount realized; ordinary recapture; asset-by-asset reporting; Section 1231 five-year lookback. Accessed October 6, 2026.
  6. Internal Revenue Service. Publication 537 (2025), Installment Sales. Current operative source read October 6, 2026. Where specified, the 2025 tax form or publication is the current posted edition; use the applicable edition when filing..Relevant sections: Figuring installment sale income; mortgages assumed by the buyer; interest and original issue discount; repossessions.. Accessed October 6, 2026.
  7. Internal Revenue Service. Charitable Remainder Trusts. Current primary provisions read October 6, 2026; IRS annual publications identified as 2025 editions..Relevant sections: Irrevocability, carryover basis, beneficiary taxation, remainder, annual filings and prohibited personal use or borrowing.. Accessed October 6, 2026.
  8. U.S. Congress; text hosted by Cornell Legal Information Institute. 26 U.S.C. § 1015 — Basis of Property Acquired by Gifts and Transfers in Trust. Primary provisions read October 6, 2026. Form 706 instructions are the July 2026 revision; gift exclusion is explicitly for 2026..Relevant sections: Subsection (a): carryover basis for gain, special loss basis rule, and preservation of donor records.. Accessed October 6, 2026.
  9. California Franchise Tax Board. 2025 Instructions for Form FTB 3840. 2025 instructions.Relevant sections: General information A–C: annual reporting and California-source deferred gain. Accessed October 6, 2026.
  10. Internal Revenue Service. Topic no. 559, Net investment income tax. Operative primary text read October 6, 2026. Tax-form references use the current available 2025 editions..Relevant sections: 3.8% tax, lesser-of computation, individual thresholds, income scope, and Form 8960. Accessed October 6, 2026.
  11. Internal Revenue Service. Publication 925, Passive Activity and At-Risk Rules. Current primary provisions read October 6, 2026; IRS annual publications identified as 2025 editions..Relevant sections: Dispositions: entire activity, fully taxable transaction, unrelated buyer; separate passive-loss treatment.. Accessed October 6, 2026.

Educational information, not an offer or a personal tax, legal, or investment recommendation. Examples are hypothetical and omit stated adjustments. Tax treatment depends on your facts and current law. Review your transaction with your CPA, attorney, and qualified intermediary. Real estate investments can lose value and may be illiquid.

Opening your workspace…