Yes, pesto freezes very well. Pour it into ice cube trays to make individual portions that can be easily thawed. Then put the frozen pesto cubes in a freezer bag. It will keep in the freezer for up to a year.