Capital gains tax on real estate: investor rates vs the dealer trap
If you hold real estate more than a year and sell, your profit is a long-term capital gain taxed at 0%, 15% or 20%. If you flip or wholesale, none of that applies. The IRS treats property held primarily for sale as inventory, so your profit is ordinary income plus 15.3% self-employment tax, and you cannot defer it with a 1031 exchange. Which lane you are in matters more than the rate.
Most articles about capital gains tax on real estate answer a question half of this audience should not be asking. They explain the 0%, 15% and 20% long-term rates, walk through the home-sale exclusion, and send you off thinking you will owe a gentle 15%. If you flip houses or wholesale contracts, that entire article is about someone else's taxes. Your profit is not a capital gain at all, and the difference can cost five figures a deal.
This is general information, not tax or legal advice. Federal rules are summarized here from IRS sources, state income taxes add on top, and dealer status turns on your specific facts. Consult a CPA or tax attorney before you file or structure a deal. Nothing here is a promise about your result.
The two rates, and the line between them
Capital gains split on a one-year holding period. Hold an asset a year or less and the gain is short-term, taxed as ordinary income at your regular bracket. Hold it more than one year and it is long-term, taxed at a lower rate. IRS Topic No. 409 sets those long-term rates at 0%, 15% or 20%, and for the 2025 tax year the 0% rate runs up to $48,350 of taxable income for a single filer and $96,700 for a married couple filing jointly. The 15% rate covers most people from there to $533,400 single or $600,050 joint. Above that, 20%.
Those are 2025 figures, the thresholds the IRS has published. The 2026 brackets adjust upward for inflation, so treat these as the shape rather than the exact line for a sale you close next year. The holding-period rule does not change: one year and a day is the hinge the whole system turns on, and selling at month eleven instead of month thirteen can roughly double your rate.
The exclusion that saves homeowners
The biggest break in the code is for your own home. IRS Topic No. 701 lets a single filer exclude up to $250,000 of gain on a main residence, and a married couple filing jointly up to $500,000, as long as you owned and lived in the home for at least two of the five years before the sale. You generally cannot use it twice inside two years.
That is a homeowner's benefit, not an investor's. It does not touch a rental you never lived in, and it does nothing for a flip. House hackers sometimes bridge the gap by living in a property two years before selling, which converts a would-be taxable gain into an excluded one, and that is a real strategy with a real statute behind it. For a straight rental or a flip, the exclusion is a door you do not get to walk through.
The recapture most rental sellers forget
Buy-and-hold investors get the long-term rate, but with a catch that surprises people at closing. Every year you own a rental you deduct depreciation, and when you sell, the IRS wants some of that benefit back. Topic No. 409 taxes unrecaptured Section 1250 gain, the part of your profit attributable to depreciation on real property, at a maximum 25% rate rather than the 15% or 20% capital-gains rate.
So a rental sale is often two gains in one. The appreciation above your original basis is taxed at the long-term rate. The slice equal to the depreciation you claimed is taxed up to 25%. An investor who deducted $90,000 of depreciation over a decade can face a 25% bill on that $90,000, roughly $22,500, before a dollar of actual appreciation is taxed. The depreciation was still worth taking, because you deferred tax for years at ordinary rates and pay it back at a capped 25%, but it is not the free money some spreadsheets assume.
Why flippers and wholesalers owe ordinary income
Here is the part the generic guides skip, and it is the whole game for this audience. Long-term capital-gains treatment only applies to a capital asset. The definition in the tax code, 26 U.S. Code 1221(a)(1), specifically excludes "property held by the taxpayer primarily for sale to customers in the ordinary course of his trade or business." That is inventory. A flipper's house and a wholesaler's contract are inventory in the eyes of the IRS, not investments.
The consequence is blunt. If the IRS classifies you as a dealer, your profit is ordinary income, taxed at your full bracket, which tops out at 37% rather than the 20% long-term ceiling. Holding for a year changes nothing, because dealer property is never a capital asset in the first place. A wholesaler who assigns a contract for a $15,000 fee and a flipper who nets $40,000 on a six-month project are both earning ordinary business income, the same category as wages, no matter how the deal is dressed up.
Dealer status is not a box you check. It is a facts-and-circumstances call the IRS and the courts make from how often you buy and sell, how long you hold, how much of your income comes from these deals, and whether selling is your trade. Someone who flips six houses a year is almost certainly a dealer. Someone who sells one long-held rental is almost certainly not. The murky middle is exactly where you want a CPA, not a blog, deciding your position.
The 15.3% a dealer pays that an investor never does
Ordinary income from a trade or business carries a second tax that capital gains escape entirely. Dealer profits are self-employment earnings, so they are hit with self-employment tax: 15.3% total, made of 12.4% for Social Security and 2.9% for Medicare, on top of income tax. A passive investor selling a capital asset owes none of it.
Put real numbers on it. Say the profit is $40,000. A long-term investor in the 15% bracket owes about $6,000 and walks. A dealer owes income tax at ordinary rates plus self-employment tax on roughly 92.35% of the profit, which is $36,940 taxed at 15.3%, about $5,652 in self-employment tax by itself. Add ordinary income tax at, say, 22%, another $8,800, and the dealer is near $14,000 against the investor's $6,000 on the identical $40,000. Half of the self-employment tax is deductible against income, which softens it a little, but the gap is the point: same profit, more than double the tax, because one is inventory and the other is a capital asset.
| Treatment | Investor (held >1 yr) | Dealer (flip / wholesale) |
|---|---|---|
| Federal rate on profit | 0%, 15% or 20% long-term | Ordinary bracket, up to 37% |
| Self-employment tax | None | 15.3% on net earnings |
| 1031 exchange to defer | Available | Not available |
| IRS category | Capital asset | Inventory / stock in trade |
No 1031 exchange for inventory
The classic move to defer a gain is the 1031 like-kind exchange, where you roll proceeds from one property into another and push the tax down the road. It is powerful, and it is off-limits to dealers. The statute, 26 U.S. Code 1031, applies only to "real property held for productive use in a trade or business or for investment," and subsection (a)(2) states plainly that it "shall not apply to any exchange of real property held primarily for sale." That last phrase is the dealer again.
Even for investors who qualify, the clock is strict: you identify a replacement property within 45 days of selling and close within 180 days, with no extensions outside a declared disaster. Since the 2017 tax law, only real property qualifies, not equipment or personal property. For a flipper hoping to roll flip profits into the next project tax-free, the answer in the code is no. You pay as you go, deal by deal.
The surtax above the thresholds
High earners face one more layer. The Net Investment Income Tax, from Section 1411 of the code, adds 3.8% on net investment income once modified adjusted gross income passes $200,000 for a single filer, $250,000 for a joint return, or $125,000 married filing separately. Those thresholds are not indexed for inflation, so more sellers drift into them every year.
It bites investors, not active dealers, because it targets passive investment income rather than trade-or-business income. A landlord selling an appreciated rental can owe the 3.8% on part of the gain. A full-time flipper's profit is business income subject to self-employment tax instead, so it usually sits outside the NIIT. Trading one surtax for another is not a plan, but it shows how differently the two lanes are taxed all the way up.
How investors actually lower the bill
If you are on the investor side, a handful of real tools exist, all with statutes behind them. Hold past the one-year mark so the gain is long-term. Use the Section 121 exclusion if you genuinely lived in the home two of the last five years. Defer with a 1031 exchange into the next investment property. Sell on an installment basis through seller financing so the gain spreads across the years you collect payments rather than landing in one. Offset gains with losses from other sales in the same year.
If you are on the dealer side, the honest advice is different: stop trying to turn ordinary income into capital gains and plan for the real bill instead. Set aside money for self-employment tax every deal, make quarterly estimated payments so you are not hit with a penalty, and ask your CPA whether an S-corporation election could trim the self-employment tax on part of your flipping or wholesaling profit. That last one is a legitimate structure for an active business, not a loophole, and it is a conversation worth having once you are doing volume. See what that volume looks like in wholesaler earnings and in flipping for beginners.
What to do next
Figure out which lane you are in before you do anything else, because it decides everything downstream. If you buy and hold, the 0/15/20% rates and the 1031 exchange are yours, and your job is to time holds past a year and plan for depreciation recapture. If you flip or wholesale, accept that your profit is ordinary income with a 15.3% self-employment tax riding on it, price your deals with that tax baked in, and keep clean books so your CPA can defend your position. The investors who get surprised in April are the ones who read a generic capital-gains article and assumed it described them.
Either way, the tax is set by the margin on the deal, and the margin is set by what you pay going in. That is the one lever in your control. Farmrix scores every owner in a market on how likely they are to sell in the next 6 to 12 months, ranks them, and mails the top of that list for you, so the deals that reach you are priced to leave room for the tax instead of none. It will not change your bracket. It changes how much is left after the bracket takes its cut. Start with the smallest package, 500 ranked owners and 500 postcards for $1,195, and build the pipeline that makes the tax question a good problem to have.
Get the next guide
One practical email when we publish. No drip sequence, no pitch.