Farm to Table Directory

Home › Guides › Seasonal Cooking & Recipes › Building Flavor With Local Garlic and Onions

Seasonal Cooking & Recipes

Building Flavor With Local Garlic and Onions

Garlic and onions are the base of cooking in nearly every cuisine, and a head of garlic or a bulb onion pulled from local soil can taste noticeably different from stores' long-stored stock. Fresh garlic is juicier and sharper, and market onions range from sweet to fiery. This article explains the chemistry that makes alliums pungent, how to choose and cure them, techniques that change their flavor from sharp to sweet, recipes for roasted garlic, caramelized onions and a quick soffritto, and the safety rule you must know about garlic stored in oil.

Know Your Alliums

At farmers markets you may find fresh green garlic in spring, garlic scapes in early summer, cured garlic from midsummer on, and a long list of onion types. Bulb onions include yellow storage onions with strong flavor, red onions with a sharper bite and bright color, white onions that are crisp and clean, and sweet onions with high water and sugar content that do not store long.

Spring onions and scallions are harvested young, with green tops and small or no bulbs. Leeks are milder and sweeter, perfect for soups. Shallots are delicate and slightly sweet. Chives and garlic chives bring a gentle flavor best used raw or added at the end.

Hardneck garlic, with a stiff central stalk, tends to have more complex flavor and bigger cloves, but a shorter storage life. Softneck garlic stores longer. Ask the grower which type they sell and what it tastes like. For more on seasonal sourcing, see seasonal sourcing: how farms plan for your menu.

Why Garlic and Onions Bring Heat

Intact cells keep sulfur compounds separate from enzymes. When you cut or crush, they mix and form pungent molecules, including those that make eyes sting in onions and garlic taste hot. The more you break the cells, the stronger the flavor: whole cloves are mild, sliced are moderate, minced is stronger, and crushed paste is strongest.

Heat changes the picture. Cooking quickly stops enzyme activity and mellows flavors; longer cooking turns sulfur compounds sweet and nutty. Garlic burns fast and turns bitter above medium heat, so add it later than onions, usually in the last minute or two of sautéing.

Resting chopped garlic for about 10 minutes before heating allows beneficial compounds to form, according to food science research, and also helps flavor. To cry less while chopping onions, use a sharp knife, chill the onion for 15 minutes before cutting, and ventilate your kitchen.

Choosing, Storing and Curing

Choose heads that are firm and heavy with tight papery skins, and onions that feel dry and hard with no soft spots or sprouts. Avoid bulbs that smell musty or have black mold under the skin.

Store garlic and onions at room temperature in a cool, dark, dry spot with good airflow, such as a basket in a pantry; do not store them in sealed plastic bags. Keep them apart from potatoes, which release moisture and gases that speed spoilage. Cured garlic can keep 3 to 6 months and storage onions several months, depending on the variety. Sweet onions may keep only a few weeks, or longer in the refrigerator.

If you grow your own or buy in bulk, cure them: let freshly harvested bulbs dry in a shaded, ventilated spot for 2 to 4 weeks until necks are tight and skins crisp. Refrigerate peeled or cut alliums in a sealed container and use within a week.

Sautéing, Soffritto and Aromatic Bases

Many cuisines start with a cooked aromatic base: French mirepoix (onion, carrot, celery), Italian soffritto, Spanish sofrito, Cajun trinity (onion, celery, bell pepper). The technique is gentle and patient. For a soffritto, finely dice 1 onion, 1 carrot and 1 celery stalk, and cook in 3 tablespoons of olive oil over medium-low heat for 10 to 15 minutes, stirring occasionally, until soft and sweet but not browned.

Add garlic, 2 to 3 cloves, for the last minute. Season with salt early, since salt draws out water and helps vegetables soften without browning. Use this base for soups, stews, ragùs and braises. See one pot meals built on farm ingredients.

To brown onions for a deeper flavor, raise the heat to medium and stir often, adding a splash of water when they stick. A rough guide: translucent in 5 minutes, golden in 15 to 20 minutes, deeply caramelized in 40 to 60 minutes.

Caramelized Onions

