Sell a House

    Opportunity Zone Capital Gains in Real Estate, Explained

    Opportunity Zone funds let sellers defer capital gains and, after a 10-year hold, exclude the fund's appreciation. Here is how OZ 2.0 works, how it compares to a 1031 exchange, and why it is a poor fit for most ordinary home sellers.

    facebook iconTwitter iconLinkedin iconReddit icon
    Add as preferred source on Google
    • What it does: Reinvesting a capital gain into a Qualified Opportunity Fund lets you defer tax on that gain, and if you hold the fund for 10 years, the fund's own appreciation comes out federally tax free.
    • The program is now permanent: The One Big Beautiful Bill Act made Opportunity Zones a permanent part of the tax code, with new "OZ 2.0" rules applying to investments made after December 31, 2026.
    • OZ 2.0 changes the clock: A rolling five-year deferral replaces the old fixed date, a flat 10% basis step-up kicks in at year five, and rural funds get a 30% step-up.
    • It is not a 1031 exchange: You reinvest only the gain (not the whole sale price), you can use gains from stocks and other assets, and the long hold is the price of the biggest benefit.
    • Honest counterpoint: OZ funds are illiquid, carry real development and sponsor risk, and are a poor fit for most ordinary home sellers. Chase the project, not the tax break.

    What a Qualified Opportunity Zone actually is

    A Qualified Opportunity Zone is a census tract that a state nominated and the U.S. Treasury certified as economically distressed. According to the IRS Opportunity Zones FAQ, these are low-income communities where new investment, under certain conditions, can qualify for preferential tax treatment. The program was created by the 2017 Tax Cuts and Jobs Act and codified in Internal Revenue Code Section 1400Z-2.

    Here is the part sellers get wrong: you do not invest in a zone directly, and you do not need to live, work, or own a business in one. You invest through a Qualified Opportunity Fund (QOF), which is a corporation or partnership organized to hold Opportunity Zone property. Per the IRS rules on certifying a QOF, the fund must hold at least 90% of its assets in qualifying zone property, tested twice a year. The fund self-certifies by filing Form 8996.

    The reason a seller cares is simple. When you sell an appreciated rental, a piece of land, or a property you converted out of personal use, you trigger a capital gain. Instead of writing a check to the IRS, you can roll that gain into a QOF and change when, and how much, you ever pay.

    180
    Days from the sale to reinvest the gain into a QOF (IRS)
    10 yrs
    Hold required to exclude the fund's appreciation (IRS)
    90%
    Share of fund assets that must sit in zone property (IRS)
    23.8%
    Top federal rate on long-term gains, 20% plus the 3.8% NIIT (IRS)

    How the tax benefits work: defer, reduce, exclude

    The Opportunity Zone incentive stacks three distinct benefits. Understanding which one you are actually buying matters, because two of the three have shrunk since the program launched.

    1. Deferral

    Roll an eligible capital gain into a QOF within 180 days of the sale and you postpone paying federal tax on that gain. You report the election on Form 8949 and track it annually on Form 8997. This is the short-term benefit, and it is real money kept working instead of handed over at closing.

    2. Reduction (the basis step-up)

    Hold the investment long enough and a slice of the deferred gain is permanently wiped out through a basis step-up. Under the original program, that step-up reached 15% at a seven-year hold, but those deadlines have passed. Under the new rules, the step-up is a flat 10% at five years, with a larger step-up reserved for rural funds (more on that below).

    3. Exclusion (the 10-year payoff)

    This is the benefit worth structuring your life around. If you hold the QOF interest for at least 10 years, you can elect to step your basis up to fair market value on the date you sell. The practical result: all of the appreciation generated inside the fund comes out with zero federal capital gains tax. There is also no depreciation recapture on the sale of the zone property itself.

    Two different gains, two different treatments: The exclusion only applies to the fund's own growth. Your original deferred gain still gets recognized and taxed on schedule, regardless of how the fund performs. People conflate these constantly and get an ugly surprise.

    If you want the broader menu of ways to reduce a property tax bill before you ever reach for an OZ fund, start with our guide on how to save on real estate capital gains taxes, then come back to decide whether this strategy belongs in your plan.

    OZ 1.0 vs OZ 2.0: the December 31, 2026 line in the sand

    The 2025 tax law known as the One Big Beautiful Bill Act made Opportunity Zones permanent, ending the original 2047 sunset. It also split the program into two versions divided by a single date. Investments made on or before December 31, 2026 follow the original "OZ 1.0" rules. Investments made on or after January 1, 2027 follow the enhanced "OZ 2.0" framework, which arrives alongside a brand new map of zones.

    Two features change the most. First, deferral stops being a single fixed date that applied to everyone at once. Under OZ 2.0, each investor gets a rolling five-year deferral measured from their own investment date, so the deferred gain is recognized on the earlier of a sale or the fifth anniversary of the investment. Second, the basis step-up is simplified to a flat 10% at the five-year mark, replacing the old tiered ladder, and the 10-year exclusion continues with a rolling 30-year outer cap instead of a hard calendar sunset.

    FeatureOZ 1.0 (through Dec 31, 2026)OZ 2.0 (from Jan 1, 2027)
    Gain deferralFixed: deferred gains recognized Dec 31, 2026Rolling 5 years from each investment's own date
    Basis step-upOld 10%/15% ladder, deadlines now expiredFlat 10% at 5 years (30% for rural funds)
    10-year exclusionAvailable, basis steps to fair market valueAvailable, with a rolling 30-year FMV cap
    Zone map2018 tracts, expire Dec 31, 2028New decennial map, effective Jan 1, 2027
    Program statusExpiring frameworkPermanent

    The 2026 tax cliff that applies even if you never touch OZ 2.0

    If you already deferred a gain under the original rules and still hold that QOF interest, that deferred gain becomes taxable on your 2026 return. This happens whether or not you still hold the investment and whether or not the fund performed well. If you are in that position, this is a 2026 planning item right now, not a someday item. Note too that gains deferred under OZ 1.0 cannot be rolled into OZ 2.0 to restart the clock.

    The 2026 "dead zone": A gain invested during calendar 2026 gets essentially no deferral runway, since OZ 1.0 recognition lands on December 31, 2026 anyway. That has pushed many sellers to either invest before 2026 closes or wait for the clean five-year clock that starts January 1, 2027. The 10-year exclusion still works in both windows.

    Selling appreciated property and weighing your options?

    A top local agent who closes investment deals can help you time the sale, price the asset right, and loop in the tax pros before your gain is locked in.

    Match with a top agent

    New under OZ 2.0: rural funds and bigger step-ups

    OZ 2.0 adds a dedicated incentive for rural investment. A Qualified Rural Opportunity Fund carries a 30% basis step-up at the five-year hold, three times the 10% standard-fund step-up. The law also eases the development math in rural areas: the substantial improvement threshold drops, so a sponsor rehabbing a used building has to spend relatively less to qualify the property. The National Association of Realtors notes that the redesignated OZ 2.0 map must include a meaningful share of rural tracts, which is a deliberate push to spread the capital beyond the urban deals that dominated the first round.

    A larger step-up sounds like free money, and it does shave the deferred gain further. But a 30% reduction on the portion you will eventually pay is still a smaller lever than the 10-year full exclusion on the fund's growth. Do not let the rural bonus talk you into a weak project in a thin market. If land is your asset, our breakdown of how selling vacant land differs from selling a house will help you value the thing you are actually giving up.

    Opportunity Zone fund vs 1031 exchange

    For a seller deciding where to park a gain, the real contest is usually OZ fund versus a 1031 like-kind exchange. They solve the same problem (defer tax) in very different ways, and one is not strictly better than the other.

    FeatureQualified Opportunity Fund1031 Exchange
    What you reinvestOnly the gainThe full net sale proceeds
    Eligible gainsStocks, business sales, real estate, moreReal property held for business or investment only
    Replacement window180 days to invest the gain45 days to identify, 180 days to close
    Deferral lengthRolling 5 years under OZ 2.0, then recognizedIndefinite while you keep exchanging
    Can the deferred tax ever vanish?No, the original gain is still taxedYes, via step-up at death
    Appreciation after you investTax free after a 10-year holdTaxable when you finally sell without exchanging
    ControlUsually a passive LP in a sponsor's fundYou own and control the replacement property

    The headline difference: a 1031 makes you reinvest the entire proceeds and stay in real estate, while an OZ fund only asks for the gain and accepts gains from almost any asset class. If you sold Apple stock or a business, a 1031 is off the table but a QOF is open. On the other hand, a 1031 can defer tax forever if you keep exchanging and then pass the property to heirs, who get a stepped-up basis. The OZ fund never erases your original deferred gain, only the fund's future growth.

    There is no rule against using both over time, and sophisticated investors sometimes pair strategies. If you think a like-kind swap fits your situation better, read our step-by-step on how to do a 1031 exchange before you commit either way. And if your gain is coming from a short-term rental, check the recapture traps in our guide to selling a house that was an Airbnb.

    Pay now vs 1031 vs QOF calculator

    This tool compares the after-tax outcome of three paths for the same capital gain over a long hold: pay the tax now and invest what is left, defer through a 1031 exchange, or roll the gain into a QOF and hold 10 years for the appreciation exclusion. Change the inputs to match your gain and bracket.

    Compare after-tax proceeds on a long hold

    Enter your gain, your combined capital gains tax rate, an assumed annual return, and a holding period. The result tiles update as you type.

    $661,785
    Pay tax now, invest the rest
    $749,485
    1031 exchange, sold at end of hold
    $864,576
    QOF, 10-year exclusion
    $202,791
    QOF advantage vs paying now

    Estimate for education only. It assumes you pay the deferred gain tax out of the proceeds, ignores state taxes, fees, depreciation recapture nuances, and the real risk that a fund underperforms or loses money. Confirm your numbers with a tax professional.

    The gap you see is driven almost entirely by that 10-year exclusion. Take it away (shorten the hold below 10 years) and the QOF edge collapses toward the 1031 line, because you are left with deferral only. That is the whole point: the OZ strategy earns its keep on patience, not on paperwork.

    The honest counterpoint: why this is not for most sellers

    The brochures lead with the tax-free appreciation and bury everything else. Here is the everything else.

    • Your money is locked up for a decade. Most QOFs are built with 10-plus-year lock-ups to match the exclusion benefit. Exit early and you forfeit the payoff and may owe penalties. If you might need the cash, this is the wrong vehicle.
    • It is a real development bet. Most funds build or substantially rehab property in distressed areas. Ground-up construction in a thin market can run over budget, lease up slowly, or fail. A tax break on a money-losing deal is still a money-losing deal.
    • Sponsor risk is concentrated. You are usually a passive limited partner trusting one manager's underwriting, fees, and track record. Weak sponsors exist, and the compliance rules (the 90% asset test, substantial improvement, annual filings) leave room for mistakes that cost investors their benefits.
    • You still owe tax on the original gain. Deferral is not forgiveness. Under OZ 2.0 the deferred gain comes due at year five, and you need cash to pay it, often from outside the fund.
    • If you sold your primary home, you probably do not need this at all. The Section 121 exclusion already shields up to $250,000 of gain (single) or $500,000 (married filing jointly) on a qualifying home sale. Many homeowners owe nothing. See our guide on capital gains on a second home sale before assuming you have a problem to solve.

    Put bluntly: Opportunity Zone funds are an accredited-investor product for people with large gains, long time horizons, and the appetite to lose the principal if the project goes sideways. For the typical homeowner cashing out, the tax is usually manageable through simpler, cheaper tools.

    Who this is actually for, and the steps to do it right

    A fit: the land seller with a $1.2M gain

    You bought raw acreage years ago, a builder is paying top dollar, and you face a seven-figure gain across federal and state. You have other income, no near-term need for the cash, and you want real estate exposure. A QOF with a credible sponsor and a project you would invest in on its own merits can defer the gain and, after 10 years, deliver the appreciation tax free.

    Not a fit: the retiring landlord who needs income

    You are selling your last rental to fund retirement and want steady cash flow now. Locking the proceeds into an illiquid 10-year development fund works against everything you need. A 1031 into a cash-flowing property, an installment sale, or simply paying the tax and investing conservatively likely serves you better.

    1

    Confirm the gain is eligible

    It must be a capital gain, and the clock starts at the sale. You generally have 180 days to invest; special rules apply to gains flowing through a partnership K-1.

    2

    Decide the 2026 vs 2027 timing

    Weigh the OZ 1.0 cliff against the clean five-year clock that starts January 1, 2027. A tax advisor should run both.

    3

    Vet the fund like any private deal

    Underwrite the sponsor, the fees, the project pipeline, and the exit plan. Verify the fund is properly certified and holds the required 90% in zone property.

    4

    Plan to pay the deferred gain

    Set aside cash for the year-five recognition. Do not assume the fund will distribute enough to cover it.

    5

    File the paperwork every year

    Elect deferral on Form 8949 and report the investment annually on Form 8997. Miss a filing and you risk the benefits.

    Because many investors hold rentals and fund interests inside entities, it is worth reading our investor guide on whether to put property in an LLC as you structure the sale and the reinvestment.

    Get the sale right before you chase the tax break

    The biggest dollars are usually in the sale price, not the deferral. A performance-matched listing agent helps you net more at closing so there is more gain to put to work.

    Find your agent now

    Frequently asked questions

    Do I have to reinvest all my sale proceeds like a 1031 exchange?+

    No. With a Qualified Opportunity Fund you only reinvest the capital gain, not the entire sale price. A 1031 exchange, by contrast, generally requires you to reinvest the full net proceeds to fully defer the tax. That smaller reinvestment requirement is one of the OZ program's biggest practical advantages.

    Can I use gains from selling stock, not just real estate?+

    Yes. Eligible capital gains can come from stocks, a business sale, or real estate. This flexibility is a key difference from a 1031 exchange, which only works for like-kind real property held for business or investment use.

    Does the 10-year tax-free appreciation benefit still exist under OZ 2.0?+

    Yes. Holding a qualifying QOF investment for at least 10 years still lets you adjust your basis to fair market value at sale, so the fund's post-investment appreciation is not taxed federally. OZ 2.0 adds a rolling 30-year outer cap, but the core exclusion remains the program's marquee benefit.

    What happens to my original deferred gain?+

    It still gets taxed. Under OZ 2.0, the deferred gain is recognized on the earlier of a sale or the fifth anniversary of your investment. The 10-year exclusion applies only to the fund's own growth, never to the original gain you rolled in. Budget cash to pay that bill.

    I invested under the old rules. Why do I owe tax in 2026?+

    Investments made under OZ 1.0 have a fixed recognition date of December 31, 2026. If you deferred a gain and still hold the QOF, that deferred gain becomes taxable on your 2026 return, even if you keep holding and even if the fund has lost value. Talk to a tax advisor about valuation and any loss harvesting before year-end.

    What is a Qualified Rural Opportunity Fund?+

    It is a new OZ 2.0 tier aimed at rural zones. It carries a 30% basis step-up at the five-year hold, versus 10% for a standard fund, and it benefits from an easier substantial improvement threshold. The redesignated zone map is also required to include a meaningful share of rural tracts.

    Do I have to live in an Opportunity Zone to invest?+

    No. According to the IRS, you can claim the tax benefits even if you do not live, work, or run a business in a zone. You simply invest an eligible gain into a Qualified Opportunity Fund and elect to defer the tax.

    Is an OZ fund safer than keeping my property?+

    Not necessarily. QOFs are illiquid, long-hold, development-heavy investments with real sponsor and market risk. The tax benefit does not protect your principal. Evaluate the underlying project as if there were no tax break at all, then let the tax treatment be the tiebreaker.

    The bottom line

    Qualified Opportunity Zones are a genuine tool for the right seller: a large, long-horizon capital gain, a willingness to lock up capital for a decade, and a project you would back on its own fundamentals. Now that the program is permanent, the planning pressure of a hard sunset is gone, and the rolling five-year clock under OZ 2.0 makes the timing cleaner starting in 2027. But permanence does not make it a fit for everyone. For most home sellers, the Section 121 exclusion, a straightforward 1031 exchange, or simply paying a manageable tax bill will beat tying up money in an illiquid fund. Run your actual numbers, vet the deal harder than you vet the tax break, and bring in a CPA and a sharp local agent before your gain is locked in.

    Ready to sell appreciated property the smart way?

    We match you with top-performing agents who know investment deals, 1031 timelines, and how to maximize what you net at the closing table.

    Get matched today

    Disclaimer: This article is for informational purposes only and should not be considered financial, investment, or legal advice. Figures and rules are drawn from the Internal Revenue Service (Opportunity Zones FAQ, Qualified Opportunity Fund certification guidance, Net Investment Income Tax, and Topic No. 409) and the National Association of Realtors, and tax rules change. Consult a qualified CPA or tax attorney about your specific situation. EffectiveAgents is a real estate agent matching service.

    Share On Social

    socialsocialsocialsocial
    Effective Agents icon

    Publisher

    Effective Agents

    Real Estate Company

    Kevin Stuteville profile picture

    About the author

    Kevin Stuteville

    Founder

    Kevin Stuteville is the founder of EffectiveAgents.com, the nation's first agent ranking platform. Kevin was the first person in the United States to rank realtors with the express purpose of improving transaction outcomes. EffectiveAgents analyzes transaction data across the U.S. to surface real estate agents who are outperforming their peers. With a deep understanding of the real estate market and a commitment to innovation, Kevin has built EffectiveAgents.com into a trusted resource for home buyers and sellers nationwide. His expertise and dedication to data transparency have made him a respected voice in the industry.

    Learn More

    Related posts

    How to Negotiate Repairs After a Home Inspection as a Seller
    Sell a House
    Published October 10, 2026
    How to Negotiate Repairs After a Home Inspection as a Seller
    A practical, honest guide for sellers facing a post-inspection repair request: how to triage the list, when a cash credit beats making repairs, sample addendum language, and why refusing everything usually costs more than a targeted concession.
    Kevin Stuteville profile picture
    Kevin Stuteville
    Founder
    read more
    Selling a House in a Flood Zone: Disclosure and Pricing
    Sell a House
    Published October 8, 2026
    Selling a House in a Flood Zone: Disclosure and Pricing
    A practical guide to selling a house in a FEMA flood zone: what the zone letters mean, what flood insurance costs a buyer under Risk Rating 2.0, your state disclosure duties, and how to price, document, and market the home so the deal closes.
    Kevin Stuteville profile picture
    Kevin Stuteville
    Founder
    read more
    Sell a House With Smoke or Pet Odor: What Actually Works
    Sell a House
    Published October 7, 2026
    Sell a House With Smoke or Pet Odor: What Actually Works
    Smoke and pet odor are dealbreakers buyers catch in seconds. Here is what remediation actually costs, what wastes money, when you must disclose, and when pricing the home as-is nets you more than a failed cleanup.
    Kevin Stuteville profile picture
    Kevin Stuteville
    Founder
    read more
    Selling a House With a Nonconforming Use: A Seller Guide
    Sell a House
    Published October 2, 2026
    Selling a House With a Nonconforming Use: A Seller Guide
    A legal nonconforming home can lose its grandfathered zoning protection after major damage or long vacancy. Here is how it affects financing, insurance, and disclosure, and how to sell one without losing the deal.
    Kevin Stuteville profile picture
    Kevin Stuteville
    Founder
    read more
    Selling a House With a Shared Driveway or Party Wall
    Sell a House
    Published October 1, 2026
    Selling a House With a Shared Driveway or Party Wall
    Homes on shared driveways, private roads, or with party walls often stall at underwriting over a recorded easement or maintenance agreement that was never created. Here is what lenders and title companies require, and how to fix it before you list.
    Kevin Stuteville profile picture
    Kevin Stuteville
    Founder
    read more
    Selling a Hoarder House: Cleanout Costs and Disclosure
    Sell a House
    Published September 30, 2026
    Selling a Hoarder House: Cleanout Costs and Disclosure
    Families selling a severely cluttered or hoarded home face a real choice: pay for a full cleanout and list normally, or sell as is at a steep discount. Here is the honest math, plus disclosure duties, staging, and pricing.
    Kevin Stuteville profile picture
    Kevin Stuteville
    Founder
    read more

    Let's Get Started