Federal Income Tax Treatment and Capital Gains
Not sure you’re ready?
Take the ~3-minute readiness diagnostic and see where you stand.
When a client sits across from you at the closing table, watching the final numbers materialize on the settlement statement, their mind is generally fixed on a single, critical variable: the net proceeds. Real estate is fundamentally physical—glass, steel, timber, and soil—but the moment a transaction concludes, the asset undergoes a phase transition into capital. Understanding the physics of this transition means understanding federal tax law. A salesperson who cannot articulate how the Internal Revenue Service views property isn't fully equipped to advise clients. We must dissect exactly how income is categorized, how gains are measured, and why the tax code treats a primary residence like a vaulted sanctuary.
To the untrained eye, money is just money. But the IRS views income through a prism, refracting it into three distinct spectrums. How a dollar is earned dictates exactly how it will be taxed, and more importantly, how losses can be utilized.
1. Active Income
Active income is money earned through direct participation in a business or trade. It requires the physical or mental expenditure of energy—you are trading your time, skill, or labor for capital.
For you as a real estate salesperson, your livelihood relies entirely on this category. By IRS definitions, wages, salaries, commissions, and tips are all classified as active income. When you close a deal and receive a commission check from your broker, that is active income.
2. Passive Income
Passive income is money earned from enterprises in which the earner does not materially participate. The engine runs whether you are actively turning the crank or not.
In your day-to-day interactions with real estate investors, this is the holy grail. Rental property income is generally classified by the IRS as passive income. If your client buys a duplex in Brooklyn, hires a property manager, and collects a check every month while they sleep, that income is strictly passive.
3. Portfolio Income
Portfolio income is money earned from paper investments. It is the natural byproduct of capital being deployed into financial instruments rather than physical trades or real estate operations.
Under the tax code, dividends, interest earned on investments, and royalties are classified as portfolio income.
The Rule of Loss Containment
Why must a real estate professional understand these three distinct categories? Because of the rules governing financial losses.
Imagine these three income types as separate, sealed buckets. If an investor's rental property operates at a loss for the year (perhaps due to heavy vacancies), they have generated a passive loss. The IRS enforces strict containment: passive losses can generally only be used to offset passive income.
You cannot pour the loss from the passive bucket into the other buckets to reduce your overall tax burden. Therefore, passive losses cannot typically be used to offset active income, nor can passive losses typically be used to offset portfolio income. If your client makes $500,000 a year in active salary as a surgeon, they cannot use a $20,000 passive loss from a rental property to reduce their active taxable income to $480,000. The boundaries remain firmly intact.
When a client buys and later sells a property, we must shift our focus from operational income to the profit generated by the sale itself.
For federal tax purposes, real estate is considered a capital asset. Consequently, a capital gain is defined simply as the profit realized from the sale of a capital asset. But in federal tax law, "profit" is not merely the final sale price minus the original purchase price. The IRS uses a highly specific, chronological formula to determine exactly what slice of the transaction is taxable.
The Timeline of Basis
To calculate a capital gain, you must trace the financial history of the property.
- The Basis: The starting line. The basis of a property is the original purchase price plus acquisition costs (such as title insurance, legal fees, and recording fees).
- Capital Improvements: During ownership, a client will inevitably spend money on the property. We must divide these expenditures into two strictly separate categories: improvements versus repairs.
- A capital improvement is a permanent structural change that enhances the property value or extends the useful life of the property. Adding a new roof, building a deck, or installing central air conditioning are capital improvements.
- Conversely, fixing a leaky faucet or painting a hallway are entirely different. Routine maintenance costs for a primary residence are not tax-deductible, and repair costs for a primary residence are not tax-deductible. They do not enhance value or extend life; they merely return the property to its baseline state.
- The Adjusted Basis: We now recalculate the starting line. The adjusted basis of a property is the original basis plus the cost of capital improvements minus any allowable depreciation. (Note: As we will see shortly, homeowners cannot deduct depreciation on a primary residence, so for a primary home, the depreciation subtraction is zero).

