Skip to content
← Knowledge BaseSeller playbook

IRC §121 Primary Residence Exclusion

IRC §121 Primary Residence Exclusion

Overview

IRC §121 is the most valuable tax benefit available to residential property sellers, allowing exclusion of up to $250,000 (single) or $500,000 (married filing jointly) of capital gain on the sale of a primary residence. In New York City, where property appreciation routinely generates six- and seven-figure gains, understanding the precise qualification requirements can mean the difference between owing nothing and owing hundreds of thousands in taxes.

The core requirement is straightforward: you must have owned and used the property as your principal residence for at least two of the five years before selling. But the details - partial exclusions, rental conversion rules, co-op qualification, and the nonqualified use fraction - introduce complexity that requires careful planning, particularly for sellers who converted investment properties to primary residences or who have not met the full two-year threshold.

Botway does not provide tax advice. This article is for general educational purposes only. Tax outcomes depend on ownership history, use of the property, adjusted basis, depreciation, filing status, timing, and other facts. Consult a qualified CPA or tax advisor before making tax-related decisions.

Key Strategy

The two-of-five-year rule is more flexible than most sellers realize. The two years of ownership and use do not need to be continuous - they just need to total 24 months within the five-year lookback period. You can only claim the exclusion once every two years.

Partial exclusions are available when you do not meet the full requirement. If you sell before hitting two years due to a job relocation, health reasons, or unforeseen circumstances, you qualify for a prorated exclusion. The calculation is simple: days of qualifying use divided by 730, multiplied by the maximum exclusion amount.

Rental conversion creates a nonqualified use fraction that reduces your exclusion. If you rented the property before converting it to a primary residence, the rental period (post-2008) reduces the excludable gain proportionally. However, nonqualified use occurring after the last date of primary residence use does not count against you - creating a planning opportunity for sellers converting rental properties.

What To Do

Verify that you meet the two-of-five-year ownership and use tests before listing. Count total days of primary residence use within the five-year lookback period - you need at least 730 days.

If you are close to the two-year threshold but have not met it, consider whether delaying the sale by a few months would qualify you for the full exclusion. The tax savings can be worth the additional carrying costs.

If you converted an investment property to a primary residence, work with your CPA to calculate the nonqualified use fraction and determine what portion of your gain is excludable.

For co-op shareholders, confirm that your proprietary lease and share certificate establish ownership for §121 purposes. Stock cooperative housing qualifies - the IRS treats co-op ownership as meeting the ownership test.

Common Mistakes

Selling a few weeks before hitting the two-year use threshold, losing the entire exclusion over a minor timing miscalculation. Always verify your exact day count before listing.

Assuming the exclusion eliminates all tax liability on large gains. If your gain exceeds $250,000 (single) or $500,000 (married filing jointly), the excess is taxable at full capital gains rates.

Ignoring the nonqualified use fraction when converting a rental property to a primary residence. The rental period reduces your excludable amount - sometimes significantly.

Attempting to claim the exclusion within two years of a prior claim. You can only use §121 once every two years, regardless of how many properties you own.

Frequently Asked Questions

Can I avoid capital gains tax on my primary residence?

Yes - IRC §121 lets you exclude up to $250,000 (single) or $500,000 (married filing jointly) of capital gain on your primary residence. You must have owned and lived in the property as your principal home for at least two of the five years before selling. This applies to NYC co-ops, condos, and houses. You can only use this exclusion once every two years. Consult a tax professional for your specific situation.

What is the two of five year rule for home sale tax exclusion?

To qualify for the IRC §121 capital gains exclusion, you must have owned and used the home as your primary residence for at least two of the five years before the sale date. The two years do not need to be continuous - they just need to total 24 months within the lookback period. If you do not meet the full requirement, you may still qualify for a partial exclusion due to job relocation, health, or unforeseen circumstances.

Can I use the Section 121 exclusion on my NYC co-op?

Yes. The IRC §121 exclusion applies to any property that qualifies as your principal residence, including co-op apartments. Co-op shares represent your ownership interest in a housing cooperative, and the IRS treats them as qualifying property for the exclusion. You must meet the same two-of-five-year ownership and use requirements that apply to condos or houses.

What if my gain exceeds the $250,000 or $500,000 exclusion limit?

You pay capital gains tax only on the amount above the excluded threshold. For example, if you are a single filer with a $600,000 gain, you exclude $250,000 and pay federal and state capital gains tax on the remaining $350,000. In NYC, the combined federal, state, and city tax on that excess could reach 30-35%. This is common for long-held NYC apartments with significant appreciation over decades of ownership.


This article provides general educational information only. It is not legal, tax, financial, insurance, compliance, housing, brokerage, or professional advice. Rules, tax rates, obligations, enforcement practices, and market conditions vary by property, building, contract, municipality, and jurisdiction, and they change. Sellers should consult a qualified attorney, CPA, or other appropriate professional before making decisions based on their specific situation.

This is general information, not legal, tax or accounting advice. Every situation is different. Talk to a licensed attorney, accountant or tax professional before you act.

List for free, or go full service for 1%.

Use this playbook yourself, or let us run pricing, marketing and negotiation.