Imagine you bought a rental property years ago for $1 million. A buyer now offers you $3 million. You look at the numbers and think: “I made $2 million.” Then your CPA starts asking about depreciation, improvements, selling costs, suspended losses, your entity structure, and whether you're considering a 1031 exchange. Suddenly, $3 million of sale proceeds and $2 million of profit are not the same thing.
Imagine this.
Fifteen years ago, you purchased a commercial property for $1,000,000. The neighborhood grew. Rents increased. You improved the building. You paid down the mortgage.
Now a buyer offers $3,000,000.
You immediately calculate: $3,000,000 sale price minus $1,000,000 purchase price equals $2,000,000 profit.
Then you call your CPA and say: “I'm selling the building for $3 million. How much tax will I owe?”
The answer is: We need more information.
Because when real estate is sold, the original purchase price is only the beginning of the calculation.
We need to understand your original basis, land allocation, capital improvements, depreciation, selling costs, debt, suspended passive losses, how the property is owned, and what you plan to do with the proceeds.
This is why your CPA should ideally be involved before the property is sold—not after the closing.
The Sale Price Is Not Your Profit
You sell a property for $3 million. That does not mean you made $3 million. And if you originally paid $1 million, it does not necessarily mean your taxable gain is exactly $2 million.
Your tax calculation generally starts with the amount realized from the sale and compares it with your adjusted tax basis, subject to applicable tax rules.
The word that matters is: Adjusted.
What Is Your Adjusted Basis?
Imagine you originally purchased the property for $1 million. Part was allocated to land and part to the building.
Over the next 15 years, you spent $200,000 on a major renovation, $150,000 replacing the roof, and $100,000 on qualifying building improvements.
Your basis may have increased because of capital improvements. But over those same years, you also claimed depreciation. Depreciation generally reduces basis.
So the number used when calculating gain may look very different from the original $1 million purchase price.
Imagine Your Basis Fell to $700,000
Suppose after considering the original acquisition, improvements, depreciation, and other applicable adjustments, your adjusted basis is $700,000.
Now you sell for $3 million.
Before considering selling expenses and other relevant items, the potential gain is much larger than the simple $3 million minus $1 million calculation you originally made.
This is why investors are sometimes surprised by the tax consequences of selling a property they have owned for many years.
Depreciation Helped You While You Owned the Property
During the years you owned the building, depreciation may have reduced taxable rental income. That can be extremely valuable.
But when you sell, prior depreciation becomes part of the tax conversation. Certain gain attributable to depreciation can be subject to special tax treatment, commonly discussed as depreciation recapture.
Do not estimate the tax on a real-estate sale by multiplying the total gain by one capital-gains rate. The gain may contain different components.
“But I Didn't Take Much Depreciation.”
Imagine the property should have been depreciated for years, but prior returns did not properly claim all available depreciation.
You might think: “If I didn't deduct it, I don't have to worry about it when I sell.”
Tax rules involving depreciation allowed or allowable can make that assumption dangerous.
If depreciation history is incomplete or incorrect, address it before the sale whenever possible.
This Is Why Your Depreciation Schedule Matters
When selling a long-held property, one of the first things I want is the depreciation schedule—not simply last year's P&L.
It helps us understand original depreciable basis, improvements, assets placed in service, accumulated depreciation, remaining basis, and potential disposition issues.
If you changed CPAs several times over 20 years, make sure the depreciation records followed you.
Improvements Can Save You From Overstating Gain
Imagine you invested $500,000 into the property over the years through a roof, HVAC, building addition, parking lot, major remodel, and tenant improvements.
But none of those records were maintained properly.
Certain capital improvements can increase basis. If you cannot document them, reconstructing basis years later can become difficult.
Keep the Receipts Longer Than You Think
Real-estate basis documentation can matter for as long as you own the property and potentially afterward.
Keep purchase documents, closing statements, improvement invoices, construction contracts, depreciation schedules, prior tax returns, refinancing records, and sale documents.
Do not throw away the history of a property you still own.
Selling Costs Matter Too
Imagine the property sells for $3 million but the transaction includes broker commissions, legal fees, title-related costs, and other selling expenses.
Those costs can affect the tax calculation under applicable rules.
Sale price is not the same as taxable profit.
Your CPA needs the final closing statement from the sale.
Your Closing Statement Tells the Story Again
Just like when you purchased the property, the closing statement matters when you sell it.
We need to understand gross selling price, closing costs, commissions, prorations, debt payoff, and other amounts.
Do not simply send your CPA a screenshot showing $1,400,000 deposited into the bank. The bank deposit does not tell us the tax result.
Your Mortgage Payoff Does Not Reduce the Taxable Gain the Way You Think
Imagine you sell for $3 million and still owe the bank $1.2 million.
At closing, the loan is paid off and you receive approximately $1.8 million before other closing items.
You think: “Then my gain is only $1.8 million.”
Not necessarily.
Paying off the mortgage affects how much cash you receive, but your outstanding loan balance does not simply become a deduction against taxable gain.
Cash From the Sale and Taxable Gain Are Different Numbers
Imagine a $3 million sale price, $1.2 million loan payoff, and $180,000 of selling costs.
Cash remaining before taxes and other adjustments is approximately $1.62 million.
But your taxable gain might be a completely different number.
“How much cash will I receive?” and “How much taxable gain will I have?” must be answered separately.
Imagine Spending the Entire Check
After paying the bank and closing costs, you receive $1.6 million.
You use it to buy another investment, pay personal debt, purchase a home, make distributions, or fund another business.
Then your CPA calculates a substantial tax liability.
You ask: “Where am I supposed to get the tax money?”
This is exactly why tax projections should happen before the sale closes.
Know the Estimated Tax Before You Sign
Before closing, your CPA should ideally have enough information to estimate expected gain, depreciation-related tax considerations, federal tax, potential state tax where applicable, available losses, potential 1031 strategy, and other relevant tax consequences.
It may not be possible to calculate the final tax to the dollar before every closing. But you should have a reasonable idea of the magnitude.
A multimillion-dollar transaction should not create a surprise tax bill.
Suspended Passive Losses May Become Important
Imagine your rental generated passive losses over many years and you now have $300,000 of suspended passive losses.
Then you sell the property.
Those losses may become extremely important depending on the nature of the disposition and applicable rules.
This is why your CPA needs your complete tax history—not just the current-year income statement.
Don't Forget Other Properties
If you own Property A, Property B, and Property C and sell Property A, your overall passive-activity situation may involve income and losses from multiple investments.
The tax analysis should consider the taxpayer's complete return.
Real-estate tax planning is rarely done correctly by looking at one number in isolation.
What About Capital Gains Rates?
Long-term real-estate gains can involve capital-gain treatment, but the exact federal tax result can include multiple components.
Depending on the taxpayer, considerations can include long-term capital-gain rates, unrecaptured Section 1250 gain, other depreciation-related items, Net Investment Income Tax, state income taxes where applicable, and other tax attributes.
Do not assume: “My capital-gains rate is 15%, so that's my total tax.” It may not be.
The 3.8% Net Investment Income Tax Can Matter
Depending on the taxpayer's income and circumstances, the Net Investment Income Tax may also need to be considered.
For a large real-estate transaction, an additional percentage can represent a significant amount of money.
The tax estimate should consider the seller's entire tax situation, not just the property.
Your Other Income Matters
Imagine you sell the property in the same year you also have a large business profit, significant wages, investment income, another property sale, or another large capital gain.
The tax result can be different than if the real-estate sale occurred in a lower-income year.
Timing can matter.
Should You Sell in December or January?
Imagine a buyer is ready to close December 28, but you could potentially close January 3.
Would moving the transaction into another tax year help?
Maybe. Maybe not.
It depends on your income, other gains, losses, estimated taxes, business activity, the buyer's needs, plans for the proceeds, and applicable tax law.
This is exactly the type of question that needs to be asked before closing.
What About a 1031 Exchange?
A properly structured Section 1031 like-kind exchange can potentially defer recognition of gain on qualifying exchanges of real property held for investment or productive use in a trade or business, subject to detailed requirements.
The key word is: Defer.
A 1031 exchange generally does not mean the gain disappeared forever. The deferred gain generally carries into the replacement-property structure through the applicable basis rules.
You Need to Plan the 1031 Before Closing
Imagine the title company wires $2 million directly into your personal bank account.
Two weeks later, you call your CPA and say: “I decided I want to do a 1031 exchange.”
That can be a major problem.
A properly structured exchange generally requires planning and a qualified intermediary before the taxpayer receives the sale proceeds.
Do not wait until after closing.
The 45-Day Identification Period Moves Fast
In a deferred exchange, taxpayers generally have a limited period after transferring the relinquished property to identify potential replacement property, subject to applicable rules.
A commonly discussed deadline is 45 days.
That can pass quickly, especially when you are trying to find a multimillion-dollar replacement property.
Do not start searching on day 40.
The 180-Day Completion Period Matters Too
The exchange also generally has a limited period to complete acquisition of qualifying replacement property, subject to applicable rules and tax-return timing requirements.
The commonly discussed maximum period is 180 days.
A 1031 exchange is not “Sell now and figure it out whenever.”
The timeline matters.
What If You Want to Keep Some Cash?
Imagine you sell for $3 million and want to reinvest most of the proceeds but keep $500,000 personally.
A partial exchange may create taxable boot or other recognized-gain considerations depending on the transaction.
That does not necessarily make the strategy bad. Maybe you want liquidity.
The point is to understand the tax consequences before deciding how much cash to keep.
Replacing the Property With Something Cheaper Can Matter
Imagine you sell a property for $3 million and acquire replacement property for $2 million.
Do not assume the entire transaction will necessarily qualify for full gain deferral.
Debt, equity, value, cash received, and transaction structure can all matter.
This is where the qualified intermediary, attorney, and CPA need to coordinate.
A 1031 Exchange Should Not Force You Into a Bad Investment
Imagine you have a large potential tax bill and feel pressure to complete a 1031 exchange.
Day 40 arrives and you cannot find a property you like.
Then you buy a mediocre investment simply because you do not want to pay the tax.
Tax deferral is valuable. But buying a bad property to avoid tax can be much more expensive in the long run.
The investment still needs to make economic sense.
What About an Installment Sale?
Imagine a buyer offers $3 million but instead of paying everything at closing, the buyer pays over several years.
Depending on the transaction and applicable requirements, an installment sale may allow certain gain to be recognized as payments are received.
But not every component of gain receives identical treatment.
Installment sales can also create credit risk, interest considerations, documentation, collection risk, and tax complexity.
Planning needs to happen before the contract is finalized.
Seller Financing Is Also an Investment Decision
If you finance the buyer, you are no longer simply selling real estate. You are also becoming a lender.
Ask whether the buyer can pay, what collateral protects you, what interest rate applies, what happens on default, and what the tax treatment is.
Do not accept a tax strategy without understanding the business risk.
What If the Property Is Owned by a Partnership?
Imagine three partners own the property through an LLC taxed as a partnership.
One partner wants cash. One wants a 1031 exchange. One wants another property.
Now we have tax and structural questions that should be addressed before the sale.
Partnership-level transactions can create planning challenges when the owners have different goals.
What If the Property Is Owned by a Corporation?
Entity type can materially affect a real-estate sale.
A property held in an individual name, single-member LLC, partnership, S corporation, or C corporation may produce very different tax considerations.
This is why ownership structure should ideally be discussed when acquiring the property—not only when selling it.
C Corporations Can Create a Very Different Exit
Imagine real estate appreciated substantially inside a C corporation.
The corporation sells the property, then the shareholders want the cash personally.
The tax analysis can involve taxation at the corporate level and potential additional tax when value is distributed to shareholders.
That can produce a very different result from property held through certain pass-through structures.
Entity selection matters.
Don't Transfer the Property at the Last Minute Without Advice
Imagine you realize the entity structure is not ideal two weeks before closing and decide: “I'll just move the property into another LLC before the sale.”
Stop.
Transfers can have tax consequences, lender issues, title issues, partnership issues, legal consequences, and 1031 implications.
Do not restructure ownership immediately before a major sale without professional analysis.
What If You Sell Only Part of the Property?
Maybe you subdivide land, sell one parcel, keep another, sell an easement, or dispose of part of a larger tract.
Now basis allocation becomes important.
Your original basis may need to be allocated among the portions sold and retained.
Good historical records become extremely valuable.
Development Property Can Be Different
Imagine you buy land intending to develop, subdivide, and sell lots.
Now compare that with buying a building to hold for long-term rental.
The tax characterization of property and gains can depend on the taxpayer's activities and intent.
Not every real-estate sale automatically receives long-term capital-gain treatment simply because real estate was involved.
Dealers and Investors Are Not Always Taxed the Same
Someone who holds investment property is different from someone whose business is developing and selling property to customers.
The distinction can affect the character of income.
This is particularly important for developers, land flippers, home builders, and frequent property sellers.
Your CPA should understand what you actually do with the real estate.
Selling Your Primary Residence Is a Different Conversation
This article focuses primarily on investment and business real estate.
A principal residence can involve different tax provisions, including the potential Section 121 exclusion when applicable requirements are met.
Do not assume the tax rules for your rental building and personal home are identical.
Converting a Home Into a Rental Can Complicate the Future Sale
Imagine you live in a house for years, move out, rent it, depreciate it, and later sell it.
Now the analysis may involve residence-use history, rental-use periods, depreciation, Section 121 considerations, and gain.
The history of the property matters.
What Should You Give Your CPA Before Selling?
Ideally, before the sale, provide the original purchase closing statement, current proposed sales contract, prior depreciation schedules, capital-improvement records, current loan balance, prior cost-segregation study if any, entity ownership information, suspended passive-loss information, estimated selling expenses, expected closing date, expected sales price, 1031 plans, and other major income or gains expected during the year.
Your CPA can then begin modeling the transaction.
Ask the Most Important Question: “What Will I Actually Keep?”
Imagine two offers.
Offer A: $3 million.
Offer B: $2.9 million.
You automatically choose $3 million.
But what if the terms differ in closing costs, timing, financing, installment payments, 1031 compatibility, repairs, credits, tax year, or certainty of closing?
The highest gross offer is not always the offer that creates the best after-tax and after-closing result.
Before accepting a major offer, try to understand three numbers:
What is the gross selling price?
How much cash will I actually receive at closing?
How much will I ultimately keep after taxes?
Those numbers can be very different.
How LUNA CPA Helps Real-Estate Investors Before a Sale
At LUNA CPA, we want to be involved before the closing—not after the money has already been wired.
When a client is considering the sale of an investment property, we can help analyze the tax side of the transaction so the owner has a clearer picture of what the sale may actually produce.
Depending on the property and transaction, we can assist with reviewing the property's original cost and adjusted tax basis, reviewing depreciation schedules, identifying documented capital improvements, estimating taxable gain, analyzing depreciation-related tax consequences, reviewing suspended passive losses, preparing federal tax projections, considering the potential Net Investment Income Tax where applicable, evaluating the timing of the sale, discussing 1031 exchange considerations with the client's qualified intermediary and legal professionals, reviewing installment-sale considerations where appropriate, analyzing the tax effect of different proposed selling prices, estimating how much should be reserved for taxes, reviewing entity ownership and how it affects tax reporting, preparing the eventual tax returns reporting the transaction, and coordinating the sale with the rest of the client's businesses, investments, and overall tax situation.
But our goal is not simply to calculate a tax number.
We want to help the owner understand the entire transaction.
That means looking at what the property is selling for, how much debt will be paid off, how much cash is expected at closing, what the estimated taxable gain may be, how much should be reserved for taxes, whether a 1031 exchange or another strategy should be evaluated before closing, and most importantly, what the owner may actually have left once the transaction is complete.
A $3 million sale can sound simple until basis, depreciation, debt, closing costs, and taxes are added to the picture.
That is why we believe significant real-estate transactions should be planned before the documents are signed and the funds are distributed.
At LUNA CPA, we want to help you go into the closing with a much clearer answer to the question that really matters:
“If I sell this property, approximately how much am I actually going to keep?”
That is a much better number to know before the deal closes than after.
Selling a property for $3 million does not mean you made $3 million—and it definitely does not mean $3 million is going into your pocket.
Your basis, depreciation, improvements, debt, selling costs, suspended losses, entity structure, and tax situation can all affect the final result.
Before you sell a significant real-estate investment, call your CPA before the closing—not after it. At LUNA CPA, we want to help you understand the transaction before it becomes permanent so you can make the decision knowing approximately what you will actually keep.
The selling price gets everyone's attention.
The amount you keep is the number that really matters.