Skip to content

Seller guide

Capital Gains Tax When You Sell Land

Updated November 21, 2026

Explore Selling Options
An envelope on a porch rail above fallow fields, for tax owed on the gain.
Immediate answer

How a California land sale is taxed: basis and holding period, why California taxes gains as ordinary income, Form 593 withholding, 1031 exchanges and installments.

On this page
  1. What Capital Gains Tax Means When You Sell Land
  2. Depreciation and Real Property Improvements
  3. Who Owes Tax When Land Is Sold
  4. How California Taxes the Gain on Your Land
  5. California Real Estate Withholding at Close of Escrow
  6. Can You Defer the Gain With a Like-Kind Exchange?
  7. What Changes If the Buyer Pays Over Time?
  8. Mistakes That Change the Tax Picture on a Land Sale
  9. Records and Sources Before the Sale Closes
  10. Frequently asked questions
  11. Sources

When you sell California land for more than your adjusted basis, the profit is a capital gain. That gain is reported on your federal return and on your California return. How long you held the land changes the federal treatment. California taxes the gain as ordinary income. A like-kind exchange or an installment sale can change when the gain is taxed.

You may be holding a vacant lot, a stretch of farmland, a ranch, a timber tract or a parcel bought years ago for development, and a sale is now close. Before signing, most owners want to know what the government will take, and why. Escrow will raise a withholding form. Someone may mention a 1031 exchange. A buyer may ask to pay over time. This page explains each of those pieces in plain words, using what the IRS, the Franchise Tax Board and the California code say. How the rules apply to your parcel depends on its facts and the law that governs them.

What Capital Gains Tax Means When You Sell Land

A capital gain is the difference between what you receive from the sale and your adjusted basis. The IRS's Topic no. 409, Capital gains and losses puts it this way: "the difference between the adjusted basis in the asset and the amount you realized from the sale is a capital gain or a capital loss."

Basis is, generally, what the land cost you. Adjusted basis is that starting figure after changes the tax rules allow, such as certain costs of buying and improving the property. The IRS page notes that land received as a gift or an inheritance follows different basis rules, set out in Publication 551. If a parcel came to you from a parent, your starting point may not be what the parent paid.

Time matters too. Topic 409 says that, generally, an asset held more than one year produces a long-term gain or loss, and one held one year or less produces a short-term one. It adds that "a lower tax rate may apply" to a net capital gain than to ordinary income. Current federal rate schedules are on that IRS page, and the same page also addresses the net investment income tax, which some sellers may owe on top of the capital gains rate.

So a land sale carries two layers: federal tax, handled by the IRS, and California income tax, handled by the Franchise Tax Board. In practice, one sale produces two calculations, each under its own rules.

Depreciation and Real Property Improvements

Bare land and the improvements on it are not always treated alike. Topic 409 notes a separate maximum federal rate for unrecaptured section 1250 gain on certain real property. Where a parcel carries buildings or other improvements, and prior returns show depreciation on them, part of the federal gain may fall under that separate rate rather than the general long-term schedule.

For that reason, prior returns showing any depreciation or casualty deductions on the property belong in your basis records. Whether any part of a land sale reaches that rule is a question for the person preparing the return.

Who Owes Tax When Land Is Sold

The taxpayer is whoever owns the land for tax purposes, and that follows how title is held. Land held by one person, by co-owners, by a partnership or LLC, by a trust or by a corporation can each be reported differently, and on different returns.

The Franchise Tax Board's Real estate withholding page gives one example. For a grantor trust, "the grantor reports the real estate sale and claims the withholding on their tax return." For a nongrantor trust, which it calls "an entity separate from the grantor for all tax purposes," the form uses the trust's name and its FEIN.

Purpose matters as well. An owner who holds land primarily to sell to customers can be treated differently from an owner holding land as an investment; the IRS's like-kind exchange page, for one, says real property "held primarily for sale" does not qualify for an exchange. A family that subdivides and sells lots regularly may sit on a different side of that line than an owner selling one inherited parcel.

Which return reports the gain, and what the entity's own rules require, is the kind of question a CPA, enrolled agent or tax attorney typically sorts out. The practical point is that knowing the taxpayer of record helps before escrow closes, not after.

How California Taxes the Gain on Your Land

California starts from the federal rules. Rev. & Tax. Code section 18151 says it plainly:

