8 min read

Should Your Agency Buy Its Office Building? The Deduction Is Year One. The Decision Is Year Eight.

Should Your Agency Buy Its Office Building? The Deduction Is Year One. The Decision Is Year Eight.
Should Your Agency Buy Its Office Building?
14:08

By Craig S. Cody, CPA, Certified Tax Coach.

The tax math on buying your own building is the easiest sale in my business. Everybody loves a six-figure first-year deduction.

Almost nobody asks what happens in year eight.

I'll tell you straight: I don't own the building my firm works out of. So this isn't a lever I've pulled myself. But I've worked with marketing, advertising and PR agency owners who've saved hundreds of thousands of dollars with it, and I know exactly where the humans who don't fit the profile get hurt. The deduction is real. It's also the least important number in the decision.

The Short Answer

Buy the building if four things are true. You plan to be in it seven years or more. You're in a market you're not leaving. The down payment isn't also your payroll cushion. And the people who own the agency own the building in the same percentages, or you're the only owner of both.

If all four hold, the tax side is a genuine bonus: rent that lands in an entity you control, depreciation that shelters it, and a cost segregation study that pulls a big piece of the write-off into year one.

👉 Want to learn more? Check out our entire ultimate guide on Tax Planning for Marketing and PR Agency Owners!

If any one of them fails, the tax side doesn't rescue you. It rewards you in year one and charges you back on the day you sell, and in one common ownership setup it doesn't even show up in year one. The rest of this article is the four tests, the mechanics behind them, and the bill at the end.

How the Structure Works

You don't buy the building inside the agency. You buy it through a separate LLC you own, and the agency signs a lease at market rent.

The agency deducts the rent, exactly as it deducted rent to the old landlord. The LLC reports the rent as income, and depreciation on the building shelters most of it. Over the life of the loan, the agency's rent is paying down a mortgage on something you own instead of something somebody else owns.

Keep the building out of the operating company for two reasons. Liability is the first. The sale is the bigger one: a buyer wants the agency, not the real estate, and you want the rent stream to keep arriving after the agency is sold. Pulling a building out of an S corporation later is a taxable event, so decide the structure on day one.

What Cost Segregation Actually Does

A commercial building depreciates over 39 years. That's the default, and on a $1.2 million building it's about $30,000 a year.

A cost segregation study breaks the building into its parts and assigns each part the life it actually has. Carpet, cabinetry, dedicated electrical, decorative lighting and similar pieces fall into 5- and 7-year property. Parking lots, sidewalks and landscaping are 15-year land improvements. Interior improvements you make after the building is in service can be qualified improvement property, which IRC 168(e)(6) puts on a 15-year life.

Here's why that matters now. Under the One Big Beautiful Bill Act, 100% bonus depreciation is permanent for qualified property acquired after January 19, 2025, per IRS Notice 2026-11. Everything the study moves into a 5-, 7- or 15-year life can be deducted in the year you place it in service.

An illustration, not a quote from any client's return, and the same building lever three of the five levers article works from. You pay $1.5 million. Land, which never depreciates, is $300,000. The building is $1.2 million. A study reclassifies 22%, which is inside the typical 20% to 25% range, so $264,000 moves into short lives and is deductible in year one on top of the normal depreciation on the rest. Against a 37% federal bracket that's roughly $98,000 of federal tax not paid this year, before state.

Two things to know before you get excited. The IRS has published a full audit guide on cost segregation, and it says plainly that no standards govern how these studies are prepared and that quality varies widely. Use an engineering-based study from a firm that will sit across from an examiner with you. And if you already own your building and never ran a study, you haven't lost it: an automatic accounting method change on Form 3115 lets you claim all the missed depreciation in a single year, no amended returns.

Where the Deduction Lands, and Why It Can Get Stuck

This is the part almost nobody writes about, and it's where the pretty spreadsheet breaks.

The $264,000 deduction doesn't land in your agency. It lands in the building LLC, and it produces a rental loss there. Rental losses are passive by default. Your agency income isn't passive, because you work in the agency all day. Passive losses can't offset nonpassive income.

