If you sell a mutual fund and then buy the stock components of that same fund, that may be considered a wash sale, it would depend on how closely your purchases match the fund you are replacing. If it is almost substantially the same, it would be considered a wash sale.