Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Refrigerate pesto promptly at 40°F (4°C) or colder, and freeze portions you will not use soon. Do not rely on oil, a layer of oil, or the presence of garlic and herbs to preserve pesto at room temperature. FoodSafety.gov does not give a pesto-specific refrigerator shelf life, so there is no supported universal number of days for homemade or opened pesto as a standalone condiment.

How to refrigerate pesto safely

  1. Put it in a clean, covered container. Refrigerate pesto promptly rather than leaving it on the counter.
  2. Keep the refrigerator at 40°F (4°C) or below. This is FoodSafety.gov’s cold-storage target: Cold Food Storage Chart.
  3. Follow the time limit for food left out. FoodSafety.gov advises refrigerating perishable food within two hours, or within one hour when the surrounding temperature is above 90°F (32°C). Discard pesto left out longer than the applicable limit; chilling it afterward does not undo the time spent unrefrigerated. See 4 Steps to Food Safety.

The reviewed official guidance does not establish how many days homemade or opened pesto lasts in the refrigerator. FoodSafety.gov’s advice to use cooked leftovers within four days is general leftover guidance, not a pesto-specific shelf-life determination; do not treat it as a guaranteed storage period for pesto kept as a condiment.

How to freeze leftover pesto

Freeze pesto if you will not use it soon. Set the freezer to 0°F (-18°C) or below, FoodSafety.gov’s recommended temperature. Divide pesto into small portions or small freezer-safe containers so you can thaw only what you need. An ice cube tray is one optional way to portion it: University of Minnesota Extension describes freezing basil mixed with oil in a tray, but a tray is not required.

  1. Prepare a portion for freezing. University of Minnesota Extension recommends leaving cheese out of pesto intended for freezing. This is recipe guidance, not a universal food-safety requirement; if cheese is already mixed in, the guidance does not establish a separate safety deadline or prove that the pesto cannot be frozen. See Growing basil in home gardens.
  2. Pack portions in freezer-safe containers. Leave enough room for the container’s contents to expand if needed, and cover or seal the portions.
  3. Freeze promptly at 0°F (-18°C) or below. Keep the portions frozen until you are ready to use them.
  4. Thaw only the portion you need. Thaw it in the refrigerator, or add a frozen portion directly to a dish being cooked. Avoid leaving pesto to thaw on the counter.

FoodSafety.gov says food kept continuously frozen at 0°F (-18°C) or below can be stored indefinitely from a safety standpoint, although quality declines over time. Its freezer intervals are quality guidance, not a date after which continuously frozen food automatically becomes unsafe.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Silicone Freezer Tray for Sauce Cube: GGOW Silicone Freezing Tray for Broth Soup Storage - Freeze 250mL 125mL Souped Portion
  • PERFECT PORTION CONTROL SOUP STORAGE: Each cavity has the ½cup, 1-cup, 125 mL and 250 mL measurements marked inside. This is a neat way to freeze in accurate size portions. Soup freezer tray is perfect for batch cooking and having leftovers frozen for later use. Freezer soup containers is a must for anyone who batch cooks soup or broth.
  • EASY TO FILL & RELEASE SAUCE CUBES: Filling the silicone freezer tray with soups, stews or anything you can fit in each cavity, and put it in the freezer. Separating frozen cubes from the tray was a breeze. Just pop it out with fingers to press the bottom and it slid right out.
  • REINFORCED FRAME & SPACE SAVING: Silicone freezer trays with lid is designed with an internal stainless-steel frame for extra stability. Super cubes tray will not tilt even if the soup silicone freezer tray is full when moved or stacked together. Soup ice cube tray can be nest inside of each other when they are not in use.
  • UPGRADE SOUP FREEZER CONTAINERS: Made of food-safe silicone, soup freezer tray with lid is durable and soft, dishwasher safe and oven safe. Transparent silicone lid is snug fitting onto the solid frame of the tray to make sure liquids don’t wobble and spill. Silicone freezer containers can be cleaned thoroughly without tastes from prior contents.
  • MULTIPLE USES SOUP FREEZER TRAY: Super cubes freezer tray with lid is a versatile tool for food prep and storage. Can be used for soups, stocks, sauces, chicken bone broth, leftovers, chili, spaghetti sauce or anything you’d like to freeze. 1 cup freezer containers with lids also can be used to bake and store your favorite foods like cookie dough and mini loaves.

Why garlic and oil do not make pesto shelf-stable

Do not store homemade garlic-and-herb mixtures in oil at room temperature or assume a surface layer of oil preserves them. University of Minnesota Extension explains that oil creates a low-oxygen environment; low-acid ingredients such as garlic, herbs, or peppers in oil at room temperature can support Clostridium botulinum growth and toxin production. Keep these mixtures refrigerated and follow tested food-preservation instructions. This is conservative advice for oil-based mixtures, not a claim that every pesto recipe has been laboratory-tested. See Minnesota cottage food law: Chili oil and oil-based products.

If pesto is part of a cooked dish

Once pesto is incorporated into a cooked dish, use the general guidance for cooked leftovers: refrigerate promptly, use within four days, and reheat leftovers to 165°F (74°C) when reheating applies. These are general leftover recommendations, not a pesto-condiment shelf-life rule. FoodSafety.gov’s People at Risk of Food Poisoning page provides advice for people at higher risk of foodborne illness.

