Capital gains tax when you sell land
You owe federal capital gains tax on land only on your gain: the sale price minus selling costs and your adjusted basis. For 2026, land held over a year is taxed at 0, 15 or 20 percent. Inherited land always counts as long-term, and its basis is usually its value at death.
Do you owe tax when you sell vacant land?
You owe federal tax on a vacant land sale only if you sell it for more than your adjusted basis. If you sell for less, you have a loss. Land held for investment is usually a capital asset.
Most sales are reported on Form 8949, with totals on Schedule D of Form 1040, per IRS Topic 409. The closing agent usually reports the sale to the IRS on Form 1099-S. Your state may also tax the gain, so check your state revenue department.
How do you figure the gain on a land sale?
The gain on a land sale is the amount you realize, minus selling expenses, minus your adjusted basis. IRS Publication 544 shows selling expenses subtracted this way.
For land you bought, basis is usually your cost plus certain settlement costs. IRS Publication 551 lists owner's title insurance, surveys, recording fees, transfer taxes and legal fees for the title search and deed, among others.
Example with round numbers: you paid $20,000 in 2004 plus $1,000 of closing costs. You sell for $90,000 and pay $4,000 to sell. Your gain is $90,000 minus $4,000 minus $21,000, which is $65,000.
What are the 2026 capital gains tax rates?
Long-term gains on land held more than one year are taxed at 0, 15 or 20 percent, based on taxable income. Gains on land held one year or less are short-term and taxed as ordinary income, per IRS Topic 409.
For 2026, IRS Revenue Procedure 2025-32 sets the 0 percent rate for taxable income up to $49,450 for single filers and $98,900 for joint filers. The 15 percent rate applies up to $545,500 single and $613,700 joint. Above those amounts, the rate is 20 percent.
Higher earners may also owe the 3.8 percent net investment income tax. IRS Topic 559 applies it above modified adjusted gross income of $200,000 for single filers and $250,000 for joint filers.
How is a farmland sale taxed?
Farmland you used in a farming business and held more than one year is usually section 1231 property, not a plain capital asset. IRS Publication 225 says you combine all your section 1231 gains and losses for the year. A net loss is an ordinary loss. A net gain is taxed as long-term capital gain, except the part that recaptures net section 1231 losses from the previous five years, which is ordinary income.
Two farm rules can change the math. If you deducted soil and water conservation costs on the land and sell it within 10 years, part of the gain can be ordinary income under section 1252, per the Form 4797 instructions. And when you sell a whole farm, the gain on each asset, such as the land, the buildings and your home, is figured separately. Your home may qualify for the home sale exclusion, but the farm business property does not.
Vacant land you held as an investment, not in a business, is a capital asset. Held more than one year, its gain is taxed at the long-term rates below.
How is inherited land taxed when you sell it?
Inherited land is always treated as long-term, no matter how soon you sell it. IRS Publication 544 says you are considered to have held inherited property longer than 1 year. The rule comes from Internal Revenue Code section 1223(9).
The basis of inherited land is generally its fair market value on the date of death, per IRS Publication 551. Some estates use an alternate valuation date. If you sell near that value, the gain is small. Get the date-of-death value in writing, such as an appraisal.
If the estate sent you Schedule A of Form 8971, your basis must be consistent with the final estate tax value. Our pages on inherited land and probate land cover the sale itself.
How is land you received as a gift taxed?
Land you received as a gift usually keeps the giver's basis, so the giver's old purchase price sets your gain. IRS Publication 551 has special rules when the land was worth less than the giver's basis at the time of the gift. Our guide to selling land to a family member covers gifts and part-gift sales.
Does the home sale exclusion cover land?
The home sale exclusion in section 121 does not cover most vacant land. Treasury Regulation 1.121-1(b)(3) allows it only for vacant land next to your main home that you used as part of the home.
You must also sell the home itself in a qualifying sale within 2 years before or after the land sale. A separate tract you never lived on does not qualify.
Can subdividing land turn the gain into ordinary income?
Subdividing land into lots to sell can turn the gain into ordinary income. IRS Publication 544 says the gain from subdividing a tract into lots for sale is normally ordinary income. Section 1237 can give capital gain treatment on part of it if you meet its conditions.
Property held mainly for sale to customers is not a capital asset. If you plan to split and sell lots, talk to a CPA before you start. Our guide on how to subdivide land covers the approval side.
Can you defer the tax on a land sale?
You can defer tax on a land sale with a 1031 exchange or spread it with an installment sale. A section 1031 like-kind exchange defers gain when you swap real property held for business or investment for other such property.
The 1031 deadlines are strict. You identify the replacement in writing within 45 days and receive it within 180 days, or by your tax return due date if earlier. A qualified intermediary holds the money, and you report the exchange on Form 8824.
An installment sale lets you report gain as payments arrive, using Form 6252, per IRS Topic 705. Our guide on owner financing a land sale covers the risks of carrying a note.
Does a direct sale change your tax?
A direct sale does not change the tax rules, but it puts the whole gain in one tax year. Ask a CPA to compare that with an installment sale before you sign. Bring your purchase closing statement or date-of-death value.
Liberty Acres is a family-owned land company. We buy land anywhere in the US, in any condition, and close through a title company. We pay back taxes and all closing costs, with no agents and no commissions. Closing can happen in as little as 14 days. Our net proceeds calculator shows what you receive before tax.
If you decide to sell, see how selling land to Liberty Acres works.
Common questions
Do I pay capital gains tax if I sell land as-is?
Yes, as-is describes condition, not tax treatment. Gain is still sale price minus basis and selling costs. See selling land as-is.
Is owner financing taxed differently than selling outright?
Often yes under installment-sale rules. Compare structures on owner financing vs selling outright and confirm with a CPA.
What is the long-term capital gains rate on a vacant land sale?
Vacant land held more than one year as an investment is taxed at the 2026 long-term rates of 0, 15 or 20 percent, based on taxable income, per IRS Revenue Procedure 2025-32. The 0 percent rate applies up to $49,450 of taxable income for single filers and $98,900 for joint filers. Higher earners may also owe the 3.8 percent net investment income tax.
How is capital gains tax figured on a farmland sale?
Farmland used in your farm business and held over a year is section 1231 property. Net section 1231 gains are taxed as long-term capital gain, except for any recapture of section 1231 losses from the prior five years and, for land held under 10 years, any soil and water conservation deductions under section 1252. Report the sale on Form 4797.
Is inherited land taxed as short-term or long-term?
Always long-term. IRS Publication 544 says you are considered to have held inherited property longer than 1 year, even if you sell it soon after the death.
Do I pay taxes on inherited land I sell?
Only on gain above your basis, which is generally the land's value on the date of death. If you sell near that value, the gain may be small.
Can I use the $250,000 home sale exclusion on land?
Only for vacant land next to your main home that you used as part of it. You must also sell the home within 2 years before or after.
How can I lower capital gains tax on land?
Add every allowed purchase and selling cost to your numbers, and ask a CPA about a 1031 exchange or an installment sale. Each has strict rules.
If I sell land, do I pay tax?
You owe federal tax only if you sell for more than your adjusted basis. Land held more than one year is taxed at 0, 15 or 20 percent, and land held a year or less is taxed as ordinary income. Talk to a tax professional about your own sale.
How do I calculate capital gain on the sale of land?
Take the sale price, subtract your selling costs, then subtract your adjusted basis. Basis is usually what you paid plus certain purchase costs. Inherited land usually uses its value on the date of death.
Sources
- IRS Topic 409: Capital gains and losses
- IRS Rev. Proc. 2025-32 (2026 inflation adjustments), section 3.03
- IRS Topic 559: Net investment income tax
- IRS Publication 544: Sales and Other Dispositions of Assets
- IRS Publication 551: Basis of Assets
- 26 U.S.C. 1223(9), Cornell LII
- 26 CFR 1.121-1(b)(3), vacant land, Cornell LII
- IRS: Instructions for Form 1099-S
- IRS Topic 705: Installment sales
- IRS Fact Sheet FS-08-18: Like-kind exchanges under IRC Section 1031
- IRS Publication 225 (2025): Farmer's Tax Guide, chapters 8 and 9
- IRS: Instructions for Form 4797