Caramelized onions are worth making in bulk. Slice 3 pounds (1.4 kg) of yellow onions pole to pole, giving 8 to 10 cups of raw slices. Melt 3 tablespoons of butter or oil in a wide, heavy pot, add the onions and 1 teaspoon of salt, and cook over medium heat for about 10 minutes until they release liquid and soften.

Reduce to medium-low and continue, stirring every few minutes, for 40 to 50 minutes more until deep amber and jammy. Add a splash of water or stock when the bottom browns too quickly. At the end, deglaze with a tablespoon of balsamic vinegar, sherry or wine and scrape up the browned bits.

The yield shrinks to about 1½ cups. Cool and refrigerate for up to 5 days, or freeze in ice cube trays for 3 months. Use on burgers, in grilled cheese, with eggs, on pizza, in dips and in French onion soup. Pair with cheese; see recipes that pair local cheese and produce.

Roasted Garlic

Roasting turns garlic soft, spreadable and sweet. Cut ¼ to ½ inch (0.6 to 1.25 cm) off the top of a whole head to expose the cloves, set it on foil, drizzle with 1 teaspoon of olive oil, sprinkle with salt and wrap tightly. Roast at 400°F (200°C) for 40 to 50 minutes until cloves are golden and squeeze out like soft paste.

Squeeze onto bread, mash into mashed potatoes, stir into dressings and soups, or whisk with olive oil and lemon for a spread. Use roasted garlic within 4 days if refrigerated.

You can also roast whole peeled cloves in a small baking dish covered with oil. Store these only in the refrigerator and use within a few days, because garlic in oil carries a botulism risk, as explained below. Roasting does not make storage at room temperature safe.

The Garlic in Oil Rule

Garlic is a low-acid food, and when it is submerged in oil, the low-oxygen environment can allow Clostridium botulinum spores to grow and produce a deadly toxin. This is a real hazard for homemade garlic in oil, as well as roasted garlic, herb oils and chili oils with fresh ingredients.

Never store homemade garlic in oil at room temperature. If you make it, keep it refrigerated at 40°F (4°C) or below and use it within about 4 days, or freeze it for longer storage. Commercial garlic-in-oil products contain added acidifiers or preservatives that make them safe.

For longer-lasting garlic, dry it, freeze minced garlic in small portions, or ferment it using a tested method; see fermenting local produce at home and recipes for preserving the harvest. Pickling garlic requires a tested recipe from the National Center for Home Food Preservation.

Raw Uses and Balancing Intensity

Raw garlic and onion are bright but intense. Tame them by soaking sliced onions in cold water for 10 minutes or in vinegar for quick pickled onions, which turn pink and mild. Rub a cut clove of garlic around a salad bowl for a subtle hint, or grate a small amount into dressings, leaving it to sit in acid for 10 minutes to soften its bite.

Quick pickled red onions: slice 1 onion thin, pack in a jar, and pour over a hot brine of ½ cup vinegar, ½ cup water, 1 teaspoon of salt and 1 teaspoon of sugar. Cool and refrigerate; ready in 30 minutes and good for about 2 weeks. See farm to table salads with homemade dressings.

Garlic and onions can cause digestive discomfort in some people, particularly those with irritable bowel syndrome following low-FODMAP diets. A registered dietitian can help with substitutions; chives and the green tops of scallions are often tolerated. Cooking garlic and onion does not prevent them from being toxic to dogs and cats, so keep them away from pets.

Readers who like this topic may also enjoy FARM.fm's community garden story, which will feel familiar to any volunteer, and FARM.fm's u-pick peach story, which brings a smile to the fruit season.

FAQ

Is it safe to keep garlic in oil on the counter?

No. Homemade garlic in oil can grow botulism bacteria, so keep it refrigerated and use within about 4 days or freeze it.

How do I stop garlic from burning?

Add it late, cook over medium or lower heat and stir constantly; it browns in under a minute and turns bitter if scorched.

Why do onions make me cry and how can I reduce it?

Cutting releases sulfur compounds that irritate your eyes; use a very sharp knife, chill the onion first and keep the root end intact as long as possible.

Keep learning

Browse all 259 guides →