Onion

An onion is the layered bulb of Allium cepa. It is pungent and crisp raw, sweet and savory when cooked, and is the starting point for most savory dishes.

Say it: UN-yun

Also called: Bulb onion, Dry onion, Pyaz, Garden onion, Common onion

By Andrew Cooks · Updated · 12 min read

At a glance

The onion is the layered, edible bulb of Allium cepa and the foundational aromatic of world cooking, the base on which countless savory dishes are built. It belongs to the allium family alongside garlic, shallot, leek and chives, and comes in many forms: firm storage onions in yellow onion, white onion and red onion colors, milder sweet onions, tiny pearl onions and cipollini, and fresh green forms like scallions and spring onions. Raw onion is sharp, crisp and pungent; cooked slowly it turns soft, sweet and deeply savory, and browned right down it becomes rich caramelized onion. Cutting an onion releases the sulfur gas that makes eyes water. Read the onion as cooking's universal starting point: pungent raw, sweet and savory cooked.

What it does for you

The onion's job is to lay down the savory foundation of a dish. Sweated gently in fat, usually with garlic, it becomes the aromatic base of an enormous range of cooking: the start of sauces, soups, stews, braises, curries, stir-fries and the classic flavor bases like mirepoix and sofrito.

Cook's tip

Sweat onions over gentle heat until soft and translucent, since cooking them too fast or too hot makes them catch and turn bitter. Add garlic later than the onion, because garlic burns much faster.

Kitchen trivia

Did you know the gas that makes you cry when chopping an onion is a defense weapon the plant builds only at the moment it is cut, and that a sharper knife really does mean fewer tears?

See the answer

Key facts

Flavor
Crisp, sharp and pungent raw; soft, mild and sweet when sweated; rich, deep and jammy-sweet when caramelized
Origin
Central Asia; among the oldest cultivated vegetables, grown for thousands of years
Type
The layered edible bulb of a cultivated allium plant
Scientific name
Allium cepa (family Amaryllidaceae, subfamily Allioideae)
Weight
1 tbsp weighs about 10 g

Common uses

Onion is used in savory cooking almost everywhere. Most often it is the aromatic starting point: diced and softened in fat, often with garlic, as the base of soups, sauces, stews, curries, ragùs and rice dishes, and as part of classic flavor bases such as mirepoix, sofrito and the 'holy trinity' of Cajun cooking. Raw onion, especially milder red onion and sweet onion, is sliced into salads, salsas, sandwiches, burgers and tacos for crisp bite.

Onions are roasted, grilled, fried into rings and crispy toppings, pickled (as pickled onion), and cooked down slowly into sweet caramelized onion for French onion soup, tarts and toppings. Small pearl onions and cipollini are braised or glazed whole. The dried forms (onion powder, onion flakes and onion salt) flavor spice rubs, seasoning blends, dips and processed foods.

Few savory cuisines do without onion in some form.

Match the onion and the cut to the job. For a cooked base, a yellow onion is the reliable default: dice it and sweat it gently in fat until soft and translucent before adding garlic and other ingredients: this builds sweet, savory depth and takes the raw edge off. Don't rush it; onions that are cooked too fast catch and turn bitter before they soften.

For real caramelized onion, cook sliced onions low and slow for a good while, stirring, until they collapse into a sweet, deep-brown jam. There is no genuine shortcut. For raw use in a salad or salsa, reach for a milder red onion or sweet onion and slice it thinly; soaking raw slices in cold water for a few minutes tames their bite.

As for tears: chilling the onion, using a genuinely sharp knife (which crushes fewer cells), and cutting near an extractor or open window all help more than any folk remedy.

Measure and nutrition

Pick an amount to see what it weighs and its nutrition.

1 tbsp of onion weighs about 10 g (0.35 oz) and has about 4 calories.

Nutrition for 1 tbsp of onion, about 10 g
NutrientAmount
Weight10 g (0.35 oz)
Calories4 kcal
Total fat0.01 g
Saturated fat0 g
Cholesterol0 mg
Sodium0.4 mg
Carbohydrate0.93 g
Fiber0.17 g
Total sugars0.42 g
Protein0.11 g

Nutrition and weights from USDA FoodData Central, Onions, raw. Values are estimates.

Cooking with onion tonight?

Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.

Save your recipes in Cooked.it, free

