Picture two houses on the same street, same price, same floor plan. One sits in a neighborhood where you can legally rent by the night. The other is in a city that just banned short-term rentals. To a casual buyer they look identical. To the tax code, and to the next buyer down the line, they are worth very different amounts.

Most people never think about this until they are deep into a purchase or a sale. That is a mistake, because one specific tax rule can turn a house into a machine that erases tens of thousands of dollars in taxes, and the same rule sets up a bill that lands the year you sell. If you are buying or selling, you should understand both halves before you sign anything.

The one rule that treats a rental like a business

Here is the piece almost nobody explains clearly. Normally, losses from a rental property are "passive," and your paycheck is "active" income. The IRS keeps those two buckets separate on purpose, so a rental loss cannot lower the tax on your salary. It just sits there, suspended, sometimes for years.

There is a single exception, and it hinges on how long guests stay. Under IRS rules, a property with an average guest stay of seven days or less is not treated as a passive rental at all. If the owner also "materially participates" in running it, the income and the losses become non-passive. That means the losses can offset wages, 1099 income, and other active income right now, in the same year.

The legal basis is IRC Section 469(c)(2) and Treasury Regulation 1.469-1T(e)(3)(ii)(A), which spells out that when the average customer use runs seven days or less, the activity is not a rental for these purposes. Short-term platforms like Airbnb and VRBO fit this by design. Long-term leases do not.

"Materially participate" has a specific meaning too. The common path for a working owner is 100 or more hours a year on the property, and more hours than anyone else, including any manager. Guest messages, pricing, scheduling cleaners, ordering supplies, handling maintenance, all of it counts, but you have to log it. And there is a hard trap here: if you hire a full-service property manager who spends more hours than you do, you fail the test and the whole benefit collapses. That is why serious owners use co-hosts and cleaners for tasks but keep the decisions in their own hands.

Why the depreciation number gets so big

A rental gives you an annual depreciation deduction just for owning the building. On a $400,000 property, standard depreciation over 27.5 years is roughly $14,500 a year. Useful, but not dramatic.

A cost segregation study is what changes the scale. An engineering firm goes through the property and reclassifies pieces of it into faster schedules. Appliances, carpet, and cabinetry become 5-year property. Furniture becomes 7-year property. Landscaping, driveways, and fencing become 15-year property instead of 27.5. Bundle that with bonus depreciation and a big slice of the building can be deducted up front.

Run the numbers from the source example. A $400,000 short-term rental, a cost segregation study, and the owner materially participates. Year one depreciation can land in the $80,000 to $120,000 range. Add normal expenses like mortgage interest, cleaning, and insurance, subtract the rental income, and the property might show a paper loss of $60,000 to $100,000. Because the property qualifies as non-passive, that loss offsets a salary. On $150,000 of W-2 income, an $80,000 loss can drop taxable income to $70,000 and cut the federal tax bill by roughly $21,500 in a single year. The study itself runs $3,000 to $7,000, so the first-year return is several times its cost.

One timing note that matters if you are buying now. Bonus depreciation is phasing down, from 80% in 2023 to 60% in 2024, 40% in 2025, 20% in 2026, and 0% in 2027 unless Congress extends it. The later you buy, the smaller the first-year deduction. This is not a reason to rush into a bad house, but it does mean the calendar is part of the decision.

The bill that comes due when you sell

Now the half the tax pitch tends to skip, and the half a seller feels directly. Every dollar of depreciation you claim lowers your cost basis in the property. When you sell, the IRS wants that benefit back. It is called depreciation recapture, and it is taxed at up to 25% on all the depreciation you took.

So the front-loaded deduction is not free money, it is a timing shift. You pull the deduction forward against your salary today, and you settle up at sale. Work the source example. You buy for $400,000, claim $120,000 in depreciation, and later sell for $550,000. Without any planning, you owe capital gains tax on the $150,000 of appreciation plus recapture on the $120,000 of depreciation, a combined bill in the neighborhood of $55,000 to $65,000.

This belongs on the same page as every other hidden cost of selling a resale home, because it is easy to forget a deduction you took five years ago and then get surprised by the closing math. When you think about how to keep more money when you sell your house, recapture is a line you have to plan for, not discover.

There is a legitimate way to defer it. A 1031 exchange lets you sell the property and roll the proceeds into another investment property of like kind without recognizing the gain or the recapture right away. You reset the depreciation clock on the new property, and the deferral can continue for as long as you keep exchanging. If you hold until death, your heirs get a stepped-up basis that wipes out the deferred gain. That is real, but it is also rule-bound, tightly timed, and it means you keep owning investment real estate rather than cashing out. It is a plan, not a magic eraser.

An STR ban can shrink your buyer pool overnight

Here is where this stops being a tax topic and becomes a home value topic. The entire strategy depends on the property being able to legally operate as a short-term rental. If a city, an HOA, or a zoning rule blocks weekly rentals, the property is just an ordinary long-term rental, and the loophole does not apply.

That is a resale risk you carry the whole time you own the house. A market that allows short-term rentals today can restrict or ban them later, and a lot of cities have done exactly that. When the rules change, two things happen at once. Owners who counted on that income and those tax benefits lose them, and the pool of buyers who would pay a premium for an STR-ready house shrinks. Fewer buyers competing for your house tends to mean a softer price, right when you least want one.

This cuts the other way for buyers. Purchasing a house on the assumption that you can rent it by the night, without checking local zoning, the HOA covenants, and the municipal ordinances first, is one of the more expensive home buying mistakes you can make. A binder full of projected income means nothing if the property cannot legally host a single paying guest. Verify the rules in writing before you fall in love with the numbers.

Building it in at purchase changes the long math

The reason this matters at the buy or sell decision, and not just at tax time, is that the strategy only reaches its full value when you plan it from the start. You want a house in a market that legally allows short-term rentals, that actually performs as one, and that you can qualify to finance. Bolting the plan on after you already own the wrong house in the wrong market usually does not work.

When you stretch the picture across a long hold, the choices compound. The front-loaded deductions, the annual cash flow, the appreciation, the recapture you eventually owe, and whether you ever exchange or sell outright all interact. This is exactly the kind of decision the 25-year cost model is built to weigh, because a benefit you take in year one and a bill you pay in year twelve are not the same size once you account for everything in between. Buyers who model the full arc, instead of the first-year tax savings alone, tend to make calmer, better decisions.

The honest caveats

None of this is a reason to buy a house you would not otherwise want. The tax benefit is real, but it is rule-bound and unforgiving. Miss the seven-day average, let a manager out-hour you, skip the documentation, or buy where short-term rentals are banned, and the whole thing falls apart. The deduction you take now is partly borrowed against the sale later through recapture. And rules like bonus depreciation and the 1031 exchange can change with legislation.

This article is informational, not tax, financial, or legal advice. Your numbers, your state, and your local ordinances all change the answer, so run any real plan past a CPA and a real estate attorney before you commit.

If you want the full framework for how a purchase decision plays out over decades, including why building new can beat buying used once you count every cost, The Resale Trap walks through the 25-year math state by state.

Amazon


Want the Full Data?

This article draws from The Resale Trap — 395 pages of sourced research covering total cost of ownership, all 50 states ranked, insurance mechanics, and more.

Part of The Trap Series

The W-2 TrapThe $97 LaunchThe Condo TrapThe Resale Trap