"Subchapter P of Chapter 1 of Subtitle A of the Internal Revenue Code, relating to capital gains and losses, shall apply, except as otherwise provided."

Put simply, California generally uses the federal definition of what a capital gain is, unless state law provides otherwise.

The rate is where the two systems part. The Franchise Tax Board's Capital gains and losses page says: "California does not have a lower rate for capital gains. All capital gains are taxed as ordinary income." The same page says that if federal and state treatment differ, the seller files California Schedule D (540).

The long-term and short-term split still matters on your federal return, even though California gives no lower rate for long-term gains. The federal tax and the California tax on the same land gain are figured separately, and the two figures will not move in step.

California Real Estate Withholding at Close of Escrow

Escrow may hold back part of your proceeds and send it to the state. Rev. & Tax. Code section 18662 lets the Franchise Tax Board require that withholding, and its subdivision (e) applies it to the disposition of a California real property interest by any person other than corporations and partnerships, with exceptions, and to corporations and partnerships with no permanent place of business in California after the transfer. In those cases the statute places the duty on the transferee, meaning the buyer, including any intermediary or accommodator in a deferred exchange.

The Franchise Tax Board's withholding page calls it "a prepayment of income tax due from the selling of California land." Vacant land is one of its listed examples. Easements are listed too. It says one Form 593, Real Estate Withholding Statement, "is filed with FTB after every real estate transaction," and it points to the Form 593 instructions and Publication 1016 for detail, including how much is withheld.

Exemptions exist. Under Rev. & Tax. Code section 18662, no withholding is required unless the sales price exceeds one hundred thousand dollars ($100,000), and none is required in a foreclosure sale, by a buyer at a sale under a power of sale, or where the seller is a bank acting as a trustee other than a trustee of a deed of trust. The statute lists further written certifications by the seller, including a like-kind exchange and a sale producing a net loss. The FTB page says Form 593's Part III and Part IV hold the full list, and that an exemption is filed by submitting Form 593 to the escrow agent before closing.

The statute also limits charges: unless an escrow person provides "assistance," it may not charge for complying, and where it does assist, any fee may not exceed forty-five dollars ($45).

The withheld amount is a credit toward your California tax, not the tax itself; the amount actually owed may be more or less.

Can You Defer the Gain With a Like-Kind Exchange?

A like-kind exchange trades investment or business real property for other like-kind real property. The IRS's Like-kind exchanges - Real estate tax tips page says that, generally, "you are not required to recognize a gain or loss under Internal Revenue Code Section 1031." It adds that any money or other non-like-kind property received is taxed "to the extent of the other property and money received."

For land, the definition is broad. The IRS page says real properties "generally are of like-kind, regardless of whether they're improved or unimproved," but real property in the United States is not like-kind to real property outside the United States. Since January 1, 2018, it says, the rule covers real property only, and property held primarily for sale still does not qualify. Exchanges are reported on Form 8824.

Timing is strict. Rev. & Tax. Code section 18662 describes the federal requirement "that property be identified and that the exchange be completed not more than 180 days after the transfer of the exchanged property," and it says an exchange that fails that test may lose its exemption from California withholding.

The gain is put off, not erased. California also has its own rules for exchanges where the replacement property sits outside the state. Because an exchange is a timing tool with firm deadlines, sellers who use one usually work with a qualified intermediary and have their tax advisor confirm how the federal and California rules fit together.

What Changes If the Buyer Pays Over Time?

An installment sale, in the words of the IRS's Publication 537 (2025), Installment Sales, "is a sale of property where you receive at least one payment after the tax year of the sale." Under the installment method, the seller "may be able to report part of your gain when you receive each payment." The publication adds that the method cannot be used to report a loss, and that a seller "can choose to report all of your gain in the year of sale."

Publication 537 also covers interest. A contract "generally provides for adequate stated interest" if the stated rate is at least equal to the test rate of interest, and it explains how some large sales owe interest on the deferred tax.

California recognizes installment sales for its own purposes. Rev. & Tax. Code section 18662 says that for a sale that qualifies as an installment sale for California income tax purposes, withholding is applied separately to each principal payment, and the $100,000 threshold does not apply to each individual payment.

Spreading payments spreads the reporting of the gain across years. The method changes when gain is reported, and it carries its own interest and withholding rules.

Mistakes That Change the Tax Picture on a Land Sale

