you can freeze store-bought pesto, and it freezes just as well as the homemade variety. the main difference here is that store-bought pesto comes canned and keeps unopened for a year or even more. because of that, it only makes sense to freeze the leftovers once you open the jar.