Calculating the Taxable Gain
When the property is finally sold, we look at the closing table.
- The amount realized from a property sale is the final sale price minus the costs of selling the property (such as broker commissions and transfer taxes).
The Ultimate Formula: Taxable capital gain = Amount realized – Adjusted basis
If your client buys a home for $300,000 (basis), adds a $50,000 extension (capital improvement), their adjusted basis is $350,000. If they sell it for $600,000, and pay $40,000 in selling costs, their amount realized is $560,000. The taxable capital gain is therefore $560,000 (amount realized) - $350,000 (adjusted basis) = $210,000.
The IRS rewards patience. The exact duration a client holds a capital asset radically alters the tax rate applied to their gain.
- A short-term capital gain applies to an asset held for exactly one year or less before being sold. If an investor flips a property in 365 days, they trigger a short-term gain. The penalty for speed is steep: short-term capital gains are taxed at the taxpayer's ordinary income tax rate, which is often substantially higher.
- A long-term capital gain applies to an asset held for more than one year before being sold. Because the government wants to incentivize stable, long-term investment in the economy, long-term capital gains are generally taxed at a lower rate than ordinary income.
Advising a client to delay a closing by just two weeks to cross the one-year threshold can occasionally save them tens of thousands of dollars. Time literally dictates the physics of their wealth.

If there is one piece of tax legislation every real estate salesperson must know by heart, it is the Taxpayer Relief Act of 1997.
Before 1997, homeowners had to navigate complex rollover rules, constantly buying more expensive homes to defer the taxes on their capital gains. The Taxpayer Relief Act of 1997 abolished that labyrinth and established the current capital gains exclusion rules for primary residences. It created a massive, tax-free sanctuary for everyday homeowners.
The $250,000 / $500,000 Rule
Under this act, the government simply forgives a massive portion of the profit from the sale of a home.
- A single taxpayer can exclude up to $250,000 of capital gains from the sale of a primary residence.
- Married taxpayers filing jointly can exclude up to $500,000 of capital gains from the sale of a primary residence.
Let's revisit our earlier example where the taxable gain was $210,000. If that client is a single taxpayer and this was their primary residence, that entire $210,000 gain is wiped completely clean from their tax burden. They pay absolutely zero federal capital gains tax on it.
The Two Tests of Eligibility
To prevent real estate flippers from exploiting this sanctuary, the IRS requires taxpayers to pass two strict historical tests to qualify for the capital gains exclusion on a primary residence sale.
- The IRS Ownership Test: The taxpayer must have owned the property for at least two of the five years prior to the sale.
- The IRS Use Test: The taxpayer must have used the property as a primary residence for at least two of the five years prior to the sale.
Here is the brilliant flexibility built into the law: The two years of ownership required for the primary residence capital gains exclusion do not have to be consecutive. Likewise, the two years of primary residence use required for the capital gains exclusion do not have to be consecutive.
If your client lives in a Manhattan condo for Year 1, rents it out for Years 2, 3, and 4, and moves back in for Year 5, they have accumulated two total years of both ownership and use within the five-year window. They pass the tests.
Furthermore, the IRS restricts the frequency of this maneuver. Taxpayers can claim the primary residence capital gains exclusion only once every two years.
Beyond the massive capital gains exclusion at the end of the property's life, the federal government also subsidizes the ongoing, everyday cost of homeownership through specific tax deductions. As an agent, you will frequently use these deductions as selling points to first-time buyers transitioning from renting.
Permitted Deductions
When a client asks, "What can I actually write off on my taxes if I buy this house?" you can confidently point to three major areas:
- Property Taxes: Property taxes paid on a primary residence are generally deductible from federal income taxes.
- Mortgage Interest: The cost of borrowing the money is subsidized. Mortgage interest paid on a loan used to acquire a primary residence is generally deductible from federal income taxes. In the early years of a 30-year fixed-rate mortgage, the vast majority of the monthly payment is interest, making this a profound tax benefit.
- Discount Points: If a buyer pays upfront fees to their lender to lower their interest rate (buying down the rate), these discount points paid to secure a mortgage on a primary residence are generally tax-deductible.
What Cannot Be Deducted
Just as important as knowing what is deductible is knowing where to draw the line.
- We have already established that routine maintenance costs and repair costs for a primary residence are strictly not tax-deductible.
- Finally, while commercial real estate investors utilize depreciation to lower their tax burden on rental properties, the IRS draws a hard boundary for homes you actually live in: homeowners cannot deduct depreciation on a primary residence.
By mastering these rules—from the mechanics of the Taxpayer Relief Act of 1997 to the strict boundaries between active and passive income—you elevate yourself from a mere property matchmaker to a trusted financial fiduciary. You are not just selling square footage; you are guiding your clients through the complex, highly regulated architecture of American wealth.
