Professional Documents
Culture Documents
Publication 523, Selling Your Home (2021)
Publication 523, Selling Your Home (2021)
Publication 523, Selling Your Home (2021)
Selling
Does Your Home Sale Qualify for the Exclusion
of Gain? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Eligibility Test . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Future Developments
For the latest information about developments related to
Pub. 523, such as legislation enacted after it was
published, go to IRS.gov/Pub523.
Reminders
Photographs of missing children. The IRS is a proud
partner with the National Center for Missing & Exploited
Children® (NCMEC). Photographs of missing children se-
lected by the Center may appear in this publication on pa-
ges that would otherwise be blank. You can help bring
these children home by looking at the photographs and
calling 800-THE-LOST (800-843-5678) if you recognize a
child.
Special rules for capital gains invested in Qualified
Opportunity Funds. Effective December 22, 2017, sec-
tion 1400Z-2 provides a temporary deferral of inclusion in
gross income for capital gains invested in Qualified Op-
portunity Funds, and permanent exclusion of capital gains
from the sale or exchange of an investment in the Quali-
fied Opportunity Fund if the investment is held for at least
10 years. For more information, see the Instructions for
Get forms and other information faster and easier at: Form 8949.
• IRS.gov (English) • IRS.gov/Korean (한국어) Extension of the exclusion of canceled or forgiven
• IRS.gov/Spanish (Español) • IRS.gov/Russian (Pусский)
• IRS.gov/Chinese (中文)
mortgage debt from income. The exclusion of income
• IRS.gov/Vietnamese (Tiếng Việt)
for mortgage debt canceled or forgiven was extended
This publication explains the tax rules that apply when you 936 Home Mortgage Interest Deduction
sell or otherwise give up ownership of a home. If you meet
936
certain conditions, you may exclude the first $250,000 of 4681 Canceled Debts, Foreclosures,
Repossessions, and Abandonments
4681
gain from the sale of your home from your income and
avoid paying taxes on it. The exclusion is increased to
Form (and Instructions)
$500,000 for a married couple filing jointly.
This publication also has worksheets for calculations Schedule A (Form 1040) Itemized Deductions
relating to the sale of your home. It will show you how to:
Schedule A (Form 1040)
2. Figure how much of any gain is taxable, and 982 Reduction of Tax Attributes Due to Discharge of
Indebtedness (and Section 1082 Basis
982
FormComments. Or, you can write to the Internal Reve- 1040-SR U.S. Income Tax Return for Seniors
1040-SR
nue Service, Tax Forms and Publications, 1111 Constitu- 1099-S Proceeds From Real Estate Transactions
tion Ave. NW, IR-6526, Washington, DC 20224.
1099-S
Although we can’t respond individually to each com- 4797 Sales of Business Property
4797
ment received, we do appreciate your feedback and will 5405 Repayment of the First-Time Homebuyer
consider your comments and suggestions as we revise Credit
5405
Getting answers to your tax questions. If you have 8828 Recapture of Federal Mortgage Subsidy
a tax question not answered by this publication or the How
8828
To Get Tax Help section at the end of this publication, go 8949 Sales and Other Dispositions of Capital Assets
8949
to the IRS Interactive Tax Assistant page at IRS.gov/ W-2 Wage and Tax Statement
Help/ITA where you can find topics by using the search
W-2
feature or viewing the categories listed. W-7 Application for IRS Individual Taxpayer
Identification Number
W-7
2. Child (including adopted child, eligible foster • The situation causing the sale arose during the time
child, and stepchild), grandchild; you owned and used your property as your residence.
3. Brother, sister, stepbrother, stepsister, half • You sold your home not long after the situation arose.
brother, half sister; • You couldn’t have reasonably anticipated the situation
when you bought the home.
4. Mother-in-law, father-in-law, brother-in-law, sis-
ter-in-law, son-in-law, daughter-in-law; • You began to experience significant financial difficulty
maintaining the home.
5. Uncle, aunt, nephew, or niece.
• A doctor recommended a change in residence for you • The home became significantly less suitable as a
main home for you and your family for a specific rea-
because you were experiencing a health problem.
son.
• The above is true of your spouse, a co-owner of the
home, or anyone else for whom the home was his or
her residence.
C) Your exclusion limit is $___________. Unless you have taxable gain from business or rental use (see Business
or Rental Use of Home), only gain in excess of this amount is taxable.
Selling price
Figuring Gain or Loss − Selling expenses
Amount realized
To figure the gain or loss on the sale of your main home, − Adjusted basis
you must know the selling price, the amount realized, and Gain or loss
the adjusted basis. Subtract the adjusted basis from the
amount realized to get your gain or loss. A positive number indicates a gain; a negative number
indicates a loss.
Home Inherited
Home acquired from a decedent who died before or
after 2010. If you inherited your home from a decedent
who died before or after 2010, your basis is the fair market
value of the property on the date of the decedent's death
(or the later alternate valuation date chosen by the per-
sonal representative of the estate). If an estate tax return
was filed or required to be filed, the value of the property
other than the gain that you may have received from your
Reporting Your Home Sale home sale.
This section also covers special circumstances that ap-
This section tells you how to report taxable gain, take de- ply to some home sellers.
ductions relating to your home sale, and report income
IRS social media. Go to IRS.gov/SocialMedia to see the • Make a payment or view 5 years of payment history
various social media tools the IRS uses to share the latest and any pending or scheduled payments.
information on tax changes, scam alerts, initiatives, prod- • Access your tax records, including key data from your
ucts, and services. At the IRS, privacy and security are most recent tax return, your EIP amounts, and tran-
our highest priority. We use these tools to share public in- scripts.
formation with you. Don’t post your social security number
(SSN) or other confidential information on social media
• View digital copies of select notices from the IRS.
sites. Always protect your identity when using any social • Approve or reject authorization requests from tax pro-
networking site. fessionals.
The following IRS YouTube channels provide short, in- • View your address on file or manage your communi-
formative videos on various tax-related topics in English, cation preferences.
Spanish, and ASL.
• Youtube.com/irsvideos. Tax Pro Account. This tool lets your tax professional
submit an authorization request to access your individual
• Youtube.com/irsvideosmultilingua. taxpayer IRS online account. For more information, go to
• Youtube.com/irsvideosASL. IRS.gov/TaxProAccount.
Watching IRS videos. The IRS Video portal Using direct deposit. The fastest way to receive a tax
(IRSVideos.gov) contains video and audio presentations refund is to file electronically and choose direct deposit,
for individuals, small businesses, and tax professionals. which securely and electronically transfers your refund di-
rectly into your financial account. Direct deposit also
Online tax information in other languages. You can avoids the possibility that your check could be lost, stolen,
find information on IRS.gov/MyLanguage if English isn’t or returned undeliverable to the IRS. Eight in 10 taxpayers
your native language. use direct deposit to receive their refunds. If you don’t
have a bank account, go to IRS.gov/DirectDeposit for
Free Over-the-Phone Interpreter (OPI) Service. The more information on where to find a bank or credit union
IRS is committed to serving our multilingual customers by that can open an account online.
offering OPI services. The OPI service is a federally fun-
ded program and is available at Taxpayer Assistance Getting a transcript of your return. The quickest way
Centers (TACs), other IRS offices, and every VITA/TCE to get a copy of your tax transcript is to go to IRS.gov/
return site. OPI service is accessible in more than 350 lan- Transcripts. Click on either “Get Transcript Online” or “Get
guages. Transcript by Mail” to order a free copy of your transcript.
If you prefer, you can order your transcript by calling
Accessibility Helpline available for taxpayers with 800-908-9946.
disabilities. Taxpayers who need information about ac-
cessibility services can call 833-690-0598. The Accessi- Reporting and resolving your tax-related identity
bility Helpline can answer questions related to current and theft issues.
future accessibility products and services available in al-
ternative media formats (for example, braille, large print,
• Tax-related identity theft happens when someone
steals your personal information to commit tax fraud.
audio, etc.).
The Taxpayer Bill of Rights describes 10 basic rights that How Else Does TAS Help Taxpayers?
all taxpayers have when dealing with the IRS. Go to
TaxpayerAdvocate.IRS.gov to help you understand what TAS works to resolve large-scale problems that affect
these rights mean to you and how they apply. These are many taxpayers. If you know of one of these broad issues,
your rights. Know them. Use them. report it to them at IRS.gov/SAMS.
Exclusion of gain 3
A N
Armed Service Members 4 Nonresident or resident alien 16
Assistance (See Tax help) F
Automatic disqualification 3 Federal mortgage subsidies 17
Away from home 3 First-time homebuyer tax credit 17
Form 8949 16 O
Future developments 1 Ownership 3
Ownership requirement 3
B
Basis adjustments:
Adjusted basis 8 G
Business use of home 13 Gain or loss 7 P
Exclusion of gain 3 Paying back credits 17
Paying back subsidies 17
Peace Corps Members 4
C Publications (See Tax help)
Capital Gains: H
Qualified Opportunity Funds 1 Home acquired through a trade 9
Closing costs 8 Home inherited 10
Community property: Home received as gift 10 R
Basis determination 10 Home sale: Remodeling 9
Condemnation: Reporting requirements 15 Rental use of home 13
Basis 9 Houseboat: Repairs 9
Sale price 9 As main home 3 Reporting home sale deductions 16
Condominium: Reporting other income related to home
As main home 3 sale 17
Cooperative apartment: Reporting taxable gain or loss 16
As main home 3 I Residence 3
Improvements 8 Residence requirement 3
Inheritance:
Home received as 10
D Installment sale 16
Death of Spouse 4 Interest reporting 16 S
Depreciation: Seller costs 8
Home used for business or rental Settlement fees 8
purposes 14 Spouse:
Destruction: L Death of (See Surviving spouse)
Basis 9 Look-back requirement 3 Surviving spouse:
Sale price 9 Look-back requirement exceptions 4 Basis determination 10
Disability:
Mentally disabled 3
Physically disabled 3
Divorce 10 M T
Main home: Taxable gain 14
Defined 3 Tax help 17
Factors used to determine 3 Transfer of home 2
E Missing children, photographs of 1
Eligibility test 3 Mobile home:
Energy: As main home 3
Credit 9 More than one home 3 W
Subsidies 9 Widowed Taxpayers 4
exclusion of canceled or forgiven mortgage
debt 1