A stir-fry that tastes flat or ends up swimming in thin, salty liquid usually comes down to the sauce. In European cooking, sauces are often built slowly from stock and reduced for hours. Chinese home cooking mostly works the other way: a handful of seasonings are mixed in a bowl before cooking, then hit the hot wok for the last minute, where they thicken and coat everything in a glossy layer.

Once you understand the few building blocks and how to balance them, you can make a sauce in the time it takes the rice to cook. This guide covers the store-cupboard basics, the balance of flavours, how cornflour works, and three sauces to make again and again.

The store-cupboard basics

Light soy sauce is the main seasoning: thin, salty and savoury. When a recipe says simply soy sauce, this is usually the one.

Dark soy sauce is thicker, less salty and slightly sweet, and is used mainly for colour. A teaspoon turns fried rice or braised dishes a rich mahogany.

Oyster sauce is thick, savoury and slightly sweet, and gives body and gloss. It contains shellfish; vegetarian versions made with mushrooms are available.

Shaoxing rice wine adds depth and a warm, rounded aroma. Dry sherry is the closest swap.

Chinese black vinegar, often sold as Chinkiang or Zhenjiang vinegar, is dark, mellow and malty. Rice vinegar is lighter and sharper.

Toasted sesame oil is a finishing seasoning rather than a cooking oil. Add a few drops at the end, as its flavour fades with heat.

Cornflour, sugar and ground white pepper complete the set, along with tomato ketchup. Ketchup is a common shortcut in sweet and sour sauces, giving sweetness, acidity, colour and body from one bottle, and there is nothing wrong with reaching for it.

For a gluten-free sauce, check labels: most soy sauces contain wheat, so use tamari or a soy sauce labelled gluten-free, and check oyster sauce too.

Balancing a sauce

Most stir-fry sauces balance four things: salt (soy, oyster sauce), sweet (sugar, ketchup, honey), sour (vinegar) and savoury depth (oyster sauce, rice wine, stock). Mix the sauce in a bowl, then taste a drop. If it tastes harsh and salty, add a pinch of sugar or a splash of water. If it tastes flat, add a little vinegar. If it is too sweet, add more soy.

Remember that the sauce will reduce and concentrate in a hot wok, so it should taste slightly weaker in the bowl than you want on the plate.

How cornflour thickens

Cornflour gives Chinese sauces their silky gloss. Its starch granules swell and thicken once the sauce comes to the boil, turning it from thin liquid to a light coating in about 30 seconds.

Always mix cornflour with cold liquid first, as it forms lumps in hot liquid. About 1 tsp cornflour thickens 100-125ml sauce to a light coating; use 2 tsp for a thicker, clingy sauce. Starch settles to the bottom of the bowl as it stands, so stir the sauce again just before you pour it in.

How to use a stir-fry sauce

Prepare everything before you start: the ingredients cut, the sauce mixed and a spoon next to it. Stir-frying is fast and there is no time to measure once the wok is hot.

Cook the meat, fish, tofu and vegetables over a high heat, then pour the stirred sauce into the wok around the edges, where it hits the hot metal and bubbles at once. Toss for 30-60 seconds until the sauce boils, thickens and turns glossy and every piece is coated. Take it off the heat straight away, add any sesame oil and serve.

Three sauces to start with

Ingredients for an all-purpose brown sauce

3 tbsp light soy sauce

2 tbsp oyster sauce

1 tbsp Shaoxing rice wine

1 tsp caster sugar

¼ tsp ground white pepper

100ml cold chicken or vegetable stock, or water

1½ tsp cornflour

Makes enough for a stir-fry for 2-3.

Method for the all-purpose brown sauce

Whisk everything together in a bowl until the cornflour dissolves. Pour into the wok for the last minute of cooking with beef and broccoli, chicken and peppers, or prawns and greens. Finish with a few drops of toasted sesame oil.

Ingredients for a sweet and sour sauce

4 tbsp tomato ketchup

3 tbsp rice vinegar

2 tbsp light brown soft sugar

1 tbsp light soy sauce

100ml pineapple juice or water

2 tsp cornflour

Makes enough for a stir-fry for 2-3.

Method for the sweet and sour sauce

Whisk everything together until smooth and taste: it should be bright and tangy with a clear sweetness. Add it to the wok with stir-fried peppers, onion and pineapple, then toss through crisp-fried chicken, pork or tofu just before serving so the coating stays crunchy.

Ingredients for a fried rice seasoning

1½ tbsp light soy sauce

1 tsp dark soy sauce

½ tsp caster sugar

¼ tsp ground white pepper

1 tsp toasted sesame oil

Enough for fried rice for 2, made with about 400g cooked, chilled rice.

Method for the fried rice seasoning

Mix the soy sauces, sugar and pepper in a small bowl. Fry the rice in a hot wok with a little oil until the grains are separate and hot, push it to one side and scramble a beaten egg in the space, if you like, then add the seasoning, stir-fry for 1-2 minutes until the colour is even and finish with the sesame oil. There is no cornflour here, as fried rice should be dry, not saucy.

Rice safety

Day-old rice gives fried rice a drier, more separate texture, but it needs careful handling. Food Standards Scotland advises cooling cooked rice as quickly as possible, ideally within 1 hour, putting it in the fridge once it reaches room temperature, eating it within 24 hours, reheating it until steaming hot all the way through and never reheating it more than once. Spread freshly cooked rice on a tray to cool it faster.

Common mistakes and how to fix them

Gloopy, jelly-like sauce: too much cornflour. Thin it with a splash of water in the wok.

Thin, watery sauce: the cornflour settled before you poured, or the sauce never boiled. Stir it just before adding and make sure it bubbles.

Lumpy sauce: the cornflour was added to hot liquid. Always mix it with cold liquid first.

Too salty: soy and oyster sauce were doubled up without balance. Add a little sugar, vinegar or water, and taste in the bowl before you cook.