More about onion

The onion is the bulb of Allium cepa, a biennial plant of the allium family cultivated worldwide as one of the most important culinary vegetables and aromatics. The bulb is composed of concentric fleshy scales (modified leaves) and is eaten fresh, cooked or dried. Common bulb onions divide by color and use into yellow onion (the all-purpose cooking onion), white onion, red onion and low-pungency sweet onions, along with small types like pearl onions and cipollini and the fresh, immature forms sold as scallions and spring onions.

Onion is distinct from its relatives garlic, shallot, leek and chives. Cutting the bulb ruptures its cells and releases sulfur compounds that both create its pungent flavor and irritate the eyes. It is a base ingredient rather than a dish in itself.

An onion is a rounded bulb built from concentric fleshy layers (modified leaves) wrapped in a dry, papery outer skin, growing from a flat root base at the bottom and tapering to a neck at the top. Skin color varies with type: golden-brown (yellow onion), white (white onion) or deep purplish-red (red onion), with flesh that is white to pale, sometimes tinged purple. A good onion is firm and heavy with dry, tight, papery skin and no soft spots, sprouting or musty smell.

Whole and unbroken it smells mild, but cutting into the crisp, juicy layers releases a sharp, pungent, eye-stinging aroma. Sizes run from tiny pearl onions up to large spanish onions. Cooked, the crisp layers collapse into something soft, translucent and sweet; browned slowly, they turn golden, glossy and jammy.

What it contributes depends on how it is cooked. Raw, it is crisp, sharp and pungent, adding bite to salads, salsas, burgers and sandwiches. Sweated slowly until soft and translucent, it turns mild and sweet and melts into the background of a dish.

Cooked longer until deeply browned, it becomes caramelized onion, rich, sweet and savory, the soul of French onion soup and countless toppings. Onion also adds moisture, body and natural sweetness, and its dried forms (onion powder, onion flakes and onion salt) carry that savory depth into rubs, blends and dishes where fresh onion is impractical.

Forms and grades

Whole bulbs in yellow, white, red and sweet types; pearl and cipollini onions; scallions and spring onions; onion powder, flakes, salt; frozen and pickled. Made from: the underground bulb, made of concentric fleshy scales (modified leaves); also the green tops when immature.

Storage and shelf life

Store whole bulbs cool, dry and airy in a mesh bag or basket, out of the fridge and away from potatoes; refrigerate only cut onion, wrapped.

Pantry
Firm storage onions keep several weeks to a couple of months in a cool, dry, airy place; sweet onions keep less well.
Fridge
Cut onion keeps a few days refrigerated in a sealed container; whole onions are better out of the fridge.
Freezer
Chopped raw or cooked onion freezes for months; texture softens, so best for cooked dishes.

Substitutions

Substitutes for onion
Use insteadHow muchWhat changes
yellow onion (the default cooking onion)1:1The all-purpose choice for most savory cooking and building an aromatic base
shallot (milder, sweeter)1:1 by volumeA gentler, more refined allium, good raw and in delicate dishes, though pricier
onion powder or onion flakes~1 tbsp flakes per small onionDried onion for convenience or where fresh is impractical. Lacks fresh texture and moisture

Common mistakes

  1. A frequent mistake is rushing the cooking: onions need gentle, patient heat to soften and sweeten, and cooking them too fast or too hot makes them catch and turn bitter before they are properly done, especially when trying to caramelize, which genuinely takes time and cannot be faked in a couple of minutes.
  2. Another is choosing the wrong type: using a sharp yellow onion raw where a milder red onion or sweet onion belongs can overpower a salad, while expecting a sweet onion to give the same savory base as a storage onion disappoints.
  3. People also add onion and garlic at the same time, though garlic burns much faster and should go in later.
  4. Cutting onions with a dull knife crushes more cells and both worsens the tears and speeds spoilage of the cut pieces.
  5. Finally, storing onions in the fridge or sealed in plastic, or next to potatoes, makes them soften, sprout and rot faster: they keep best somewhere cool, dry and airy.

Product picks

History

The onion is one of the oldest cultivated vegetables, grown for thousands of years and thought to originate in Central Asia. It was a staple of the ancient world: the Egyptians revered it, depicting it in tomb art and feeding it to workers, and the Greeks and Romans ate it widely. Hardy, storable through winter and easy to grow and transport, the onion spread across Europe, Asia and the Middle East and became a foundational food for rich and poor alike, valued precisely because it kept well and made plain food savory.

