Whether you're making a comforting stew or a mouthwatering curry, they are often the first ingredient you reach for.
But scientists say that you might have been cooking your onions wrong.
To get the truly deep, caramelised onions needed for many dishes, some recipes require upwards of 30 to 40 minutes of cooking.
But with a little scientific knowledge and one simple ingredient, you can more than half that time.
The secret comes down to controlling the speed of a chemical reaction known as the Maillard reaction, which is responsible for making food brown and delicious.
Since this reaction is dependent on pH, chefs can speed up or slow down the reaction as they need.
So in order to make onions brown faster, we need to increase their pH by adding something alkaline to the mix.
That's why just a pinch of baking soda is the key to unlocking delicious flavours in just a fraction of the time.
Browning onions is the first step of many great recipes, but scientists say you could be wasting time. With one unusual ingredient, you could make onions cook twice as fast (stock image)
Why does baking soda make onions brown faster?
When you drop onions into a hot pan, a whole range of chemical and physical reactions start happening all at once.
First, the water inside the onion's cells boils and vaporises, tearing the cells apart and releasing a burst of sugars, proteins, and other volatile chemicals.
As the heat rises, that mixture of chemicals starts to react and combine in a complex set of processes we recognise as cooking.
However, when chefs talk about caramelising onions, this is actually a bit misleading.
Caramelising happens when the long chains of carbohydrates in starch and complex sugars break down into shorter molecules like glucose and fructose.
Those simple sugars then combine into hundreds of different molecules to create the bitter-sweet flavours we find in cooked or burned sugars.
But the kind of browning chefs are interested in is actually another set of extremely complex interactions.
Adding one eighth to one quarter of a teaspoon of baking soda for every three onions will ensure that they become deeply browned in as little as 10 minutes (stock image)
How to brown onions twice as fast
To speed up how fast onions brown, you need to control a series of chemical changes called the Maillard reaction.
The Maillard reaction happens faster when the pH of food is higher.
Since onions are naturally acidic, you need to add an alkaline ingredient.
The best way to do this is to add a small amount of baking soda.
Don't add too much, just an eighth to a quarter of a teaspoon for every three onions will do.
This should make your onions become deeply brown in around 10 minutes.
While the sugars are breaking down into smaller pieces, heat from the pan is also breaking up complex proteins into amino acids - the basic building blocks of biology.
Professor Marianne Lund, a food chemist from the University of Copenhagen, told Daily Mail: 'This initiates a cascade of reactions called the Maillard reaction, which eventually leads to brown pigments, called melanoidins.'
In addition to making onions brown, this reaction also produces a host of volatile compounds which give roasted foods their distinct smell and taste.
This is the exact same reaction we find in the browning on a perfectly cooked steak or in the hearty crust on a loaf of bread.
Controlling how and when this reaction occurs is something that any cook does without realising, but we can get even more control using science.
Professor Lund says: 'The reactivity of the reactive sites on proteins is increased under alkaline conditions.'
That means the higher we make the pH, the faster the Maillard reaction will occur and the quicker onions will brown.
Since onions naturally have a slightly acidic pH of around five, adding something alkaline will drastically improve cooking speeds.
The Maillard reaction is the same process that makes the crust on a loaf of bread brown and delicious. It happens when proteins and sugars react in the presence of heat (stock image)
How to perfectly chop an onion
Chop the onion in half as normal, peeling away the outer layers.
Place one onion half on the chopping board, flat side down.
Imagine a point below the centre of the onion, as far down as the onion half is tall.
Angle your knife so that all your cuts aim at this point, rather than at the centre of the onion.
That means tilting your knife slightly towards the chopping board on either side.
The resulting pieces will be as consistent as mathematically possible.
You don't want to add too much baking soda, but around an eighth to a quarter of a teaspoon for every three onions will yield dramatic results.
With the pH adjusted, you should be able to achieve levels of browning that would normally take half an hour in around 10 minutes.
You'll also need to make sure there are plenty of raw materials for the Maillard reaction to use, including both proteins and sugars.
That's why adding some dairy protein-rich butter not only makes your food taste great but also helps it cook faster.
Why you shouldn't always add baking soda to your onions
Although adding baking soda will reduce the cook time, there is an important caveat to remember.
That is because the Maillard reaction isn't the only chemical process that is affected by increasing the pH.
Alkaline conditions also weaken pectin, the natural starch which gives stability to the cell walls of plants.
The only catch is that a higher pH will also break down the cell walls of the onions faster than normal. That won't be good if you want robust pieces of onion for recipes like French onion soup (stock image)
That means adding baking soda will lead to your onions breaking down a lot faster than normal.
If you're not careful, this can result in a deeply browned onion paste, more like an onion jam than the solid strands of caramelised onions you might find in French onion soup.
It may be perfect if you want your onions to dissolve into a sauce or spread evenly through a dish, but not great if you want onions with some bite.
So, you will still need to think about whether the time-saving benefits are worthwhile for the dish you have in mind.
How to chop onions without crying
Scientists have revealed how to cut onions without crying - and their method is surprisingly simple.
According to a team at Cornell University, the secret to tear-free onion cutting is simply a sharp knife and a slow cut.
This method reduces the amount of onion juice that sprays into the air and gets into your eyes.
Previous studies have shown that onions cause eye irritation due to the release of a chemical called syn-propanethial-S-oxide.
However, until now, the best tactic to reduce the amount of this chemical spewed into the air during slicing has remained a mystery.
To answer this question once and for all, the team set up a special guillotine which could be fitted with different types of blades.
As they cut the onions, the researchers filmed the setup to assess exactly how much juice was being ejected into the air.
While you might think that a quick cut would result in less spray, surprisingly this wasn't the case.
'Our findings demonstrate that blunter blades increase both the speed and number of ejected droplets,' the team explained.
They added: 'Faster cutting also resulted in more juice generation, and thus more mist to irritate the eyes.'