Skip to content
Cook with Ipohbunny

Cook with Ipohbunny

Favourite Malaysian and Asian recipes with time-saving hacks

  • Home
  • About
  • Recipes
    • Cuisine
      • Chinese
      • Indian
      • Japanese
      • Korean
      • Malaysian
      • Middle Eastern
      • Thai
      • Vietnamese
      • Western
    • Ingredient
      • Beef & Lamb
      • Eggs
      • Noodles & Pasta
      • Poultry
      • Rice
      • Seafood
      • Vegetables
    • Meal
      • One-pot meal
      • Breakfast & Brunch
      • Snacks & Sweets
      • Condiments
      • Side dish
      • Soups & Stews
    • Other Home Cooks
  • Stories
  • Contact
  • Toggle search form

Onion Jam

Posted on June 7, 2021December 30, 2025 By Alexandra Wong 2 Comments on Onion Jam
Jump to Recipe Print Recipe

I’m no stranger to onion jam. A sweet-sticky condiment of slow-cooked onions, it’s typically served with burgers in Western restaurants. In Asia, it’s sometimes just called “caramelised onions”. Is it nice? Yes, but nothing to get excited about.

Until I ate a version made by a friend in Singapore, using her personal recipe.

Holy smokes.

Served on plain buttered sourdough, there was a dark molasses-y sweetness, a gentle vinegary tartness, and a savoury, deeply concentrated onion flavour that I had never experienced in commercial versions.

So this was what properly made onion jam tasted like. Grown-up. SPECTACULAR.

How can boring old fried onions taste so good, you might wonder?

Oi. Please don’t insult my good friend onion jam. Onion jam is NOT the same as as “fried onions”, okay? Onion jam is the delectable result of a painstaking, long-drawn-out labour of love that involves two key processes.

One, the Maillard reaction. A chemical process that takes place between amino acids and the sugar in the onions when cooking at high heats, the Maillard reaction is the reason that onions become brown.

Two, caramelisation. This means water gets removed and the sugar breaks down, resulting in that complex, meltingly sweet flavour that makes onion jam so irresistible.

#nerdgasm #foodscience

Obviously there was only one thing to do. I bugged my friend for the recipe and she kindly obliged. It does come with  a warning …

You need Buddha-level patience. Depending on the volume you make, your onion jam may take up to 2 hours to cook. Not passive cooking time, mind you, where you can go Insta-scrolling while the jam bubbles on the stove.

We’re talking about two hours of actual standing over the stove and constant stirring until it has achieved full jamminess. Like making kaya, although there’s this 10-minute version that I’d like to try.

Onion jam is sticky, sweet, slightly tangy and jammy

Still here? Okayyyyy… you’re masochistic, I see. If that’s the case ….

Here’s the main ingredients for onion jam aka the mother of all condiments.

Large onions. Use large onions please. In Malaysia, we call “shallots” small onions, but do not use them. Normal large onions are sweeter and milder than shallots. Both yellow and red onions are fine.
Butter and olive oil. Add butter for the flavour. You want flavour town right?
Italian herbs. The original recipe calls for thyme. We didn’t have any and substituted with oregano. To be honest, it won’t make much difference … unless you’re Italian 😉
Brown sugar. This helps the onions become jammy and adds a touch of sweetness. You can use white sugar, but brown sugar will deliver better results. We went really crazy and used molasses.
Sherry vinegar. The addition of an acidic component balances the sweetness with some tang.

There you go, simple pantry ingredients. You should totally go and make it NOW.

But … but … Alex, didn’t you just say onion jam takes two hours to make?

Properly jarred, your onion jam can last for a month in the fridge

I did. But I discovered recently that you might not need that long, if you’re making a smaller amount.

I actually found this out by accident. The original recipe calls for 1kg onions but we only had 250g at home. Since we didn’t want to go out to buy just one item, hubby (the official onion jam guy) made do with whatever we had.

To our surprise, the desired level of caramelisation and browning happened in roughly a quarter of the original cooking time. This particular experience seems to imply that cooking time corresponds to the amount of jam you’re making. However, we’ve not done this often enough to confirm my theory. I’ll update this post once we make onion jam again.

For what it’s worth, this is a fun kitchen project to carry out in the light of the post-COVID19 pandemic.

Whether it takes 20 minutes or 2 hours, I can say this with certainty: onion jam is worth every second of your effort. Have fun!!

Try my recipe for otak-otak, which can be used as a condiment or side dish.

Onion Jam

Sweet, jammy and tangy with a concentrated onion flavour, this onion jam recipe is to die for.
5 from 1 vote
Print Recipe Pin Recipe
Prep Time 15 minutes mins
Cook Time 30 minutes mins

Ingredients
  

  • 250g yellow onions
  • 2 garlic cloves (original recipe was 1)
  • 1 tbsp olive oil
  • 35g butter
  • 35g brown sugar
  • pinch of dried oregano or thyme
  • 1 cinnamon stick
  • 60ml sherry vinegar (See Recipe Note 1)
  • Salt and pepper to taste

Instructions
 

  • Slice up onions.
  • Chop up garlic
  • Melt butter in a heavy-bottomed pan over high heat.
  • Add onions and garlic, and stir well to coat with butter. Then add sugar, oregano, cinnamon and some salt and pepper.
  • Reduce heat and cook uncovered for 10 minutes.
  • When onions are soft enough to break when pressed against the side of the pan with a spatula, pour in the sherry vinegar.
  • Simmer everything, uncovered, over high heat, to reduce the liquid. You must stir frequently to avoid burning. This process may take about 10-15 minutes.
  • Once the onions are a deep brown colour and sticky and syrupy, draw a spoon across the  bottom of the pan. If this clears a path that fills rapidly with syrupy juice, your onion jam is ready.
  • Leave to cool in the pan, then scoop into sterilised jars and seal. This can be eaten straight away or kept in the refrigerator for up to 3 months.