Carried by settlers to the Americas and around the globe, it became a near-universal base ingredient. Different regions developed and favored their own types: the sharp storage onions of temperate climates, the mild sweet onions of particular soils, the red onions of the Mediterranean and South Asia, and the onion settled into its role as the indispensable aromatic underlying most of the world's savory cooking.

Is it still used today?

The onion remains one of the most widely grown and consumed vegetables on Earth, a fixture of virtually every savory cuisine and nearly every home kitchen. It is produced in enormous quantities worldwide, stores and ships well, and is cheap and available year-round, which keeps it central to cooking at every level from street food to fine dining. The all-purpose yellow onion does most of the everyday work, while cooks reach for red onion and sweet onion for raw uses, white onion in Mexican cooking, and small onions like pearl onions and cipollini for special preparations.

Dried onion products and pre-chopped and frozen onions add convenience, and specialty and heirloom onions have their enthusiasts. Whether as the first thing to hit the pan or a raw garnish scattered on top, the onion is so basic to savory food that most cooks simply take its constant presence for granted.

Questions people ask

What is the difference between yellow, white, red and sweet onions?

They are different types of the same species, suited to different jobs. The yellow onion is the all-purpose cooking onion: sharp raw but rich and balanced when cooked, and the default for most savory dishes. The white onion is a bit sharper and cleaner-tasting, common in Mexican cooking and salsas.

The red onion is milder and prettier, with purple skin, and is favored raw in salads, sandwiches and salsas as well as for pickling. Sweet onions such as vidalia onions are low in pungency and high in sugar, mild enough to eat raw and good for onion rings, though they do not store as well or give as savory a cooked base. As a rule, reach for yellow onions to cook, and red or sweet onions to eat raw, and you will rarely go wrong.

Why do onions make you cry, and how can I stop it?

When you cut into an onion you rupture its cells, and enzymes react with the onion's sulfur compounds to produce a volatile gas (a lachrymatory or 'tear-making' agent). That gas drifts up to your eyes, reacts with the moisture there to form a mild irritant, and your eyes water in response. The more you crush and damage the cells, the more gas is released.

The things that genuinely help all reduce cell damage or keep the gas away from your eyes: use a really sharp knife, which slices cleanly rather than crushing; chill the onion beforehand, since cold slows the reaction and the gas's release; cut near a running extractor fan, open window or fan that carries the gas away; and work quickly. Cutting the root end last helps too, as the base holds a high concentration of the compounds. Many folk tricks do little, but a sharp knife and good airflow really do make onion-cutting far less tearful.

How do I caramelize onions properly?

Real caramelized onion takes patience: there is no genuine five-minute version. Slice the onions (yellow onions are ideal) fairly thinly and even, then cook them in a good amount of butter or oil in a wide pan over medium to medium-low heat, stirring regularly. At first they soften and turn translucent; then, over a long, slow cook (often the better part of an hour) they steadily color from pale to gold to a deep, glossy brown as their sugars caramelize, collapsing into a sweet, jammy mass.

A pinch of salt helps draw out moisture, and a splash of water deglazes any sticking so it does not burn. The keys are low, steady heat and time: rush it on high heat and the onions scorch and taste bitter rather than sweet. Properly caramelized onions are the soul of French onion soup, tarts, burgers and countless toppings, and they keep for days once made.

What is the best onion for cooking versus eating raw?

For cooking, the yellow onion is the standard workhorse: it has the balance of sharpness and sweetness that makes a good savory base, and it holds up to long cooking, sweating down or caramelizing beautifully. For eating raw, milder onions are kinder: the red onion is the classic choice for salads, sandwiches, burgers and salsas because it is less harsh and looks attractive, and sweet onions like vidalia onions are mild enough to eat in slices. White onions sit in between and are popular raw in Mexican dishes.

If a raw onion still tastes too strong, slicing it thinly and soaking the slices in cold water for ten minutes or so rinses away much of the pungency. So a rough rule is: yellow to cook, red or sweet to eat raw, white for Mexican cooking and salsas.

How should I store onions so they last?