A few slips show up again and again, and each one can raise the tax or cause a surprise at closing.

  • Lost basis records. Without the purchase price, purchase closing costs and improvement receipts, the provable basis can shrink and the gain grow.
  • Miscounting the holding period. Topic 409 says you "generally count from the day after the day you acquired the asset up to and including the day you disposed of the asset," with exceptions for gifts and property acquired from a decedent.
  • Missing exchange deadlines. The 180-day completion rule runs from the transfer of the property given up, not from when the search began.
  • Leaving Form 593 to the last day. An exemption is claimed by submitting the form to escrow before closing, as the FTB page states.
  • Treating land like a home. The rules for selling a main home are a separate set; Topic 409 points to Publication 523 for them, and whether any part of that treatment reaches the land depends on the facts.

Records and Sources Before the Sale Closes

The paperwork behind a basis figure is usually scattered: the deed or purchase closing statement showing the price and date, records of grading, wells, fencing, roads or other improvements, and prior returns showing any depreciation or casualty deductions on the property. For an inherited parcel, the estate or trust papers often hold the starting figures.

The official pages carry the current numbers this page leaves out: IRS Topic no. 409 for federal rate schedules and the FTB's Capital gains and losses page for California reporting. With those records in hand, your CPA, enrolled agent or tax attorney has what is needed to check the gain calculation and the holding period, and to weigh whether an exchange or installment terms fit.

A common next step is gathering the deed and purchase closing statement, and raising with a tax professional which return will report the sale and whether Form 593 needs an exemption filed with escrow.

Seller questionnaire

Curious what your options are? Start with six short questions.

Answer six short questions about your land — type, acreage, location, access, timeline — to explore your selling options.

Seller guides

  1. Understand value

    Access, water, soils, zoning and entitlements shape what buyers will pay.

  2. Match the right buyer

    A ranch buyer and a homebuilder value the same acres differently.

  3. Local context

    County rules matter. See our California and San Diego County guides.

Explore Selling Options
What type of land are you selling?
Approximately how many acres?

Where is the property?

How is the property accessed?
Utilities available (select all that apply)
When would you like to sell?

How can we reach you?

See our Privacy Policy and Terms.

Testimonials

The parcel had access questions and no utilities. I appreciated an offer that accounted for that.

M.K., Minneapolis, MN

Explore your selling options

Answer a few questions about your parcel.

Start the questionnaire

Frequently asked questions

Is land subject to capital gains tax?

Yes, when the sale brings in more than the adjusted basis. Vacant land, farmland and timber tracts are all treated the same way at this first step. A sale below basis produces a loss instead, though Topic 409 notes that losses on personal-use property are not deductible.

How does California tax capital gains from a land sale?

As ordinary income, per the FTB. The federal definition carries over under Rev. & Tax. Code section 18151, so the question of what counts as gain is usually shared, while the rate is not. Where the two treatments differ, California Schedule D (540) records the difference.

What are the current federal capital gains tax rates?

They depend on taxable income and filing status, and the IRS updates them on its Topic 409 page. That page also notes a separate maximum rate for unrecaptured section 1250 gain on certain real property. The schedule applies to a seller's whole return, not to the land sale alone.

Can I use the home-sale exclusion to avoid capital gains on land?

The exclusion is written for a main home, and bare land sold alone is not a home. Topic 409 sends home sellers to Publication 523. Whether land sold together with a home can share that treatment depends on the facts of the sale.

What is a 1031 exchange and how does it apply to land?

It lets an owner of investment or business land move into other real property while putting off the gain. Because improved and unimproved real property are generally like-kind, raw land can be traded for a building or the reverse. Cash taken out along the way is taxed.

What is an installment sale and how does it affect capital gains tax?

When the buyer pays over more than one tax year, the seller may report the gain as payments arrive rather than all at once, or may choose to report it all in the year of sale. Interest terms and California withholding on each principal payment come with it.

What is California real estate withholding and does it apply to a land sale?

Yes, it can apply; the FTB lists vacant land as real property covered. It is a prepayment, filed on Form 593. Sales of $100,000 or less are among the listed exemptions, and an exemption is claimed through escrow before closing.

Does it matter how long I have owned the land?

Federally, yes: more than one year generally means long-term. Land received by gift or from a decedent follows exceptions that Topic 409 points to in Publication 544, and its basis follows the separate rules in Publication 551, so an heir's figures may not match the original owner's. California's rate does not change with the holding period.