This post contains affiliate links. As an Amazon Associate I earn from qualifying purchases. If you click a link and make a purchase, I may receive a small commission at no extra cost to you.
Basil pesto can be canned, but only using a specific, tested pressure canning method, not a regular boiling water bath.
If you’ve ever made a big batch of fresh basil pesto and wondered, “can basil pesto be canned?” the short answer is yes, but the traditional recipe with cheese and nuts has serious safety issues in a canner.
The reason so many home cooks ask if basil pesto can be canned is that the ingredients—oil, garlic, and low-acid basil—create the perfect environment for botulism if processed incorrectly.
In this post, we’ll break down exactly how basil pesto can be canned safely, what changes you need to make to your recipe, and whether freezing might be a better option for your homemade pesto.
Let’s dig into the delicious but tricky world of preserving pesto.
What Happens If You Try to Can Basil Pesto the Wrong Way
When you ask whether basil pesto can be canned, you first need to understand why a simple water bath fails.
1. The Danger of Botulism in Basil Pesto
Basil pesto can be canned safely, but only when you kill the spores of Clostridium botulinum, which thrive in low-oxygen, low-acid environments.
Garlic and basil are both low-acid foods, and when you seal them in a jar with oil, you create that exact anaerobic condition.
A boiling water bath only reaches 212°F, which is not hot enough to destroy botulism spores.
That’s why so many sources warn that you shouldn’t can basil pesto in a water bath, because the risk of food poisoning is simply too high.
2. Oils Trap Heat Unevenly
Even if basil pesto can be canned in theory, the oil in the recipe insulates against heat transfer very unevenly.
This means the center of each jar might not reach the temperature needed for safety, even if the outside looks bubbling hot.
Pressure canning solves this by reaching 240°F or higher, which is the only reliable way to make basil pesto can be canned without fear.
3. Cheese and Pine Nuts Are a Mold Magnet
Your classic basil pesto recipe with parmesan and pine nuts has another problem: dairy and nuts reduce shelf stability.
Cheese can harbor bacteria that survive even pressure processing, and nuts add fats that can go rancid over time.
So if you’re asking can basil pesto be canned with cheese, the honest answer is no, not safely for long-term storage.
The Only Safe Way to Can Basil Pesto at Home
If you really want to preserve your garden basil in jars, there is a tested recipe from the National Center for Home Food Preservation that answers your question: yes, basil pesto can be canned, but only without dairy and without nuts.
1. Use a Pressure Canner, Not a Water Bath
Basil pesto can be canned in a pressure canner at 10 to 15 PSI depending on your altitude, and that’s non-negotiable.
You’ll process half-pint jars for about 40 minutes at the correct pressure to ensure the center reaches 240°F.
This heat destroys botulism spores and any other pathogens that would make canned basil pesto dangerous to eat.
2. Make Your Pesto Without Cheese or Nuts
The NCHFP’s recipe for basil pesto that can be canned uses only basil, garlic, olive oil, and lemon juice.
The lemon juice is crucial because it adds enough acidity to help the pressure canning process work more effectively.
You’ll leave out the parmesan and the pine nuts completely, because those ingredients can’t be safely pressure canned.
3. Purée to a Paste Consistency
To ensure even heat penetration, your basil pesto for canning must be blended into a smooth paste, not chunky.
Chunks of basil or garlic can create air pockets that block heat from reaching the center of the jar.
A fine purée ensures that every bit of that pesto gets the same lethal temperature, so basil pesto can be canned with confidence.
4. Always Add Lemon Juice for Acidity
The tested recipe specifies adding one tablespoon of bottled lemon juice per half-pint jar.
Bottled lemon juice has a consistent acidity level, unlike fresh lemons, which vary too much.
This extra acid is what makes it possible for basil pesto to be canned without risking botulism, so don’t skip it.
Why Freezing Basil Pesto Is Often the Better Choice
Even though basil pesto can be canned, freezing will give you a much tastier and more aromatic final product.
1. Canned Pesto Loses Its Fresh Green Color
When you pressure can basil pesto, the prolonged heat turns the basil a dull, olive-brown color.
You’ll still get the flavor, but you lose that vibrant, just-picked look that makes pesto so beautiful.
Freezing preserves the bright green color and the fresh, peppery aroma of the basil far better.
2. Freezing Keeps the Cheese and Nuts
If your favorite basil pesto recipe includes parmesan and pine nuts, freezing is the only way to keep those ingredients.
Since basil pesto can be canned only without them, your authentic Italian version must go in the freezer instead.
You can freeze pesto in ice cube trays for perfect single-serving portions, then pop them into a zip-top bag.
3. Simpler and Faster Than Canning
Freezing takes about five minutes of total effort, while pressure canning requires you to watch the gauge for nearly an hour.
If you’re short on time, ask yourself again: can basil pesto be canned? Yes, but do you really want to?
For most folks, freezing is the winner because it’s painless and gives you that fresh, unprocessed flavor.
So, Can Basil Pesto Be Canned?
Basil pesto can be canned, but only under very specific conditions that many home cooks find too restrictive.
You must use a pressure canner, skip the cheese and nuts, add bottled lemon juice, and process the jars at the right pressure for your altitude.
When you follow those exact guidelines, basil pesto can be canned safely and will last on your shelf for up to a year.
However, if you want to keep the classic pesto taste and texture, freezing remains the best and easiest preservation method.
So the next time someone asks you if basil pesto can be canned, you can confidently explain that it’s possible, but it takes the right equipment and a willingness to change your recipe.
And for most of us, that beautiful green sauce belongs in the freezer, ready to brighten up a simple plate of pasta any night of the week.