This post may contain affiliate links. Read the disclosure. Keep basil leaves in a plastic bag in the freezer until you have enough to make pesto. Use straight from the freezer (if you thaw them, you’ll end up with green sludge).