Whole onions like to be kept cool, dry and airy: a mesh bag, basket or open bowl in a pantry or cupboard is ideal, out of direct light. They do not want to be in the fridge, where the damp, cold air makes them soft and moldy, and they should not be sealed in plastic, which traps moisture. Kept well, firm storage onions such as yellow onions last several weeks to a couple of months; milder sweet onions spoil faster and are best used sooner.

One important tip is to keep onions away from potatoes, because each speeds the other's spoilage and sprouting. Once an onion is cut, wrap it and refrigerate it, using it within a few days. If you have too many, chopped onion freezes well for cooking, though it loses its crispness and is then only good for cooked dishes.

Are scallions, spring onions and green onions the same as onions?

They are all alliums and closely related, but not quite the same thing as a mature bulb onion. Scallions (often sold as 'green onions') are young, slender onions harvested before they form a real bulb, with a small white base and long green tops, and a mild, fresh flavor used raw or lightly cooked. Spring onions are similar but a little more developed, with a small rounded bulb.

They come from onion-type alliums but are used differently from big cooking onions: you eat both the white and green parts, often raw as a garnish or stirred in near the end of cooking, rather than as a long-cooked base. So while a bulb onion builds the savory foundation of a dish, scallions and spring onions add a lighter, fresher oniony note: related, but distinct in the kitchen, which is why they have their own pages here.

Trivia answer

An onion sitting whole on the counter cannot make you cry; the tear-inducing gas does not exist until you cut into it. Like garlic, the onion keeps its chemical weapons in separate compartments. When you slice through the bulb you rupture its cells and bring together a stored sulfur compound and enzymes, which react in a rapid chain that produces a small, volatile molecule known as the lachrymatory factor (syn-propanethial-S-oxide).

This gas wafts upward, reaches the film of moisture on your eyes, and forms a mild sulfuric irritant, so your eyes sting and water to flush it away. It is essentially the plant's way of discouraging animals from eating its bulb. Understanding the mechanism explains why the popular remedies that actually work, work: crushing the onion's cells is what releases the gas, so a genuinely sharp knife (which cleanly severs cells rather than mashing them) releases less of it, and chilling the onion slows the reaction and the gas's escape, while good airflow from a fan or extractor simply carries it away before it reaches your eyes.

Scientists have even bred a low-tear 'tearless' onion by dialing down the enzyme responsible. The everyday misery of chopping onions, in other words, is a burst of defensive chemistry you trigger yourself with every cut.

Origin and background

How it spread

Cultivated across the ancient Near East, Egypt, Greece and Rome; spread through Europe and Asia and carried worldwide by settlers.

Where it's popular

Grown and eaten worldwide; major producers include China and India; a staple in virtually every savory cuisine.

Cuisines that use it

Near-universal: the aromatic base of European, Asian, Middle Eastern, African and American cooking.

How it's made

How it's produced

Grown as an annual crop from seed or sets; bulbs are lifted at maturity, cured and dried for storage; day-length affects bulbing.

From the same source

Onion powder, onion flakes and onion salt are dried forms; scallions and spring onions are immature onions; caramelized and pickled onion are preparations.

Growing and season

Season

Main-crop onions are harvested in late summer and cured for year-round storage; fresh green and 'spring' onions appear earlier.

Growing zones

Widely adaptable, grown across roughly USDA zones 3 to 9; variety choice depends on day length (long-day, short-day, intermediate).

Climate

Bulbing is triggered by day length, so growers match long-day, intermediate or short-day varieties to their latitude.

Possible allergens

A FODMAP that can trigger IBS symptoms; the cut bulb releases eye-irritating gas; toxic to dogs and cats.

Diet notes

Vegan, vegetarian and gluten-free; high in fructans (FODMAPs) that can affect sensitive digestions; a source of flavor with little fat.

Important: Allergen information is provided for general information only. We cannot guarantee it is complete or accurate, and ingredients and manufacturing practices vary by brand and change over time. Always read the label on the product you are using. If you have a food allergy or a medical condition, consult your health care provider.

Cooking with onion tonight?

Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.

Save your recipes in Cooked.it, free

Sources

About this page

Andrew Cooks tasting sauce from a wooden spoon at the stove

Written by Andrew Cooks for Cooked.it. Pages are drafted with AI from our research database, then checked against sources and our editorial rules. Found something wrong? Tell us and we’ll fix it.

How we writeFound an error? Tell us