Mom's Best Recipes
Article

How to Keep Pesto from Turning Brown

Small paws, big appetite, and one big mission: keep your pesto as green as the day you blitz it. Here is why it browns and the easiest ways to prevent it.

Author By Pip
Published · Last updated • 7 min read

In this article

Why pesto oxidizes, how to keep it green while you blend, and the best ways to store basil or arugula pesto in the fridge or freezer.

A small bowl of bright green basil pesto on a light kitchen counter with basil leaves and a spoon nearby in natural window light

Why pesto turns brown

Pesto browning is mostly enzymatic oxidation. When basil, arugula, or other leafy greens are cut and blended, their cell walls break and natural enzymes (like polyphenol oxidase) meet oxygen. That combo can darken the color from vibrant green to olive, then brown.

A few things make it happen faster:

  • More air exposure (lots of headspace in a container, stirring often, storing uncovered).
  • Heat (warm ingredients, a warm food processor bowl, pesto sitting near the stove).
  • Time (even well-stored pesto slowly shifts color).
  • Leaf choice (some greens, like arugula, often discolor faster than basil once bruised).

The quick fixes that keep pesto green

If you only do a few things, do these. They are the best bang-for-your-basil.

1) Blanch the greens (the big one)

Blanching briefly heats basil or arugula to inactivate the enzymes that drive browning. The ice bath helps stop cooking quickly, which keeps the leaves from turning limp and helps preserve that fresh green look.

Fresh basil leaves being lowered into a pot of simmering water on a home stove using a slotted spoon

How to blanch for pesto:

  • Bring a small pot of water to a boil. Prepare a bowl of ice water next to it.
  • Drop in basil or arugula for 5 to 15 seconds. Basil needs very little time.
  • Scoop out and plunge into ice water immediately.
  • Drain and dry very well. Excess water can thin pesto and dull the flavor.

Pro tip: Drying matters. Pat with paper towels, then let the leaves sit a minute to air-dry before blending.

2) Add a little acid

Acid can slow browning by lowering pH and it keeps the flavor bright. Lemon juice is the usual pick, but a small splash of vinegar works too if that fits your recipe. Just keep it light. Too much acid can tip the flavor sharp, and if the pesto gets heated later, extra acid can nudge greens toward a more olive tone.

  • Start with 1 to 2 teaspoons lemon juice per cup of packed herbs or greens.
  • Taste and adjust. Blanching and oxygen control do the heaviest lifting for color.

3) Use an olive oil barrier on top

Once pesto is in its container, smooth the surface and pour a thin layer of olive oil over the top. This blocks oxygen from sitting directly on the pesto.

A glass jar of green pesto with a thin glossy layer of olive oil on top, sitting on a clean kitchen counter
  • For a small jar, 1 to 2 teaspoons is usually enough.
  • Top it up after you scoop some out and re-smooth the surface.

4) Store airtight with minimal headspace

Oxygen is the troublemaker, so reduce it. Choose a smaller container that the pesto can fill close to the top, then seal tightly.

  • Press a piece of plastic wrap directly onto the pesto surface before adding the lid for extra protection.
  • If you have it, a vacuum-sealed container works beautifully.

5) Keep it cold (especially with an oil cap)

Pesto often includes raw garlic and is sometimes stored under oil or vacuum-sealed, which means it should be treated like a “keep it cold” food. For safety and best quality, refrigerate promptly and do not leave garlic pesto at room temperature. If you want to store it longer, freeze it.

Best practices while blending

Sometimes pesto starts darkening before it even hits the jar. Here is how to keep it bright during the blitz.

  • Keep ingredients cool. Warmth speeds oxidation. If your kitchen is hot, chill the food processor bowl for 10 minutes.
  • Work quickly. Blend, scrape, and transfer to storage promptly.
  • Add oil as you blend. Oil helps coat the greens, but blending can still whip in air, so keep the process short and efficient.
  • Avoid over-processing. Excess blending adds heat and can make the pesto look duller.
A food processor on a kitchen counter mid-blend with bright green pesto inside, lid on, with basil and garlic nearby

