Raw Garlic in Oil and the Botulism Risk
ItalianWhen raw garlic or fresh herbs are submerged in oil, the oil creates an anaerobic (oxygen-free) environment. Clostridium botulinum spores, naturally present in soil and on produce, can germinate and produce toxin in these conditions. The toxin is invisible, odourless and tasteless. Health Canada classifies homemade herb-and-garlic-in-oil mixtures as a food safety risk requiring strict temperature control.
Pesto is included in this risk
Pesto alla genovese contains raw garlic in olive oil. It must be refrigerated at or below 4°C / 40°F immediately after preparation and consumed within 3–4 days. For longer storage, freeze in small portions. Never leave homemade pesto at room temperature.
Commercial products are different
Commercial garlic-in-oil products are manufactured under controlled conditions and often acidified to prevent bacterial growth. Keep homemade garlic-in-oil mixtures and pesto refrigerated, following the short storage limit below; freeze for longer keeping.
When in doubt, discard
If homemade pesto has been left at room temperature for more than 2 hours, or if its storage history is unknown, discard it. The toxin cannot be detected by appearance, smell or taste. This advice applies to all homemade herb-and-vegetable-in-oil preparations, not only pesto.

