Doesn't sound like it. Sounds like you can avoid the tax if you invest an equivalent amount of capital gains into a QOF. The reinvestment into the mutual fund would not lead to a "double taxation" event. You'd be able to defer the capital gains passed through from the mutual fund, even in spite of the reinvestment of that specific cash back into the fund. In the OZ regime, money is fungible, unlike in the 1031 regime, where the same capital must be used to reinvest in real estate.