Notes

Onion Jam - Quick FAQ

1. What is the difference between onion jam and fried onions?

Onion jam is a sweet-sticky condiment achieved through a slow-cooking process involving two key scientific reactions: the Maillard reaction (browning) and caramelization (the breakdown of sugars). Unlike basic fried onions, onion jam has a complex, concentrated flavor and a meltingly sweet, jam-like texture.

2. How long does it take to make homemade onion jam?

The cooking time for onion jam depends on the volume of onions used. While a large batch (1kg) can take up to 2 hours of constant stirring to achieve full "jamminess," smaller batches (around 250g) can be caramelized in approximately 30 to 45 minutes.

3. What are the best onions to use for onion jam?

Large yellow or red onions are the best choice for onion jam because they are sweeter and milder than smaller varieties. You should avoid using shallots (small onions), as they do not provide the same mellow sweetness required for the jam.

4. What gives onion jam its dark, sweet flavor?

The deep, molasses-like sweetness in onion jam comes from the caramelization of the onions' natural sugars, supplemented by the addition of brown sugar or molasses. These ingredients help the onions break down into a dark, jammy consistency.

5. Why do you add vinegar to onion jam?

Vinegar, such as Sherry vinegar, is added to onion jam to provide a gentle tartness. This acidic component is essential to balance the heavy sweetness and savory notes of the caramelized onions, creating a more sophisticated flavor profile.

6. Can I use white sugar instead of brown sugar for onion jam?

Yes, you can use white sugar, but brown sugar or molasses is recommended for the best results. Brown sugar contains molasses, which contributes to a darker color and a deeper, more complex sweetness that white sugar lacks.

7. What herbs go best with onion jam?

Thyme is the traditional herb used in onion jam recipes, but it can be easily substituted with oregano or general Italian herbs. These savory herbs complement the sweetness of the onions without overpowering the condiment.

8. Do I need to stir onion jam constantly while cooking?

Yes, making onion jam requires active cooking. To prevent burning and ensure even caramelization, you must stand over the stove and stir the onions regularly for the duration of the cooking process until the desired texture is reached.

9. How long can I store homemade onion jam?

When properly stored in a sealed jar and kept in the refrigerator, homemade onion jam will stay fresh and flavorful for up to one month.

10. What can I serve with onion jam?

Onion jam is a versatile "mother of all condiments." It is traditionally served with Western-style burgers, but it is also spectacular when spread on plain buttered sourdough bread or used to add a savory-sweet depth to cheese boards.
Post Views: 7,572
Condiments, Western

Post navigation

Previous Post: Ginger Scallion Chicken
Next Post: Garlic Fried Rice

Comments (2) on “Onion Jam”

  1. Susan says:
    November 27, 2021 at 2:22 pm

    5 stars
    Excellent recipe, Alex! It was so easy to make with so few ingredients and it turned out perfect. I am happy with this hidden gem of a recipe. Thank you so much 🙂

    Reply
    1. Alexandra Wong says:
      November 27, 2021 at 7:37 pm

      Thank you Susan for trying it out and letting me know – I’m so happy it worked out for you!

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recipe Rating




Most Popular Recipes

  • Braised Yee Mee (106,908)
  • Hyderabad Mutton Masala (46,858)
  • Mum’s Fried Beehoon (45,127)
  • Sang Har Meen (36,221)
  • Pengat Pisang (31,158)
  • Claypot Chicken Rice (30,754)
  • Nyonya Otak-otak (29,061)
  • Easy Baked Cheese Rice (23,538)
  • Kai Si Hor Fun (Ipoh Chicken Hor Fun) (23,429)
  • Woo Thau Koh (Yam Cake) 芋头糕 (23,392)

Site Map

  • Home
  • About
  • Recipes
    • Cuisine
      • Chinese
      • Indian
      • Japanese
      • Korean
      • Malaysian
      • Middle Eastern
      • Thai
      • Vietnamese
      • Western
    • Ingredient
      • Beef & Lamb
      • Eggs
      • Noodles & Pasta
      • Poultry
      • Rice
      • Seafood
      • Vegetables
    • Meal
      • One-pot meal
      • Breakfast & Brunch
      • Snacks & Sweets
      • Condiments
      • Side dish
      • Soups & Stews
    • Other Home Cooks
  • Stories
  • Contact
  • Instagram
  • LinkedIn
  • TikTok
  • YouTube

Who’s Ipohbunny, lah?

 

Welcome!

I’m Alexandra Wong, aka Ipohbunny. Yes, I was born in Ipoh, a city in the state of Perak, Malaysia. Oh and like many Ipohites, I’m a hardcore foodie!

As a food and travel journalist and author, and daughter of two amazing home cooks (my mum makes better food than most restaurants!) I am passionate about recreating restaurant-style dishes at home.

From Indian to Japanese, Laotian to Italian, I’m game to try any cuisine from any country – as long as there’s a stove involved (yes, I even bake bread on it) and my well-loved airfryer is within reach!

Connect with me if you love ideas for easy gourmet meals and real-life kitchen stories. I’m active on Instagram, Facebook and Linkedin.

Chat soon!

Copyright © 2026 Cook with Ipohbunny.

Powered by PressBook WordPress theme