Both a Qualified Opportunity Fund (QOF) and a 1031 exchange allow a taxpayer to defer realized capital gain. The additional tax benefits from a QOF are that a taxpayer can also generally exclude (i) 10% or 15% of such deferred gain, if he holds the QOF interest for at least 5 or 7 years, respectively, prior to Dec. 31, 2026 and (ii) gain from future appreciation in his or her QOF interest, if he holds the interest for at least 10 years.