You'll hear that the self-rental rule fixes this. It doesn't. Regulation 1.469-2(f)(6) says net rental income from property you rent to a business you materially participate in is treated as nonpassive. It says nothing about losses. So the rule takes away the upside (your building income won't absorb passive losses from other investments) without giving you the downside relief you were counting on.

There's a door, and it has a lock on it. Regulation 1.469-4(d)(1) lets you group the building with the agency as one activity, which makes the building's loss nonpassive alongside the agency's income. But grouping a rental with a business is allowed only if the two form an appropriate economic unit and each owner holds the same proportionate interest in both. You and a partner own the agency 60/40, and you buy the building alone? You can't group. The loss sits suspended in the LLC until the building throws off enough income to absorb it, or until you sell.

That's the fourth test in the short answer, and it's the one humans skip. Match the ownership, or know going in that year one won't look like the brochure.

What Self-Rental Does to the Income Side

Once the building is producing net income, the same self-rental rule makes that income nonpassive. In practice, that means two things.

It won't soak up passive losses from your other real estate or your syndication investments, which is what most owners assume it will do. And for the qualified business income deduction, it helps: Regulation 1.199A-1(b)(14) treats rental to a commonly controlled business as a trade or business for section 199A even when it wouldn't qualify on its own. So the rent your agency pays you can carry the 20% deduction on the way back in, subject to the income limits that apply to everything else.

The Bill Comes at the Sale

Depreciation is a loan from a future tax year. Cost segregation makes the loan bigger and calls it in faster.

When you sell, the depreciation on the reclassified components is recaptured as ordinary income under section 1245, at your top rate. The straight-line depreciation on the building itself comes back as unrecaptured section 1250 gain, taxed at up to 25% under IRC 1(h). The rest is capital gain.

That's the year-eight arithmetic. Hold long enough and the time value of the year-one deduction outruns the recapture. Sell in year three and you've paid a study fee to move income from a 37% year into a 37% year, with an ordinary-rate recapture on top. Two things change the picture: a 1031 exchange defers the whole bill into the next building, and property you still hold at death gets a stepped-up basis, which erases it. Neither is a plan for an owner who might relocate.

Section 179 Won't Save the Roof

Owners hear that Section 179 now covers roofs and HVAC and assume the building LLC can expense a new roof. Usually it can't.

Section 179 is generous in 2026, $2,560,000 under Rev. Proc. 2025-32, and IRC 179(e) does list roofs, HVAC, fire protection and security systems on nonresidential property. But section 179 requires property used in the active conduct of a trade or business, and 179(d)(5) shuts most noncorporate lessors out unless the lease is shorter than half the property's class life and the lessor's operating deductions exceed 15% of the rent in the first year. A building LLC leasing to your agency almost never meets that.

Bonus depreciation has no lessor rule, but a roof is 39-year structural property, so bonus doesn't reach it either. The new roof gets depreciated over 39 years. What you can do is make a partial disposition election under Regulation 1.168(i)-8(d)(2) and write off the remaining basis of the old roof in the year you tear it off. It has to be on that year's original return, so tell your CPA before the contractor starts.

The Lease Has to Look Like a Lease

Everything above assumes the rent is real. A rent figure you set to move money between your own pockets is the first thing an examiner tests.

Get a written lease with market terms. Get a comparable, a broker's opinion or two listings for similar space in your market, and keep it in the file. Have the agency actually pay the rent, monthly, from its account to the LLC's account. Don't set the rent to zero out the building's income, and don't skip months when the agency is tight. A lease that only exists on the return isn't a lease.

Who This Is For, and Who It Isn't

This is for an agency owner who has already answered the questions that come before tax. The agency is stable. The market is home. The down payment comes from money that isn't underwriting payroll. The ownership of the building will mirror the ownership of the agency, or you own both alone. If that's you, buy the building, run the study, and let the tax side pay you for a decision you'd have made anyway. Where it sits among the other decisions that set your bill is in the tax planning guide for agency owners.

This isn't for an agency that might shrink, go remote or follow a big client to another city. It isn't for an owner whose down payment is the only cushion under the humans on payroll. And it isn't for a multi-partner agency where one partner wants to be the landlord, unless everybody understands that partner's year-one deduction is going to sit and wait.

Filing a return isn't a tax strategy. Neither is buying a building for the deduction.

Frequently Asked Questions

Should my agency own its office building or rent?

Own it if you'll stay seven years or more, in a market you're not leaving, with a down payment that isn't your payroll reserve, and with building ownership that matches agency ownership. Buy it through a separate LLC and lease it to the agency at market rent. If any of those fail, keep renting; the tax benefits don't fix a bad real estate decision.

What does a cost segregation study do?

It breaks a building into components and assigns 5-, 7- and 15-year lives to the parts that qualify instead of the 39-year default. With 100% bonus depreciation permanent for property acquired after January 19, 2025, those reclassified parts can be deducted in year one. On a typical commercial building, 20% to 25% of the building's basis reclassifies.

Can I do a cost segregation study on a building I already own?

Yes. A study on a building already in service is claimed through an automatic accounting method change on Form 3115, and the missed depreciation from every prior year comes through as a single catch-up deduction in the year of change. No amended returns are needed.

Is rental income from my own agency passive income?

No. Under the self-rental rule in Regulation 1.469-2(f)(6), net rental income from property you rent to a business you materially participate in is treated as nonpassive. Rental losses from that property stay passive unless you can group the building with the agency, which requires the same owners in the same percentages.

What happens to the depreciation when I sell the building?

Depreciation on the components a cost segregation study reclassified is recaptured as ordinary income under section 1245. Straight-line depreciation on the building is taxed as unrecaptured section 1250 gain at up to 25%. A 1031 exchange defers the bill, and a stepped-up basis at death erases it.

Can I hold the building inside my S corporation?

You can, and you shouldn't. A buyer of the agency doesn't want the real estate, you want the rent stream after the sale, and taking a building out of an S corporation later is a taxable distribution at fair market value. Hold it in a separate LLC from the start.

Let's Talk

If you're weighing a building, run the four tests before you run the numbers. Then bring the numbers to someone who'll check the ownership match and the exit before they show you the year-one deduction.

I wrote a book called The 12 Biggest Tax Mistakes That Cost Agency Owners Thousands. Buying a building for the deduction sits close to a few of them. You can request a free copy at the link below.

Request your free copy

Nobody's looking out for your money but you. Let's go look together.

Craig S. Cody is a CPA, Certified Tax Coach, and retired NYPD Lieutenant. His firm works with more than 70 marketing and advertising agency owners every month, helping them keep more of what they make through proactive tax planning.

This article is general education, not advice for your specific situation. Confirm your own facts with your advisor before acting.

S Corp or LLC for Your Agency? Your Salary Is the Real Decision, and It Moves Four Numbers at Once

S Corp or LLC for Your Agency? Your Salary Is the Real Decision, and It Moves Four Numbers at Once

The S corp election is a form. The salary is the plan. What a reasonable salary is, and the four numbers it moves at once for an agency owner.

Read More
AI Saved Your Agency 12 Hours. You Don't Owe the Client a Discount.

AI Saved Your Agency 12 Hours. You Don't Owe the Client a Discount.

AI made the work faster. Does the client get a lower fee? A CPA on the fight his own profession is having, and the clause that answers it in advance.

Read More