Lesson 1
The Principal Residence
The Taxpayer Relief Act of 1997 and the deductions that make owning cheaper than it looks
The Taxpayer Relief Act of 1997
Section 121 and the exclusion on the sale of a principal residence
Start with what this chapter is not. It is not tax advice, and you are not going to give any. Tax law changes every year. Dollar amounts move, brackets move, deadlines move, and the rule that was right for a client last spring can be wrong for the client sitting in front of you now. Your job in every screen that follows is to recognize that a transaction has a tax side, name the issue out loud, and send the client to a tax professional before anybody signs anything.
Everything in this first lesson runs from one federal statute. The Taxpayer Relief Act of 1997 rewrote how the federal government taxes the sale of a home, and it did it by replacing a deferral with an exclusion. Those two words carry the whole idea. A deferral postpones the tax to a later sale. An exclusion forgives it outright. Work out which one you are looking at and most of this screen takes care of itself.
Before 1997, sellers deferred gain only by buying a more expensive home within two years, plus a one-time $125,000 exclusion after age 55. The Taxpayer Relief Act of 1997 replaced both with an exclusion any homeowner can use repeatedly: up to $250,000 of gain on the sale of a principal residence ($500,000 for a married couple filing jointly) is simply not taxed.
Read the old rule again and notice what it cost a seller. Under the rollover, the gain was never forgiven. It rode along into the next house, hidden inside a lower basis, waiting for the day the owner finally sold and did not buy again. A seller who traded up for thirty years carried thirty years of gain into retirement. The 1997 Act ended that arithmetic for most homeowners. Gain that fits inside the exclusion is gone, not parked.
The exclusion is not automatic. Section 121 of the Internal Revenue Code sets a test with two halves and the seller has to pass both. The ownership half asks whether the seller owned the home. The use half asks whether the seller lived in it as a principal residence. Both halves are measured against the same window, the five years ending on the date of sale, and the seller has to satisfy each of them for at least two years somewhere inside that window.
The seller must have owned the home and used it as a principal residence for at least two of the five years before the sale, the two years need not be continuous, and only one spouse must meet the ownership test while both must meet the use test for the $500,000 amount. The exclusion may be used once every two years. A partial exclusion is available for a sale forced by a job change, health, or unforeseen circumstances before the two years are up.
One detail in that rule catches people who think they already know it. The home does not have to be the seller's principal residence on the day of the sale. A seller who moved out a year ago, rented the house for a while and is selling it now can still pass, as long as two years of use sit somewhere inside the five-year window. The question is always the window. It is never the moving date.
The exclusion is also limited by how often it is used. A seller who claimed it on a different home too recently cannot claim it again on this one. That limit is what stops a taxpayer from running a string of short holds and calling each one a principal residence. It is also the first thing to ask a client who mentions, in passing, that he sold a house not long ago.
The Code carries exceptions for sellers pushed out before the time is up. Three categories cover them. A change in place of employment, which the IRS accepts automatically when the new work location is at least 50 miles farther from the home than the old one. Health, which means a move to obtain or provide the diagnosis, cure or treatment of a disease, illness or injury, or to care for someone who has one, including a move closer to a recognized treatment facility or to a climate that eases a condition. And unforeseen circumstances, which the textbook lists as involuntary conversion through eminent domain, disaster, death, cessation of employment, divorce and multiple births.
An exception does not hand the seller the whole exclusion. It hands over a share of it, and the share is a fraction. The numerator is the shortest of three periods, counted in months: the time the seller owned the home, the time the seller lived in it inside the five-year window, and the time since the seller last used the exclusion. The denominator is twenty-four, the number of months in the two-year period. Multiply the exclusion amount by that fraction and the answer is the amount available on this sale. A seller seventeen months in gets seventeen twenty-fourths of it, which on a short hold is often more than enough to swallow the entire gain.
There is a rule for a surviving spouse, and it comes up more often than new agents expect. When one spouse dies, the unmarried survivor may still sell under the joint exclusion amount, provided the couple met the joint ownership and use requirements immediately before the death and the sale happens within two years of it. Two years is a short window for a grieving client who is not thinking about tax at all. An agent who knows the rule exists is the reason that client hears about it in time.
Depreciation is the one thing the exclusion will not cover. A seller who converted part of the house to a home office and depreciated it took a deduction in those years. The exclusion does not reach that depreciation. The Code bars the exclusion from the part of the gain equal to any depreciation allowed or allowable after May 6, 1997, which means depreciation the owner took or was entitled to take. That amount is recaptured and taxed when the home sells. The same is true of a rental or a vacation home the owner depreciated before moving in. The principle underneath it is short. A taxpayer does not get the benefit of the same dollar twice.
A loss on the sale of a personal residence is not deductible at all. The house is a personal asset, and the tax code does not let a taxpayer write off the decline in value of a personal asset. Sellers who took a beating in a soft market ask about this every single time, and the answer does not change. Gain on a home can be excluded. Loss on a home is simply the owner's loss.
The last piece of this screen sits on the buying side. Retirement money is normally locked up, and pulling it out early triggers a penalty on top of the income tax. The Code opens one narrow door for a first-time homebuyer.
A first-time homebuyer, meaning anyone who has had no ownership interest in a main home in the two years before buying, may withdraw up to $10,000 (lifetime) from a traditional IRA for a home purchase without the 10% early-withdrawal penalty; income tax still applies. The money has to be spent on the purchase within 120 days, and the home can be the main home of the IRA owner, a spouse, a child, a grandchild, or a parent or other ancestor. Roth IRA contributions can always be withdrawn tax-free. Once a Roth account has passed its five-year period, up to $10,000 of earnings used for a first home comes out free of both the penalty and the income tax.
Hypothetical. Your buyer is thirty-four, has rented her whole adult life, and is short on the down payment. She has a traditional IRA left over from an old job. The exception may let her reach that money without the early-withdrawal penalty, and it will not save her the income tax on the withdrawal. Say exactly that much and stop. Then send her to her accountant with the question written down. You have named the issue. You have not priced it.
This screen reaches your business more directly than any other in the chapter. Sellers make listing decisions on it. A seller who is a few months short of the two years may be better off waiting, and a seller who moved out three years ago may be running out of window without knowing it. You are often the first person who hears the dates, because you ask how long they have owned the place before you ask anything else. Hear the dates, spot the issue, and route it.
CAUTION: The figures on this screen are federal law as it stands in 2026. The exclusion amounts, the penalty-free IRA figure and the qualifying rules have all been changed before and can be changed again. Have the client's tax professional confirm the rule and the number that apply to the actual sale.
NOTE: The exam tests this rule with a date and a relationship. Two of the last five years of ownership and use, once in any two-year period, one exclusion amount for a single seller and a larger one for a married couple filing jointly. A question that offers five years of ownership, or offers the larger amount to two friends who bought together, is testing whether you read the words around the number.
Own two years, live two years, exclude
REMEMBER: Your seller bought two and a half years ago and moved out last summer for a job upstate. Which half of the test is he relying on, and what is the one date you need from him before you say anything at all?
Deductions for Homeowners
Property taxes, mortgage interest, and where the rest of the money goes
Two tools show up all through this chapter and students mix them up all the way to the exam. A deduction reduces the income the tax is computed on. A credit reduces the tax itself, dollar for dollar. A thousand dollars of deduction saves the taxpayer whatever their rate happens to be. A thousand dollars of credit saves a thousand dollars. Homeowner tax breaks are almost all deductions. Keep the two words apart now and the low-income housing screen at the end of this chapter will be easy.
The homeowner deductions exist on purpose. Congress wrote several provisions into the tax code to encourage home ownership, and the textbook groups them into four. Property taxes paid are deductible for a taxpayer who itemizes. Interest paid on a mortgage is deductible. Interest paid on a home equity loan used to improve the property is deductible. And retirement money can be reached for a first home without the early-withdrawal penalty. Those four are the shape of the subject, and the rest of this screen is the detail inside the first three.
A homeowner deduction is also worth nothing until it is itemized. Every taxpayer gets a choice between a standard deduction and the total of their itemized deductions, and they take whichever is larger. A homeowner whose mortgage interest and property taxes add up to less than the standard deduction gets no benefit from either one. That is not a technicality. It is the reason a client can buy a house, pay property taxes all year, and see no change at all on the return.
Property taxes come first because every homeowner pays them and every homeowner asks about them. Paid property taxes are deductible if the taxpayer itemizes. What has changed, and changed recently, is how much of the total a taxpayer is allowed to count.
State and local taxes, meaning property tax plus either income tax or sales tax, are deductible by itemizers up to a combined cap. The 2017 Tax Cuts and Jobs Act created the cap. The 2025 reconciliation act, Public Law 119-21, raised it to $40,000 for 2025 and $40,400 for 2026, and it rises one percent a year through 2029. In 2030 it drops back to $10,000. Married taxpayers filing separately get half. Higher earners lose part of the cap: it shrinks by 30% of modified adjusted gross income above $505,000 for 2026 ($500,000 for 2025), but never below $10,000. In high-tax New York suburbs the cap, not the tax bill, often limits the benefit.
New York gives that limit more work than almost any other state. A Westchester or Nassau homeowner pays property tax and New York income tax, and the two together can run past the cap. A high earner is hit twice, because the phase-down can shrink the cap all the way to the floor. The practical result is that the deduction stops scaling with the tax bill. Two clients with very different tax bills can end up with the same deduction. When a buyer asks you what the tax write-off will be worth, that is the point at which you hand the question to an accountant.
Mortgage interest is the other large one, and it is defined by what the borrowed money did. Home acquisition debt is a mortgage a taxpayer takes out to buy, build or substantially improve a qualified home. The loan has to be secured by that home. Two conditions, both required. A loan secured by the house that paid for a boat is not acquisition debt. A loan that paid for an addition but is secured by some other property is not acquisition debt either. What the lender calls the product decides nothing.
Interest on acquisition debt, money borrowed to buy, build or substantially improve a first or second home, is deductible on up to $750,000 of debt ($375,000 married filing separately) for loans taken after December 15, 2017. Loans taken on or before that date keep the older $1,000,000 limit ($500,000 married filing separately), and a refinance of one keeps it up to the balance refinanced. The 2017 Act set these rules to expire after 2025; Public Law 119-21 made them permanent. Interest on a home-equity loan or HELOC is deductible only if the proceeds buy, build or substantially improve the home that secures it; interest on equity borrowed to pay off credit cards or buy a car is not.
Tracing is the skill inside that paragraph. The tax treatment follows the money, not the name on the note. A home equity line drawn to build a dormer is acquisition debt because the dollars went into the home that secures the loan. The same line drawn to pay off a credit card is not, because the dollars went somewhere else. One borrower, one loan, two different answers depending entirely on where the money landed.
Refinancing sits in the same logic. Interest on a refinanced loan stays deductible when the new loan replaces the previous one with an amount equal to or less than the previous loan. That is the clean case and most refinances are the clean case. The moment a borrower takes cash out, the new dollars have to be traced like any other borrowing, and the answer depends on where the cash went and nowhere else.
Second homes and vacation homes get the same two deductions the first home gets, with one extra rule sitting on top. That rule turns on a day count, and the count belongs to the owner.
A second home shares the acquisition-debt limit with the first. If it is rented fewer than 15 days a year the rent is tax-free and the home is treated purely as a residence; rented more, and personal use exceeding the greater of 14 days or 10% of rental days makes it a mixed-use property whose expenses are allocated and whose losses are limited. The $250,000/$500,000 exclusion never applies to a home that was not the principal residence.
Work the mechanism rather than the number. Rent a second home for a short enough stretch and the tax code ignores the rental entirely. The income is not reported. Property taxes and mortgage interest are still deducted the way they would be on any second home. Cross the line and three things happen at once. The rent becomes taxable income. The operating expenses become deductible. And every expense has to be allocated between the days of personal use and the days of rental use.
New York has a lot of owners standing on that line. A house near the beach rented for a season. A cabin upstate rented for a few weekends in the fall. A second home rented to visitors during a festival week. Most of those owners have never heard of the day count. You are not the person who counts their days and you are not the person who files their return. You are the person who tells them the count exists before they list.
Allocation is the mechanism doing the work once the line is crossed, and it is simple division. Count the days of personal use. Count the days of rental use. Split every expense that serves both, the taxes, the interest, the insurance, the utilities, the repairs, in the same proportion. The rental share becomes a rental expense. The personal share stays personal and follows the personal rules. Losses from the rental side are limited when personal use is heavy, which is the point of the limit.
One more limit belongs on this screen. The principal residence exclusion from the last screen never applies to a home that was not the seller's principal residence. A vacation house is not rescued by being lovely and long-held. A rental is not rescued by having been in the family. If it fails the ownership and use test, the gain is taxable gain.
Conversions run in both directions and both of them raise questions above your pay grade. An owner who moves into a former rental has a property with depreciation already taken against it. An owner who moves out and rents the old house starts depreciating it and starts the clock on the ownership and use window at the same time. Neither client should hear an answer from you. Both should hear that the conversion has a tax consequence and that the consequence is worth a phone call before the moving truck.
That leaves the costs homeowners assume are deductible and are not.
Homeowners insurance, principal payments, utilities, repairs and improvements on a personal residence, and closing costs other than points are not deductible, improvements instead add to basis, which reduces the gain at sale. Tell clients you are not a tax advisor and point them to a CPA; the DOS syllabus expects you to recognize the issues, not resolve them.
Notice where that money actually goes. A new roof on a personal residence buys no deduction this year. It adds to basis. Basis is the number subtracted from the sale price, less the costs of selling, when the house sells, so a larger basis produces a smaller gain and a smaller tax on the sale. The money is not lost. It is postponed, sometimes for decades. That is exactly why the receipts matter, and it is why the next lesson is about basis.
Hypothetical. Your seller tells you he spent a fortune on the house over eighteen years and wants to know what he can write off. Nothing, this year, on a personal residence. The roof, the boiler, the kitchen and the deck were never deductions. They were additions to basis, and basis is about to do its work in one shot when the house sells. Ask him whether he kept the invoices. If the answer is no, that is a conversation for his accountant today and not on the day of the closing.
There is a selling habit to break before you pick it up. New agents like to quantify the tax benefit of owning. They tell a buyer the write-off will cover a piece of the payment, and they do the arithmetic out loud at the kitchen table. Do not do it. You do not know the buyer's filing status, you do not know whether they will itemize, you do not know their rate, and you do not know what Congress will do to any of these figures in the years the buyer holds the house.
The safe version of the same conversation is shorter and it is honest. Owning a home carries tax benefits, the main ones are the property tax and mortgage interest deductions, the benefit depends entirely on the buyer's own return, and their accountant can run the numbers in an afternoon. That sentence sells just as well as the wrong one and it does not put your license behind a figure you invented at a kitchen table.
CAUTION: The figures on this screen are federal law as it stands in 2026. The state and local tax cap changes every year through 2029 and drops back in 2030 under the statute itself. The acquisition debt limit and the home equity rule are now permanent, which means they stay until Congress changes them again. Do not quote a number to a client. Name the rule, and have their tax professional confirm the figure for the year of the transaction.
NOTE: The trap is the home equity loan. The exam will offer a home equity loan or a line of credit and ask whether the interest is deductible. The answer is never yes or no on its own. It depends on what the proceeds paid for and whether the loan is secured by the home the proceeds improved.
Trace the dollars, not the loan name
REMEMBER: A client tells you she pulled fifty thousand out of her house last year. What is the only question you need to ask before you have any idea how the interest is treated?
