Big Sale TaxHans Goldstein: Tax & Exit Planning
Home / Capital Gains / Land sale
Land sale

Capital gains tax on a land sale: what decides your rate in 2026

Short answerLand held more than a year as an investment is long-term capital gain, and because land is never depreciated there is no recapture layer. The real risk is being treated as a dealer once you subdivide and improve: then the profit is ordinary income. In our Arizona example the investor sale adds $195,835 of tax; the same profit taxed as dealer income adds $316,541.

Why land is taxed differently from a building

A rental house or a warehouse loses value on paper every year through depreciation, and when it sells that depreciation comes back as unrecaptured Section 1250 gain taxed at up to 25%, or as ordinary income for equipment (IRC 1(h)(6) and 1245, 2026). Dirt cannot be depreciated (Treas. Reg. 1.167(a)-2), so a parcel of raw land has no recapture layer at all. Every dollar of profit on land you held more than a year as an investment lands in the long-term bucket, taxed at 0%, 15% or 20%, with 20% applying above $613,700 of taxable income for joint filers (Rev. Proc. 2025-32, 2026). The full rate table is on the capital gains hub.

Two layers still stack on top. The 3.8% net investment income tax reaches investment land gain once modified AGI passes $250,000 for joint filers (IRC 1411, thresholds not indexed), and your state adds its own rate. Arizona, used in our examples, taxes gain at a flat 2.5% in 2026 and lets you subtract 25% of long-term gain only on assets bought after December 31, 2011 (A.R.S. 43-1022), which is why our 2004 buyers get no subtraction.

Improvements are the exception. Depreciated barns, wells, fencing or drainage carry recapture, so improved acreage needs a price allocation. See purchase price allocation and depreciation recapture.

Investor or dealer: the question that sets the rate

Capital gain treatment requires that the land was not "held primarily for sale to customers in the ordinary course of a trade or business" (IRC 1221(a)(1)). Courts weigh the purpose for acquiring and holding the land, how many sales you made and how often, how much you improved and advertised, whether you used brokers or sold yourself, and how much of your income came from land sales.

Owners usually slide into dealer status by accident: a family holds a farm edge for decades, then a developer suggests splitting it into lots, paving a road and selling to builders. Done carelessly, the whole profit converts from long-term gain into ordinary income. In our example that conversion adds $120,706 of federal income tax on the same $850,000 profit. A dealer who works the business may also owe self-employment tax, which the calculator does not model, and a dealer cannot report the sale on the installment method (IRC 453(b)(2)(A)).

A common defense is selling the whole tract to one developer: you give up the retail lot margin but keep capital gain on the appreciation already earned.

Section 1237: the subdivider's safe harbor

IRC 1237 lets an individual, partnership or S corporation (not a C corporation) subdivide a tract without being called a dealer solely because of the subdivision, if all of these hold:

  • You never held the tract for sale to customers, and in the year of sale you hold no other real property for sale to customers.
  • You make no substantial improvement that substantially raises the lots' value. Water, sewer, drainage and roads can be excused if you held the lot 10 years, the lot would not sell at the local price without them, and you elect not to add their cost to basis (IRC 1237(b)(3)).
  • You held the lot at least 5 years, unless you inherited it (IRC 1237(a)(3)).

The price is a small ordinary slice. The first five lots from the tract are capital gain. Starting in the tax year you sell the sixth lot, gain on each lot sold is ordinary income up to 5% of its selling price (IRC 1237(b)(1)), and selling expenses first offset that ordinary slice (IRC 1237(b)(2)). On a $150,000 lot, at most $7,500 is ordinary; the rest stays capital.

Section 266: add carrying costs to basis

Raw land throws off no income, yet you pay property tax and often loan interest every year. Since the 2017 law capped the state and local tax deduction and most owners take the standard deduction, those payments often produce no deduction at all. IRC 266 and Treas. Reg. 1.266-1(b)(1)(i) let you elect to capitalize annual taxes, mortgage interest and other carrying charges on unimproved and unproductive real property. The cost goes into basis, so it reduces your gain when you sell.

The election is made year by year with a statement attached to a timely filed return for unimproved and unproductive land (Treas. Reg. 1.266-1(c)). An owner who paid $9,000 of property tax a year for 20 years and deducted none of it could have added $180,000 to basis. Missed years cannot be fixed on the sale-year return, so ask your CPA to start the election now if you plan to hold.

Selling land on a land contract

Land is the classic seller-financed asset because banks lend reluctantly on raw acreage. On a land contract or a note secured by a deed of trust, an investor reports gain only as principal arrives under IRC 453. In our five-year example the total tax is $163,950 instead of $195,835 in one year, because more of each year's gain sits in the lower brackets and below the investment income tax threshold. That spreading is the whole benefit: the gain is the same.

The protection comes from the paperwork: a real down payment, a first-position lien, a rate at or above the applicable federal rate, default and cure terms, and a clear path to take the land back. If you repossess, IRC 1038 limits the gain you recognize. The installment sale analysis and seller financing pages cover note terms, and farm sellers should read the farm installment sale page. Dealers are shut out of this method except for a narrow election for residential lots where the seller makes no improvements and pays interest on the deferred tax (IRC 453(l)(2)(B), (l)(3)).

Inherited land and land next to your house

Inherited land gets a basis equal to its value at the date of death (IRC 1014), and the gain is long-term regardless of how quickly you sell (IRC 1223(9)). Heirs who sell within months of the death often owe little federal tax, which is why some owners with very old basis choose to hold land until death instead of selling; see the step-up hold analysis and capital gains on inherited property.

Vacant land is not your home, so the Section 121 exclusion usually does not apply. The one exception: vacant land adjacent to your principal residence, owned and used as part of the home, sold within two years before or after the house in a sale that qualifies, shares the house's exclusion (Treas. Reg. 1.121-1(b)(3)).

Exchanging land instead of selling

Land held for investment is like-kind to almost any other real property held for investment or business use, so a 1031 exchange can move a farm parcel into a rental building, or raw acreage into a net-leased store, and defer the whole gain (IRC 1031). Land a dealer holds for sale does not qualify. If you want some cash, the cash is taxable boot, and combining the exchange with an installment note on the boot is one way to spread it. Owners with gains elsewhere can also pair the land sale with tax-loss harvesting. Get the Big Sale Tax Analysis at /analysis/ to model a cash sale, a land contract and an exchange side by side.

What to know

Section 1237 has narrow conditions, and losing it can make every lot ordinary income. The Section 266 election only helps for years you made it on time. A land contract spreads tax but leaves you holding a buyer's promise for years, and repossessed raw land may have lost value. Exchanges require strict timelines and a qualified intermediary. Your CPA should confirm investor status before you list lots.

Worked example

Married couple bought 40 acres in 2004 for $350,000 (so no Arizona 25% subtraction, which needs a post-2011 purchase), sells in 2026 for $1,200,000 net of costs; $160,000 of other income. Same couple instead grades roads, brings in utilities and sells lots to home buyers over a short period; the IRS treats the $850,000 profit as ordinary income from property held for sale to customers. Same investor sale with 20% down and four more equal principal payments, so $170,000 of gain is reported each year 2026 to 2030 (gross profit ratio 850/1,200); interest on the note is ignored here.

Engine runInvestor sells raw acreage, ArizonaSame profit, taxed as dealer incomeInvestor sale on a 5-year land contract
Filing statusMarried, jointMarried, jointMarried, joint
StateArizonaArizonaArizona
Tax years115
Other income (wages, pension, interest) per year$160,000$160,000$160,000
Long-term capital gain$850,000$0$850,000
Ordinary income from the sale (short-term gain, inventory, non-compete)$0$850,000$0
Federal income tax on the sale$145,705$266,411$127,500
Net investment income tax (3.8%)$28,880$28,880$15,200
State income tax on the sale$21,250$21,250$21,250
Total tax caused by the sale$195,835$316,541$163,950
Effective rate on the gain23.0%37.2%19.3%
Gain kept after these taxes$654,165$533,460$686,050

