- A gas station sale gets taxed in 4 layers (federal capital gains, depreciation recapture taxed as ordinary income, state income tax, and the 3.8% net investment income tax) so the purchase agreement's asset allocation between real estate, equipment, inventory, and goodwill directly sets your bill.
- A 1031 exchange has 2 hard deadlines measured in calendar days from your sale closing: 45 days to identify replacement property and 180 days to close, with no extensions, which is why most failed exchanges die on the identification clock.
- The strongest 1031 replacement is absolute NNN retail with 15 to 20 year lease terms, the same structure that lets net-leased fuel and C-store assets trade around 8x EBITDA (7x to 9x in premium markets).
- A deferred sales trust is the main 1031 alternative when you miss the 45-day or 180-day deadline or cannot find suitable replacement property, spreading gain recognition over an installment timeline instead of requiring a like-kind purchase.
The hardest part of selling a gas station is not finding a buyer. It is keeping the proceeds. A petroleum property carries a uniquely layered tax bill because it sells as a bundle of assets: dirt, building, fuel system, inventory, and goodwill, each taxed differently. Add federal capital gains, depreciation recapture, state income tax, and the net investment income tax, and a clean 6 cap sale can hand 25 to 35 percent of the gain to the government. The good news is that the tax code rewards owners who plan the exit before they sign. A 1031 exchange or a deferred sales trust can defer six or seven figures of tax, but both are deadline-driven and unforgiving of mistakes made after closing. This guide breaks down what you owe and how to keep more of it.
How a gas station sale gets taxed: the four layers
There is no single capital gains rate on a station sale. The IRS taxes the transaction in pieces, and the mix drives your effective rate.
- Long-term capital gains. If you held the asset more than 12 months, the federal rate on the gain above your cost basis is 0, 15, or 20 percent depending on income. Most station sellers land at 20 percent.
- Depreciation recapture. The MPDs, canopy, building, and tank system you wrote off over the years get clawed back. Section 1250 real-property recapture is capped at 25 percent, and Section 1245 personal-property recapture (pumps, equipment) is taxed at ordinary rates.
- Net investment income tax. An extra 3.8 percent applies to passive gains for higher earners.
- State income tax. From 0 in Texas and Florida to high single digits elsewhere.
The recapture layer surprises owners most. A station depreciated for 15 years can owe more on recapture than on the appreciation itself.
Asset allocation: why the purchase agreement is a tax document
A gas station almost always sells as an asset deal, not a stock deal, which means the contract splits the price across categories on IRS Form 8594. That allocation decides your tax bill, and your interests run opposite the buyer's.
The buyer wants more price assigned to equipment and inventory so they can depreciate and deduct it quickly. You want more assigned to real estate and goodwill, which are taxed at favorable long-term capital gains rates rather than ordinary income. Goodwill in particular is gold for a seller because it carries no depreciation recapture.
On a combined business-and-real-estate sale at roughly 8x EBITDA, shifting even 10 percent of the price between categories can move tens of thousands of dollars. Both sides must file matching 8594 forms, so the split is negotiated, not unilateral. Get your CPA and broker on the allocation before the letter of intent hardens. A specialist broker who has structured petroleum deals knows where the IRS scrutiny falls. See our guide to selling a gas station for the full deal sequence.
Estimating the bill: a realistic example
Numbers make the stakes concrete. Say you bought a station for 1.5 million, depreciated 600,000 over the years, and sell the going concern with real estate at about 8x EBITDA for 4 million.
- Adjusted basis: 1.5M minus 600K depreciation equals 900K.
- Total gain: 4M minus 900K equals 3.1M.
- Recapture portion: the 600K previously deducted is taxed first, much of it at up to 25 percent, some at ordinary rates if tied to equipment.
- Capital gain portion: the remaining 2.5M of true appreciation at 20 percent federal, plus 3.8 percent NIIT where it applies.
Before any state tax, a seller in this position can owe 600,000 to 800,000 dollars. In a no-income-tax state like Texas the bill is lighter, but the federal and recapture layers still bite. Run your own figures, then decide whether a deferral structure is worth the planning cost. It almost always is at this scale.
The 1031 exchange: deadlines that end careers
Section 1031 lets you defer the entire gain, including recapture, by rolling the real estate into a like-kind investment property. It is the most powerful tool a station seller has, and the most rigid. The clock is brutal.
- 45 days to identify replacement property, counted in calendar days from the closing date.
- 180 days to close on it, also calendar days from the same closing date.
Miss either deadline by a day and the full gain becomes taxable. The proceeds must go to a qualified intermediary at closing, never to you, or the exchange is dead on arrival. The deadlines do not pause for weekends, holidays, or a deal that falls through. Run the dates the moment you have a closing date with our 1031 exchange deadline calculator. Remember that 1031 covers the real estate, not the business goodwill or inventory, so a combined sale needs careful structuring with your intermediary and broker.
What makes a good 1031 replacement property
The replacement asset must be real property held for investment, and many station sellers trade out of active operations into passive income. The cleanest landing spot is a net-lease property where a tenant covers taxes, insurance, and maintenance.
Absolute NNN gas stations with 15 to 20 year terms are ideal replacements. You move from running pumps and managing inside sales to collecting rent from a corporate-guaranteed tenant. Cap rates frame the math. Nationally, fuel-and-store assets trade at about 5.6 percent, with strong credit tenants tighter: Wawa at 4.83 to 5.20 percent, 7-Eleven at 5.00 to 5.40 percent, and Circle K at 5.35 to 5.65 percent. A tighter cap means a higher price for the same rent, so you trade yield for safety.
You do not have to stay in fuel. Any investment real estate qualifies. But many owners like the sector they know. Explore options in our NNN gas station investing guide and replacement property guide, or talk to us about sourcing one.
The deferred sales trust: a 1031 alternative
What if you do not want to buy more real estate, missed the 45-day window, or are selling the business without the dirt? A deferred sales trust (DST) offers a different path. Instead of receiving cash at closing, you sell the asset to an irrevocable trust in exchange for an installment note under Section 453.
The trust then sells to your buyer and invests the proceeds. You are taxed only as the trust pays you over the agreed schedule, spreading the gain across years rather than recognizing it all at once. This works on the goodwill and business portion of a station sale that a 1031 cannot touch, and it has no 45 or 180 day deadline pressure.
The tradeoffs are real. A DST costs more to set up, requires a trustee and ongoing administration, and demands a properly drafted structure to satisfy the IRS. It is not a do-it-yourself move. But for a seller exiting fully into retirement, the flexibility and income smoothing can beat a forced like-kind purchase. See our exit and retirement strategy guide.
Other ways to soften the hit
Deferral structures are the heavy machinery, but smaller moves matter too.
- Installment sale. Seller financing under Section 453 spreads the gain as the buyer pays principal over time, keeping you in a lower bracket each year. Common when SBA financing leaves a gap.
- Sale-leaseback first. Separating the real estate from the operating business lets you cash out the dirt at a favorable cap rate now and sell the business later, splitting the tax events. See our sale-leaseback guide.
- Timing and basis cleanup. Selling in a lower-income year, harvesting capital losses elsewhere, or documenting capital improvements that raise your basis all trim the gain.
- State strategy. Residency and entity structure affect the state layer, which ranges from zero to high single digits.
None of this is tax advice for your specific return. Bring a petroleum-literate CPA in early. The cost of planning is trivial against a six-figure tax bill.
Plan the exit before you list
The single biggest tax mistake station owners make is treating taxes as a closing-week problem. By then the asset allocation is set, the 1031 intermediary should already be lined up, and any DST must be formed before the sale, not after. Once cash hits your account, most deferral doors slam shut.
Sequence it correctly. Get a broker opinion of value, decide whether you are selling the business, the real estate, or both, model the after-tax proceeds under each structure, then go to market with the plan locked. Sale timelines typically run 3 to 6 months, sometimes 6 to 12, which gives you room to prepare if you start now.
Gas Station Trader is a specialist gas station and C-store brokerage (Eagle Nest Property Group, Dallas TX) that has transacted 250 million dollars plus across buy, sell, sale-leaseback, and finance. We coordinate with your CPA and intermediary so the tax structure is built into the deal, not bolted on. Call 469.949.6467 to map your exit. See also how to value a gas station.