If you invest capital gain in a QOF after Dec. 31, 2021, then you generally will be able to (i) defer all of that gain until Dec. 31, 2026, (unless you have earlier inclusion event), and (ii) exclude any subsequent gain with respect to your QOF interest, if you hold the QOF interest for at least 10 years. Had you invested before the end of the 2021, you could have also permanently excluded 10% of your invested gain (the 5-year tax benefit).