Which ingredients make a homemade sauce risky?
Updated
On this page7
Seven kinds of ingredient change what a homemade sauce can safely do: oil holding fresh garlic or herbs, raw egg, dairy, meat or broth, flour and other starch thickeners, a heavy hand with low-acid vegetables such as onions, peppers, corn and beans, and large chunks that take time to absorb acid. None of them is forbidden. Each one shortens how long the sauce keeps, rules out home canning, or both, and each has a specific fix. This page sorts them by the problem they cause, says what to do about each, and points to the page that covers it in full.
The short list
| Ingredient | The problem it brings | What to do at home | Full treatment |
|---|---|---|---|
| Fresh garlic or herbs held in oil | Botulism: oil shuts out air around low-acid plant pieces | Refrigerate and use within days, or freeze; never can | Garlic, herbs and botulism in oil |
| Raw egg | Salmonella | Use pasteurized eggs; keep cold | Mayonnaise and aioli |
| Milk, cream, cheese, butter | Low-acid; no tested canning process | Refrigerate or freeze | Cream, cheese and other low-acid sauces |
| Meat, poultry, broth | Low-acid; may bring USDA rules for sale | Refrigerate, freeze, or pressure can a tested recipe | Sauces with meat, poultry or broth |
| Flour, cornstarch, other starches | Slows heat reaching the center of a jar | Thicken after opening, never before canning | Which sauces can be canned at home |
| Extra onion, pepper, corn, beans | Pull the pH up against the acid | Keep a tested recipe's proportions exactly | What you can change in a salsa recipe |
| Large chunks | Acid takes time to reach the center | Measure pH only after the sauce settles; follow tested cut sizes | Measuring the pH of a thick or oily sauce |
Ingredients that give botulism a place to grow
Clostridium botulinum spores live in soil and on produce. They grow and make toxin where there is little oxygen, little acid and enough moisture, which describes the inside of a sealed jar of low-acid food.
Garlic and herbs in oil. Oregon State University Extension explains that "Low acid foods stored in oil create an oxygen-free environment which is perfect for growth" [1]. Its advice for homemade garlic or herb oils and for pesto is to refrigerate them and use them within a few days, or freeze them [1]; the figure for each, with its source, is on how long homemade sauces keep. Penn State Extension adds that oil coats whatever sits in it and says plainly: "Do not can pesto or any similar product" [2]. Chimichurri, herb oils, confit garlic and any sauce where chopped garlic or herbs sit under a layer of oil carry the same risk. The outbreak record and the commercial controls are on garlic, herbs and botulism in oil.
Dairy. Milk, cream, butter and cheese are low-acid. Penn State's position is that pressure canning, water bath and atmospheric steam are all unsuitable for dairy products, and that they should be frozen instead [2]. A cream sauce or cheese sauce is a refrigerator or freezer sauce, full stop.
Meat, poultry and broth. These are low-acid too. A few meat sauces have tested pressure canning recipes; nothing with meat goes in a boiling-water canner. Selling adds a layer: the UC Davis decision tree flags that a product with 2 percent or more meat or poultry ingredients may fall under different regulations [3], and USDA's role is set out on sauces with meat, poultry or broth.
Starch thickeners. Flour, cornstarch, tapioca and similar starches make a sauce dense. Penn State's reason for keeping them out of canned food is that "Starch interferes with heat transfer during processing," so the center of the jar may never reach the temperature the process depends on [2]. Its advice is to thicken after the jar is opened for serving [2].
The ingredient that carries Salmonella: raw egg
Homemade mayonnaise, aioli, Caesar dressing and hollandaise made with raw egg yolks are a known Salmonella risk. University of Minnesota Extension lists homemade Caesar dressing, hollandaise and mayonnaise among the raw-egg foods that raise the risk of foodborne illness, and recommends "Using pasteurized eggs in dressings, sauces, and mayonnaise," kept at 41°F [4]. Lemon juice and vinegar do not make raw egg safe in a home kitchen. Every egg sauce in this book starts from pasteurized eggs, and Alabama white barbecue sauce, built on mayonnaise, counts as an egg sauce for keeping.
Ingredients that fight the acid
Acid makes a sauce safer only if enough of it reaches every part of the sauce. Three things work against it.
Low-acid vegetables in quantity. Onions, garlic, sweet and hot peppers, corn and beans are low-acid. In a small amount they barely move a sauce's pH; in a large amount they act as a buffer, soaking up acid so the finished sauce lands higher than you expect. Penn State's salsa advice is not to add extra peppers or onions, or corn or beans, to a tested canning recipe [5], and North Dakota State University warns that changing the proportions of vegetables, acid and tomatoes in its taco sauce "might make the salsa unsafe" [6].
Sweet and savory ingredients. Cornell's Food Venture Center notes that a barbecue sauce with "a lot of brown sugar, molasses, and/or soy sauce" may be acidified rather than an acid food [7]. These ingredients change both flavor and the acid balance, so swapping more of them into a tested recipe is not a flavor-only change.
Chunks. Acid moves into a piece of vegetable from the outside in. Cornell describes corn and beans taking "a long time (three days sometimes)" for acid to penetrate fully [7]. A pH reading taken right after mixing a chunky sauce can look fine while the centers of the pieces are still well above it. Why that matters for measuring, and how long to wait, is on measuring the pH of a thick or oily sauce.
What refrigeration does and does not fix
Refrigeration slows most of these problems; it does not cancel them. The short limit for garlic and herbs in oil is already a refrigerated limit [1], and the egg guidance above assumes the sauce is kept at 41°F [4]. A cold sauce made with any of these ingredients still has a short life, which is why the keeping table lists each sauce type with the ingredient that sets its limit: see how long homemade sauces keep.
Check the recipe before you check the ingredients
Most of these risks are already handled inside a tested recipe, which fixes the proportions, the cut sizes and the process. If you are working from a recipe you found online or wrote yourself, start with telling a tested sauce recipe from a risky one.
Top picks
Top containers for sauces and condiments
16 oz · 38-400 · Glass · 7 in
12 oz · 38-400 · Glass
16 oz · 38-400 · Glass · 7.2 in
16 oz · 70-450G · Glass
16 oz · 70-450 · Glass
8 oz · 58-400 · Glass
8 oz · 70-450G · Glass
12 oz · 63-400 · Glass
References
- Oregon State University Extension Service, Raab and Woodburn, Herbs and vegetables in oil (SP 50-701), published September 9, 2020, revised January 2025. https://extension.oregonstate.edu/catalog/pub/sp-50-701-herbs-vegetables-oil
- Penn State Extension, Zepp, Foods that are Not Safe to Can, updated August 30, 2023. https://extension.psu.edu/foods-that-are-not-safe-to-can
- Harris, L. J. and Parkinson, N., UC Davis, Is your product an "acidified food"? (decision tree), February 18, 2022. https://ucfoodsafety.ucdavis.edu/sites/g/files/dgvnsk7366/files/media/documents/Decision%20Tree%202-18-22_1.pdf
- University of Minnesota Extension, Purchase, store, and prepare: Eggs, reviewed 2026. https://extension.umn.edu/preserving-and-preparing/handling-eggs-prevent-salmonella
- Penn State Extension, How Safe Is Your Salsa?, April 13, 2026. https://extension.psu.edu/how-safe-is-your-salsa
- Garden-Robinson, J., NDSU Extension, Make Your Own Home-canned Condiments (FN1861), reviewed May 2022. https://info.ext.nodak.edu/agriculture/sites/default/files/2022-06/fn1861.pdf
- Cornell Food Venture Center, What is an acidified food?, October 19, 2016. https://blogs.cornell.edu/fvc/2016/10/19/acidified-foods