Best Value
Sale
1 Tbsp Silicone Freezer Molds - Perfect for Storing Garlic, Ginger, Pesto, Herbs, Lemon Juice,Vegetable Purees,Purees and More - Silicone Food Freezer Tray (Multicolor 3 Pack)
  • The Possibilities Are Endless: The witice silicone food freezer tray has wide applications and is a versatile food storing tool, being suitable for holding anything from baby foods, ice, broth,smoothies, soup stocks, mashed fruits and veggies, breastmilk, purees and more!
  • Safety Comes First: These silicone soup freezer molds are made employing premium grade, highly durable and sustainable materials, a combination of food-grade non-BPA silicone and smooth finishes, being dishwasher and microwave safe, easy to clean and incredibly resilient.
  • Ease of Release and Cleanup : these multicolor containers for freezing food change your storage experience; With an easy release design, you no longer have to wrestle with rigid trays and spills; Just press the bottom of the freezer tray with a simple twist or gentle push and the freezer block will slide out; Cleaning them is also a breeze, as the smooth, nonstick silicone requires nothing more than a quick rinse and wipe dry.
  • Versatile : Our silicone freezer molds make baking, freezing, and storing both easy and convenient. It can withstand temperatures from -8F° to 428F°,Oven, microwave, dishwasher safe.
  • Reusable Containers With More Possibilites : from ice cubes to baby food, curry paste, lemon juice, butter, spices, and any other smaller portioned items, these freezer containers for soup reusable have wide application capabilities; You can conveniently store and freeze different types of ingredients; The practicality of these.
Rank #4
SGKSUN Salad Dressing Container to Go Reusable - 2 Oz Plastic Sauce Container With Leak-Proof Twist Lids(12 Pcs)
  • PREMIUM FOOD-GRADE MATERIAL: 12 pieces Crafted from high-quality, food-grade PP material, these containers are built for safety and durability. This BPA-free plastic ensures no harmful chemicals leach into your condiments, preserving their flavor and your health. The material is robust enough to resist cracking and odor absorption, making it a reliable choice for everyday kitchen use
  • LEAK-PROOF TWIST TOP LIDS: Each container features a smart rotating lid design that creates a tight, secure seal. This ingenious design also acts as a water-resistant barrier, protecting your sauces from moisture and external contaminants
  • CLEAR & ORGANIZED STORAGE: The semi-transparent body allows for easy content identification at a quick glance, eliminating the need to open every lid. Perfect for organizing a variety of condiments like ketchup, mustard, or mayonnaise. Their uniform, stackable shape maximizes cabinet or refrigerator space, keeping your kitchen neat and efficient
  • IDEAL PORTABLE PORTION CONTROL: With a perfect 2 Oz capacity per cup, they are ideal for packing single servings of dressings, dips, or sauces for lunches, picnics, or BBQs. Great for on-the-go meals and portion management
  • EFFORTLESS CLEANING & FULL SET: Designed for convenience, these containers are incredibly easy to clean by hand or are top-rack dishwasher safe, providing ample containers for meal prepping a week's worth of lunches or for entertaining guests. This multi-pack offers excellent value and utility for any household
Rank #3
Sale
ELEGANT DISPOSABLES Twist cap Containers Red Lids(4 Ounce 10 Pack)
  • 4 oz 10 Pack Twist Top Containers Clear bottom With Red Top Twist on Lids Reusable, Stackable, Food Storage Freezer Container
  • FEATURES: Great for on The Go - EZ Clean - Stackable - Microwave Safe - Dishwasher Safe
  • MULTI PURPOSE: Great for Take along for Lunch, Food Storage, keeping Food Fresh in the freezer, Kitchen use for Spices, grains, Beans etc, and Much much More
  • Clear Food Storage Containers with Red Twist on Lids Air Tight Leak Resistant
  • STACKABLE - SEALABLE - WASHABLE - REUSABLE
Rank #2
Sale
2 Tbsp Silicone Freezer Molds - Perfect for Storing Garlic, Herbs, Ginger, Pesto, Tomato Paste, Lemon Juice, Purees and More - Silicone Food Freezer Tray(Blue 2 Pack)
  • MEAL PREP - Spend less time thinking about what you're going to eat and more time enjoying it. Our silicone freezer trays with lids are designed to make meal prep a breeze.
  • EASE OF RELEASE AND CLEANUP - these blue containers for freezing food change your storage experience; With an easy release design, you no longer have to wrestle with rigid trays and spills; Just press the bottom of the freezer tray with a simple twist or gentle push and the freezer block will slide out; Cleaning them is also a breeze, as the smooth, nonstick silicone requires nothing more than a quick rinse and wipe dry.
  • VERSATILE - Our silicone freezer molds make baking, freezing, and storing both easy and convenient. It can withstand temperatures from -8F° to 428F°,Oven, microwave, dishwasher safe.
  • SAFE AND DURABLE, ZERO WASTE - These 2 tbs silicone freezer trays are made of BPA-free food-grade platinum silicone (including lids), reusable, proven to reduce the use of plastics, and are a more sustainable choice.
  • REUSABLE CONTAINERS WITH MORE POSSIBILITIES - from ice cubes to baby food, curry paste, lemon juice, spices, butter, and any other smaller portioned items, these freezer containers for soup reusable have wide application capabilities; You can conveniently store and freeze different types of ingredients; The practicality of these trays is evident in their versatility, serving a range of your needs; Make kitchen tasks more manageable with these trays.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi