Capital gains tax on a land sale: what decides your rate in 2026
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 run | Investor sells raw acreage, Arizona | Same profit, taxed as dealer income | Investor sale on a 5-year land contract |
|---|---|---|---|
| Filing status | Married, joint | Married, joint | Married, joint |
| State | Arizona | Arizona | Arizona |
| Tax years | 1 | 1 | 5 |
| 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 gain | 23.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
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.
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.
Frequently asked questions
Is capital gains tax on land the same as on a house?
Do I owe capital gains tax if I sell land at a loss?
How can I avoid capital gains tax when selling land?
What is the Role of Tax-Loss Harvesting in Avoiding Capital Gains Tax on a Land Sale?
Does subdividing land make me a dealer?
Sources
- IRC 1237, real property subdivided for sale (Cornell LII)
- IRC 1221, capital asset definition (Cornell LII)
- IRC 266, carrying charges (Cornell LII)
- Treas. Reg. 1.266-1 (Cornell LII)
- Treas. Reg. 1.121-1, vacant land rule (Cornell LII)
- IRC 453, installment method and dealer rules (Cornell LII)
- IRC 1014, basis of inherited property (Cornell LII)
- IRC 1031, like-kind exchanges (Cornell LII)
- Rev. Proc. 2025-32, 2026 inflation adjustments (IRS)
- A.R.S. 43-1022, Arizona subtractions
Figures as of October 7, 2026; each rate and limit above names its source and year. Education only, not legal or tax advice.
Keep reading
Farmland
A farm sale is five tax sales at once, and whether you cash rent or farm the ground decides the 3.8% layer.
ReadTimber sale
Standing timber held over a year is capital gain, but only the depletion basis you can prove comes off the top.
ReadFarm installment sale
Selling farmland on a land contract: the gain spreads, there is no Section 453A interest charge at any size, and Section 1062 is new for 2026.
Read1031 exchange
Defer the whole gain by trading investment real estate for more real estate, if you can find it and close inside 180 days.
ReadInherited property
Heirs start from the value on the date of death, so a quick sale often produces little gain. The exceptions are where the tax hides.
ReadStep-up at death (hold)
Holding an appreciated asset until death can erase the built-in gain for heirs; here is when that beats selling now and when it does not.
ReadKnow 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.