Food

How to Freeze Pesto in Ice Cube Trays

By Hayride Live · Updated · 5 min read

The most common mistake when freezing pesto in ice cube trays is filling the wells to the rim, which makes the cubes bulge and stick together when you pop them out. The method that avoids this is to fill each well about three-quarters full, freeze until solid, then transfer the cubes to a zip-top bag. This gives you single-serving portions that are easy to grab and drop straight into hot pasta or soups.

Before You Start: What You Need and What to Skip

You don’t need any special equipment beyond a standard ice cube tray (1-tablespoon or 2-tablespoon wells work best) and a freezer-safe zip-top bag or airtight container. If your tray is silicone, the cubes will pop out more easily, but a rigid plastic tray works fine too—just run the bottom under warm water for a few seconds if they stick.

One thing to skip: don’t add extra oil before freezing. Pesto already contains olive oil, and adding more can make the cubes greasy and cause them to separate when thawed. Also, avoid using a tray with very large wells (like 1/4-cup) unless you plan to use that much at once; a standard 1-tablespoon cube is about one serving for a bowl of pasta.

If your pesto is very fresh and loose, give it a quick stir before spooning it in—this evens out the oil and basil so the cubes freeze uniformly.

Fill and Freeze the Trays

Here’s the step-by-step for freezing pesto in ice cube trays:

  1. Spoon the pesto into the wells. Use a small spoon or a piping bag (or a zip-top bag with a corner snipped) to fill each well about three-quarters full. Leave a little room at the top—pesto expands slightly when frozen.
  2. Smooth the tops. Run the back of a spoon or your finger across the top of the tray to level the pesto. This helps the cubes freeze flat and makes them easier to stack later.
  3. Place the tray on a flat surface in the freezer. Set it on a baking sheet or directly on a shelf, making sure it’s level so the pesto doesn’t pool to one side. Freeze for 4 to 6 hours, or until the cubes are completely solid. If you’re in a hurry, check after 3 hours—small cubes may be ready sooner.
  4. Pop out the cubes. Once frozen, twist the tray or press on the bottom of each well to release the cubes. If they resist, run the bottom of the tray under warm water for 10 to 15 seconds—don’t let water get into the pesto.
  5. Transfer to a freezer bag. Place the cubes in a zip-top freezer bag or an airtight container. Press out as much air as possible before sealing. Label the bag with the date and the type of pesto (e.g., basil or sun-dried tomato) so you know what it is later.
  6. Return to the freezer. Lay the bag flat in the freezer so the cubes don’t clump together. Once they’re fully frozen, you can stack the bag upright or on its side to save space.

If you’re freezing a large batch, work in batches so the tray doesn’t sit out too long. Pesto is fine at room temperature for the few minutes it takes to fill it, but don’t leave it out for more than 2 hours total.

How to Tell It Worked and How to Use the Cubes

You’ll know the freezing worked when the cubes are solid, hold their shape, and don’t stick together in the bag. If they do stick, simply tap the bag on the counter to break them apart, or run the bag under warm water for a few seconds.

To use a cube, drop it directly into hot pasta, soup, or sauce—no need to thaw first. Stir until the pesto melts and coats the food. For a quick pasta dinner, cook 2 ounces of pasta (about 1/2 cup dry), then toss with one 1-tablespoon cube and a splash of pasta water. For a larger batch, use 2 to 3 cubes per serving.

If you prefer to thaw the cube first, place it in a small bowl in the refrigerator for 30 to 60 minutes, or microwave on low power for 10 to 15 seconds. Don’t microwave at full power—pesto can separate and the oil can splash.

Symptom / Cause / Fix Table

Symptom Cause Fix
Cubes stick together in the bag Wells were overfilled or cubes were transferred before fully frozen Freeze longer (6 hours), or separate cubes with a piece of parchment paper in the bag
Cubes are oily or separated after thawing Too much extra oil added before freezing Skip the extra oil; stir the pesto well before freezing and again after thawing
Cubes have a weird freezer taste Air in the bag or freezer burn Press out all air before sealing; use within 3 months
Pesto is brown on top Oxidation from air exposure Press a piece of plastic wrap directly on the surface before freezing, or cover the tray with plastic wrap

Store the Cubes for Up to 3 Months

Frozen pesto cubes keep their best quality for up to 3 months in a standard freezer (0°F / -18°C). After that, the flavor and color may fade, but they’re still safe to eat—just use them within 6 months for best taste. Always label the bag with the date so you know how long they’ve been in there.

For longer storage, you can vacuum-seal the cubes, but it’s not necessary. The key is to keep air out and the temperature consistent. If your freezer has a frost-free cycle, the cubes may get icy over time—that’s okay, just shake off any ice crystals before using.

If you’re freezing a large batch, consider portioning by recipe size. For example, if a recipe calls for 1/4 cup of pesto, freeze four 1-tablespoon cubes together in a small bag. That way, you can grab exactly what you need without thawing more than necessary.

One note: if you used fresh garlic in the pesto, freezing doesn’t kill the botulism risk if the pesto is kept at room temperature. Always keep the cubes frozen until you’re ready to use them, and thaw in the refrigerator or directly in hot food—never leave them out on the counter for more than 2 hours.

What to Do With the Cubes Beyond Pasta

Pesto cubes aren’t just for spaghetti. Drop a cube into a pot of vegetable soup or minestrone for an instant flavor boost. Stir one into scrambled eggs just before they finish cooking, or melt it over grilled chicken or fish. You can also add a cube to a pan of roasted vegetables—toss them in the hot pan and let the pesto coat them.

If you have leftover cubes that are past their prime for eating, use them to make a quick vinaigrette: melt a cube, whisk in a splash of lemon juice and a little water, and drizzle over a salad. Or mix a cube into softened butter for a flavored compound butter—freeze that butter in a log for later.

Remember, pesto cubes are best used within a few months, so don’t hoard them. If you find yourself with too many, share a bag with a friend or use them in a batch of homemade pizza—spread a cube over the dough instead of tomato sauce.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.