Preserving

Canning Safety: Acidity, Headspace and Processing Times

Three variables decide whether a jar is safe: how acidic the food is, how much headspace you leave, and whether you process it for the right time at your altitude.

Updated November 19, 2026 · 5 min read · Preserving and Value-Added Foods

Canning is controlled heating in a sealed jar. The goal is to destroy spoilage organisms, inactivate enzymes and drive air out so a vacuum seal forms. Three variables determine whether the result is safe: the acidity of the food, the headspace left in the jar, and the processing time and method, adjusted for your altitude. Get any of them wrong and a jar can spoil or, worse, develop the toxin that causes botulism.

This article explains each variable in plain terms, then walks through how to check seals, cool jars and store them. It does not give processing times, because the numbers must come from a current, tested recipe for the exact food, jar size and altitude, not from a general article.

Acidity decides the method

Foods fall into two groups.

GrouppHExamplesMethod
High acidBelow about 4.6Most fruits, jams, pickles, many tomato products with added acidBoiling water bath
Low acidAbove about 4.6Vegetables, meats, poultry, seafood, soups, beansPressure canner

The botulism organism cannot grow and make toxin in a sufficiently acidic environment, but it can survive boiling water, and in low-acid sealed jars it thrives without oxygen. That is why low-acid foods need the higher temperatures a pressure canner reaches. Tomatoes sit near the line, and tested recipes call for added lemon juice or citric acid to guarantee acidity. Read more in canning tomatoes safely.

Acidity can be changed by what you add. Putting vegetables into a vinegar brine, as in pickles, can make them acidic enough for water-bath canning, but only if the tested ratio is followed. Adding extra onions, peppers or other low-acid ingredients to a salsa or sauce dilutes acidity and can make a recipe unsafe. Never increase the proportion of low-acid ingredients in a tested recipe.

Headspace

Headspace is the space between the food or liquid and the top of the jar. It matters because food expands, and air in the jar must be driven out during processing to form a vacuum.

  • Too little headspace can cause food to push out under the lid, preventing a good seal.
  • Too much headspace may leave too much air, so the jar may not seal, and food at the top can discolor.
  • Different foods call for different headspace, commonly small fractions of an inch for jams and jellies, and an inch or more for some pickled or low-acid foods, though the recipe says exactly.

Use a headspace tool or a ruler, wipe the rim with a clean damp cloth, and remove air bubbles by running a thin plastic tool around the inside of the jar. Then place the lid and tighten the band fingertip tight, as the recipe directs.

Processing time and method

Processing time is how long jars stay in the boiling water or pressure canner. It depends on the food, the pack (raw or hot), the jar size, and the altitude. Larger jars need more time because heat takes longer to reach the center.

For water-bath canning, start timing when the water returns to a full rolling boil with the jars covered. For pressure canning, start timing after the canner has vented properly and reached the required pressure, and hold steady pressure. A fluctuating gauge can mean underprocessed food, which must be handled according to guidance for that situation.

Avoid shortcuts such as cutting time to save the fruit's texture. If a jar is underprocessed, it can spoil or be unsafe. Tested recipes come from places like the National Center for Home Food Preservation and state Extension services. For methods, see water-bath canning for beginners and pressure canning.

Altitude adjustments

Water boils at lower temperatures at higher elevations, so food in a boiling water bath gets less heat. Tested recipes include altitude adjustments, usually adding processing time for water-bath canning and raising pounds of pressure for pressure canning. Look up your elevation, not the nearest big city's, and use the chart that comes with your recipe.

If you are unsure of your elevation, your county Extension office can tell you. Moving from a lowland to a mountain home means redoing your habits, and an old recipe may need new times.

Cooling, checking and storing jars

  1. Remove jars to a draft-free spot on a towel or rack, spaced apart.
  2. Leave them undisturbed for 12 to 24 hours.
  3. Listen for pings and check the center of each lid: it should be concave and not flex when pressed.
  4. Remove bands, test by lifting jars gently by the lid edges, and wash and dry the jars.
  5. Label with contents and date, and store in a cool, dark, dry place.

Jars that did not seal can be refrigerated and eaten soon, frozen if the jar and food allow, or reprocessed within the window given in a tested source. Do not leave unsealed jars on a shelf.

Store without bands to make leaks or failed seals visible. Home-canned foods are best used within a year for quality, and they usually remain safe longer if the seal remains intact, but quality declines.

Spoilage signs

Discard jars, without tasting, if you see:

  • Bulging or leaking lids or lids that pop up.
  • Spurting liquid or foam when opened.
  • Mold, slime or cloudiness in canned products that should be clear.
  • Strong, off or putrid smells.
  • Unusual color change.

Botulism toxin cannot be seen or smelled, so low-acid foods that were underprocessed can look and smell normal. That is why method matters more than your senses. See botulism and home canning, and the CDC botulism pages. If someone might be sick, call a doctor or emergency services, and Poison Control at 1-800-222-1222.

A worked example: checking a recipe before you start

Say you find a salsa recipe online that calls for extra onions and peppers and a short process of ten minutes. Before canning it, compare it with a tested salsa recipe from a trusted source. Does the tested recipe use the same ratios of tomato to onion to pepper, and the same amount of bottled lemon or lime juice or vinegar? Does it specify jar size, headspace and processing time at your altitude? If any answer is no, use the tested version for canning, and keep the online recipe for fresh batches in the fridge.

That small check takes five minutes and prevents most dangerous mistakes. Farmers like to say you can fool a tomato, but not a bacterium, a sentiment that fits well on FARM.FM farming.

Frequently asked questions

Can I make up my own canning recipe?

Not safely. Acidity, density and heat penetration depend on exact ingredients and quantities, and only laboratory-tested recipes ensure safety. Create new recipes for the fridge or freezer.

What if my jar lost liquid during processing?

Some siphoning is normal and does not usually affect safety if the jar sealed and food remains covered. Reduce it by adjusting headspace, avoiding sudden temperature changes and following the recipe for cooling.

Do I need to adjust for altitude with pressure canning?

Yes. Tested pressure canning instructions give pressures that depend on elevation and gauge type. Use the correct chart for your altitude.

Is it safe to store jars with the rings on?

Many sources recommend removing rings to help spot failed seals and prevent rust. If you keep rings on, check the seal regularly.

Canning Supplies: What You Need and What to SkipPrevious articleBotulism and Home Canning: The Safety BasicsNext article

Keep learning

Food, farming and honey rules, seasons and prices vary by place. Confirm current details with local producers, your state agriculture office and your Extension service.

Browse the state directory for farmers markets, growers, meat and dairy groups, seafood, cottage food rules, beekeepers and Extension contacts near you.

Educational content only. Honey must not be given to infants under 12 months. Follow tested canning methods, never eat wild plants or mushrooms without expert identification, and check state rules on raw milk, meat and cottage foods. This article is not medical, nutrition, legal or food safety advice.