The fastest way to defrost pesto is in the microwave on the defrost setting, stirring intermittently. However, if you plan on cooking with the pesto, there’s no need to defrost it. Simply take out your frozen pesto cubes and toss them with hot pasta or place them directly into your hot pan.