Computed October 7, 2026 by the Big Sale Tax engine (engine.js yearTax): federal brackets, 0/15/20% thresholds and AMT from Rev. Proc. 2025-32 (OBBBA-adjusted) and the One Big Beautiful Bill Act (P.L. 119-21); NIIT under IRC 1411 (thresholds not indexed); state tax from the engine's state table. "Tax caused by the sale" = tax with the sale minus tax without it. Excludes selling costs, local taxes and estimated-tax timing. Education only.

Run your own numbers

Federal on the sale$0
NIIT$0
State$0
Total tax, held over a year$0
Effective rate0%
If held one year or less$0

2026 law from the engine: federal 0/15/20% brackets (Rev. Proc. 2025-32), 25% cap on unrecaptured 1250 gain, ordinary rates on 1245 recapture, 3.8% NIIT over $200,000 single / $250,000 joint (IRC 1411), AMT, and your state's rules. Tax shown is the tax caused by the sale. Excludes selling costs, local taxes and NIIT exceptions for active business owners. Education only.

Free PDF sheet

Long-Term vs Short-Term Capital Gains (2026)

The one-year holding rule, the 2026 0/15/20% thresholds for every filing status, NIIT, recapture, the state layer and a worked $200,000 example: 11 months vs 13 months, and what spreading the gain can save.

By entering your email you agree to receive this sheet and occasional educational emails from Hans Goldstein: Tax & Exit Planning. Unsubscribe anytime.

Frequently asked questions

Is capital gains tax on land the same as on a house?
The rates are the same 0%, 15% and 20% federal rates in 2026, but the result differs. A home you lived in two of the last five years can exclude up to $250,000 of gain ($500,000 for joint filers) under Section 121. Vacant land cannot, unless it is adjacent to your home and sold within two years of the house. Land also has no depreciation recapture, while a rental house does.
Do I owe capital gains tax if I sell land at a loss?
No. A loss on land held as an investment is a capital loss. It offsets your capital gains first and then up to $3,000 a year of other income, with the rest carried forward indefinitely (IRC 1211(b), 1212(b)). Land used in your business is Section 1231 property, and a net 1231 loss is an ordinary loss, which is more valuable.
How can I avoid capital gains tax when selling land?
You can rarely avoid it, but you can defer or shrink it. A 1031 exchange into other real property defers the whole gain. A land contract spreads it over the years you are paid. Capitalizing carrying costs under Section 266 raises basis, and harvesting losses offsets gain. Holding until death gives heirs a stepped-up basis.
What is the Role of Tax-Loss Harvesting in Avoiding Capital Gains Tax on a Land Sale?
Selling losing stocks or funds in the same year creates capital losses that offset the land gain dollar for dollar, including the part that would otherwise face the 3.8% investment income tax. Losses carried forward from earlier years work the same way. Watch the wash-sale rule if you buy the same securities back within 30 days.
Does subdividing land make me a dealer?
Not by itself. Section 1237 protects individuals who subdivide a tract held five years without substantial improvements and without other land held for sale. Beyond the safe harbor, courts look at how often you sell, how much you improve and advertise, and whether selling land is your business. Frequent sales of improved lots usually point to dealer status.
How Hans helps: the $5,000 Big Sale Tax Analysis runs your sale through every path that fits: a cash sale, a Section 453 installment sale, 1031, Opportunity Zones, charitable trusts, timing and loss offsets, year by year, and ends with a written recommendation your CPA can check. Get the Big Sale Tax Analysis.
Next step

Know your number before you sign.

The Big Sale Tax Analysis is a flat $5,000. Start with a free scoping call; you are invoiced only after it, and only if you go ahead.

Prefer email? Request the analysis by email.

Book a callCall Hans