Basil pesto: how to keep it bright green

Basil is the classic, and it is also heartbreakingly easy to brown.

What helps most

  • Blanch the basil for just a few seconds, then shock in ice water.
  • Use an oil layer and a tight container right away.
  • Consider holding back the cheese if you plan to freeze (more on that below).

What to expect

Even with careful storage, basil pesto can shift slightly darker over time. If it still smells fresh and tastes good, a little color change is usually cosmetic.

Arugula pesto: tips for staying green

Arugula pesto is peppery and bold, but arugula often browns faster than basil once it is bruised and blended.

Arugula-specific moves

  • Blanch briefly, especially if you are making it ahead for the week.
  • Use lemon juice a touch more confidently. Arugula likes a little brightness.
  • Pack it down in the jar. The less air trapped inside, the better.
  • Stir before serving if you used an oil cap. That top layer is doing important work.
Fresh arugula, garlic, lemon, nuts, olive oil, and a small bowl of green pesto arranged on a bright kitchen counter

How long does pesto last?

In the fridge

For best color and flavor, plan on using pesto within 3 to 5 days. With very clean handling, a strong oil layer, and an airtight container, it can be okay closer to 5 to 7 days, but the green will fade as the days pass. Ingredients and handling make a big difference.

  • Always use a clean spoon.
  • Re-smooth the surface and refresh the oil layer after scooping.
  • If you see mold or smell anything off, toss it.
  • Do not store pesto at room temperature, especially if it contains raw garlic and is covered with oil.

In the freezer

Freezing is your best friend for color. Pesto keeps well for about 3 months for best flavor, and up to 6 months if well sealed.

Green pesto portioned into an ice cube tray on a kitchen counter, ready to freeze, with a spoon nearby

Freezer tips:

  • Freeze in ice cube trays for easy portions, then transfer cubes to a freezer bag.
  • For the brightest color, freeze quickly and keep air out of the bag or container.
  • Many cooks prefer to add cheese after thawing for the freshest taste and texture, especially with basil pesto.

Thawing without dulling the color

  • Thaw overnight in the fridge when you can.
  • Or melt a cube directly into warm pasta or soup, off heat, so it loosens gently.
  • Once thawed, store in the fridge and use within a couple of days for best color.

Troubleshooting

It turned brown on top, but the rest is green

That is classic oxygen exposure. Scrape off the top layer if it looks very dark, then smooth the surface and add a fresh oil cap. Next time, reduce headspace and press plastic wrap directly on the pesto.

It is dull green everywhere

This can happen from warm blending, over-processing, or older greens. Chill the equipment, work quickly, and consider blanching for make-ahead pesto.

It tastes bitter

Bitter pesto is often from over-blending leafy greens, older arugula, or a robust olive oil that reads bitter when it is freshly blended. Pulse gently, taste as you go, and try adding oil later in the process. If it needs balancing, add a little more cheese, nuts, or lemon if your recipe allows.

Quick checklist

  • Blanch and shock basil or arugula for the greenest result.
  • Add a little lemon juice to slow browning (but do not overdo it).
  • Cover with a thin olive oil layer before sealing.
  • Store airtight with minimal headspace, or press plastic wrap onto the surface.
  • Keep it cold and do not leave garlic pesto at room temperature.
  • Freeze in small portions for the brightest color and easiest weeknight wins.
A small glass jar of green pesto with a tight lid sitting on a refrigerator shelf among everyday ingredients

FAQ

Does lemon juice change the flavor of pesto?

A little will taste mostly like freshness, not lemonade. Start small, taste, and stop when it tastes bright but still savory.

Is it safe to eat pesto that turned brown?

Color change alone is not a safety issue. If it smells fresh and there is no mold, it is usually fine. When in doubt, trust your nose and toss anything questionable.

Can I prevent browning without blanching?

Yes. Use a little acid, keep things cool, limit air exposure, and store airtight with an oil cap. Blanching is simply the most reliable method when you want pesto to stay vividly green for days.