Lesson 04 · 15 min read
Taxes and Closing Costs on a Commercial Sale
How gain is calculated, how depreciation recapture and capital gains are taxed, what NIIT and FIRPTA mean for a seller, the Florida closing costs to expect, and a full net proceeds estimate.
The price on the contract is the top line. What lands in your account is the bottom line, after closing costs, the loan payoff, prorations, and taxes. Many owners know their price to the dollar and their tax bill only roughly. That gap matters, because the tax plan has to be set before closing. Once the deed records, most options are gone.
This lesson covers how gain is calculated, how each layer of gain is taxed at the federal level, the 3.8% net investment income tax, Florida's tax picture, the closing costs on a Florida commercial sale, FIRPTA withholding for foreign sellers, and a full worked estimate on the Oviedo retail building from Lesson 3.
Education, not tax or legal advice. Tax law changes and depends on your facts, entity, and income. Use this lesson to prepare questions, then confirm every number with your CPA and a Florida attorney before you sign a contract.
How gain is calculated
Amount realized
The sale price, less your selling costs, such as brokerage fees, the seller's title and closing charges, documentary stamp tax if you pay it, and attorney fees. If the buyer assumes your loan, the loan balance is part of the amount realized too.
Adjusted basis
Adjusted basis = original cost (including acquisition costs)
+ capital improvements
− depreciation taken (or allowable)
Note "or allowable." If you were entitled to depreciation and did not claim it, the IRS generally still reduces your basis as if you had. If you suspect missed depreciation, raise it with your CPA before the sale year, because there may be ways to catch up.
If you acquired the property in a 1031 exchange, your basis generally carries over from the property you gave up, adjusted. Long exchange chains can leave a very low basis. Find your basis records now. Your CPA will need them.
How the gain is taxed: the federal layers
Federal tax on a commercial sale usually comes in layers. Each layer has its own rate.
| Layer | What it is | Federal rate |
|---|---|---|
| §1245 recapture | Depreciation on personal property and land improvements, often created by a cost segregation study | Ordinary income rates |
| Unrecaptured §1250 gain | Straight-line depreciation taken on the building | Taxed at a maximum of 25% |
| Long-term capital gain | Gain above your original cost, for property held more than one year | 0%, 15%, or 20%, depending on income |
| Net investment income tax | A separate 3.8% tax under IRC §1411 | 3.8% on the amount subject to NIIT |
Depreciation recapture on the building
Buildings placed in service after 1986 are depreciated straight-line. When you sell, the gain equal to that depreciation is called unrecaptured §1250 gain. It is taxed at your ordinary rate, but not more than 25%.
Cost segregation and §1245 recapture
If you had a cost segregation study, part of your property was reclassified into shorter-life personal property and land improvements, such as certain electrical, flooring, and site work. That produced bigger deductions early. At sale, depreciation on those §1245 components is generally recaptured as ordinary income, which can be taxed at a higher rate than the 25% building recapture.
Cost segregation is still often worth it. It speeds up deductions and the recapture comes later. But the sale-year bill is larger than many owners expect. See Depreciation, Cost Segregation, and Bonus Depreciation. The S-Corp and cost segregation tax strategy calculator shows the front-end benefit, and this lesson shows the back end.
Long-term capital gain
Gain above the depreciation layers is long-term capital gain if you held the property more than one year. Federal rates are 0%, 15%, or 20%, depending on your taxable income.
The 3.8% net investment income tax
Under IRC §1411, a 3.8% tax may apply to net investment income, including gain on investment real estate, for individuals with modified adjusted gross income above the statutory thresholds: $200,000 for single filers and $250,000 for married couples filing jointly. These thresholds are not indexed for inflation. A large sale can push you over them in the sale year even if you are usually below.
Whether NIIT applies depends on your facts. For example, the answer may differ for property used in a business you actively run. Ask your CPA.
Suspended passive losses
If rental losses were limited by the passive activity rules in prior years, those suspended losses generally become usable when you sell your entire interest in a fully taxable sale to an unrelated buyer. That can reduce the sale-year tax. Bring your carryforward schedule to your CPA.
Florida's tax picture
- No personal income tax. Florida does not tax individuals on income, so individual owners, and owners of most pass-through entities, owe no Florida income tax on the gain
- C corporations are different. Florida has a corporate income tax. If a C corporation owns your property, the sale is taxed differently at both the federal and state level, and getting money out of the corporation may be taxed again. Talk to your CPA
- Other states can matter. If you live in another state, your home state may tax the gain. Florida property, out-of-state owner: check both
Closing costs on a Florida commercial sale
Who pays what is negotiable and stated in the contract. Local custom varies by county. Here is what to expect.
| Cost | What it is | Who usually pays |
|---|---|---|
| Documentary stamp tax on the deed | $0.70 per $100 of consideration in most of Florida. Miami-Dade County uses a different rate | Customarily the seller in much of Florida, but negotiable |
| Owner's title insurance | Insures the buyer's title. Florida premium rates are set by state rule | Varies by county custom |
| Brokerage fee | Set by your listing agreement | Seller, under the listing agreement |
| Attorney fees | Contract review, closing documents, title curative work | Each party pays its own |
| Settlement and closing agent fees | The title company or attorney handling closing | Often split or by custom |
| Title curative work | Releasing old liens, correcting records | Seller, to deliver clean title |
| Survey update | If the contract requires the seller to provide one | Negotiable |
| Loan payoff and prepayment cost | Your existing loan, plus yield maintenance or defeasance if any | Seller |
| Recording fees | Recording the deed and releases | Varies |
Documentary stamp tax math
Doc stamps = sale price ÷ 100 × $0.70
On a $3,000,000 sale: $3,000,000 ÷ 100 × $0.70 = $21,000.
Transfers of interests in an entity that owns Florida real property can also trigger doc stamps in some situations. If you plan to sell the LLC rather than the building, ask your attorney first.
Prorations are not selling costs
Your closing statement will also show prorations: rent collected for days after closing, property taxes for the part of the year you owned the building, and tenant security deposits. These settle income and obligations between you and the buyer. They change your cash at closing, but they are not selling costs and they are handled separately for tax. Lesson 7 covers how they work, including why Florida property taxes paid in arrears usually mean a credit to the buyer.
FIRPTA: when the seller is foreign
Under the Foreign Investment in Real Property Tax Act, if the seller is a foreign person, the buyer generally must withhold 15% of the amount realized and send it to the IRS under IRC §1445. The withholding is based on the gross price, not the gain, so it can be much larger than the tax actually owed.
What foreign sellers should do early:
- Tell your closing agent and CPA at the start
- Ask your CPA about applying for a withholding certificate, which can reduce withholding to the estimated actual tax. It takes time, so apply early
- Expect the title company to hold or remit the funds at closing
U.S. sellers sign a certification of non-foreign status at closing. The closing agent will provide it.
A worked example: taxes and net proceeds on the Oviedo building
Illustrative numbers. Not market data. Tax rates in this example assume a high-income individual owner who held the property more than one year through an LLC taxed as a partnership. Your rates may differ.
The facts
- Sale price: $3,000,000, closing June 15
- Original cost in 2014 (including acquisition costs): $1,800,000
- Capital improvements (new roof on two suites, paving): $150,000
- Depreciation taken: $600,000 total
- $520,000 straight-line on the building (unrecaptured §1250)
- $80,000 on §1245 components from a cost segregation study
- Loan payoff: $700,000, no prepayment penalty
Step 1: selling costs
| Cost | Amount |
|---|---|
| Documentary stamp tax ($3,000,000 ÷ 100 × $0.70) | $21,000 |
| Brokerage fee (illustrative 4%) | $120,000 |
| Owner's title policy (illustrative; paid by seller here by agreement) | $10,100 |
| Seller's attorney | $5,000 |
| Settlement, recording, lien searches, estoppel processing | $3,900 |
| Total selling costs | $160,000 |
Get real quotes. Use the Florida net sheet calculator to run your own figures by county.
Step 2: amount realized and adjusted basis
- Amount realized: $3,000,000 − $160,000 = $2,840,000
- Adjusted basis: $1,800,000 + $150,000 − $600,000 = $1,350,000
Step 3: gain
$2,840,000 − $1,350,000 = $1,490,000
Step 4: split the gain into layers
| Layer | Amount |
|---|---|
| §1245 recapture | $80,000 |
| Unrecaptured §1250 gain | $520,000 |
| Long-term capital gain ($1,490,000 − $80,000 − $520,000) | $890,000 |
| Total gain | $1,490,000 |
Step 5: estimate federal tax
| Layer | Amount | Illustrative rate | Tax |
|---|---|---|---|
| §1245 recapture | $80,000 | 37% (assumed top ordinary rate) | $29,600 |
| Unrecaptured §1250 gain | $520,000 | 25% | $130,000 |
| Long-term capital gain | $890,000 | 20% | $178,000 |
| NIIT on total gain | $1,490,000 | 3.8% | $56,620 |
| Estimated federal tax | $394,220 |
Florida personal income tax: $0.
The estimated tax is about 26.5% of the gain ($394,220 ÷ $1,490,000). That is the money a 1031 exchange or another deferral path is trying to keep working. Lesson 5 covers those options.
Step 6: prorations and credits at closing
| Item | Credit to buyer |
|---|---|
| Property taxes January 1 through June 15 (illustrative $36,500 a year, $100 a day × 166 days) | $16,600 |
| June rent collected for June 16-30 ($14,000 × 15 ÷ 30) | $7,000 |
| Tenant security deposits transferred | $12,000 |
| Total credits to buyer | $35,600 |
Step 7: net proceeds
| Line | Amount |
|---|---|
| Sale price | $3,000,000 |
| Less selling costs | −$160,000 |
| Less loan payoff | −$700,000 |
| Less prorations and deposit credits | −$35,600 |
| Cash at closing, before tax | $2,104,400 |
| Less estimated federal tax | −$394,220 |
| Estimated cash after tax | $1,710,180 |
The owner's "$3 million sale" becomes about $1.71 million of cash after tax in this example. The biggest single deduction after the loan is the tax, and the tax is the item most open to planning.
Common mistakes
- Using the price as the number. Plan from net proceeds after tax
- Forgetting depreciation. Recapture is taxed even if you never felt the deductions
- Surprise from cost segregation. §1245 recapture can be taxed at ordinary rates
- Ignoring NIIT. A large sale year can trigger it
- No basis records. Long exchange chains and old improvements need documentation
- Foreign seller learns about FIRPTA at closing. The withholding certificate process takes time
- Planning tax after the contract. Deferral options must be set up before closing
What to take away
- Gain equals amount realized less adjusted basis
- Adjusted basis is cost plus improvements less depreciation taken or allowable
- Federal tax comes in layers: §1245 recapture at ordinary rates, unrecaptured §1250 gain at a maximum of 25%, and long-term capital gain at 0%, 15%, or 20%
- The 3.8% NIIT under IRC §1411 may apply above statutory income thresholds
- Suspended passive losses generally free up on a full taxable sale
- Florida has no personal income tax, but C corporations face Florida corporate income tax
- Doc stamps on a Florida deed are $0.70 per $100 in most counties, and who pays is negotiable
- Foreign sellers face FIRPTA withholding of 15% of the amount realized unless reduced
- Prorations change cash at closing but are not selling costs
- Build a net proceeds estimate with your CPA before you sign
Next lesson: Tax-Deferral Exits: 1031, Installment Sales, and More.