How to Make Onion Jam

4.86 from 21 votes
Jump to Recipe

This post may contain affiliate links. Please read our disclosure policy.

This 6-ingredient caramelized onion jam is rich, sweet, jammy, and packed with flavor (and no pectin!) – perfect for enjoying with a cheese board, over burgers, at Thanksgiving, in a grilled cheese, and more!

Homemade onion jam

While I’ve shared recipes for strawberry jam, rose petal jam, and fig jam, I’m heading a little more savory this time around. This sweet onion jam recipe is wonderfully sweet and savory, like caramelized onions but even better thanks to the addition of balsamic vinegar, sugar, and thyme.

This onion condiment requires no pectin or complicated jam-making techniques. You can also swap out the vinegar, the sugar, and the herbs, or add extra ingredients to it. Keep reading for tons of my favorite recommendations. Once ready, these onion preserves are a super versatile addition to party spreads, cheeseboards, appetizers, and mains!

For more jam recipes, you might enjoy my pumpkin jam, raspberry jam, blackberry jam, and ginger marmalade!

Onion jam in a jar and crackers and cheese next to it

What is Onion Jam?

Onion jam (sometimes called onion jelly or caramelized onion jam) is a simple combination of onions, sugar, and vinegar, with your choice of herbs and other aromatics cooked down into a sticky, sweet, jam-like consistency. Unlike fruit jam, the diced onion is left intact, and the mixture is pectin-free.

For this recipe, the sweet and savory onion flavor is packed with tons of depth thanks to the addition of balsamic vinegar, black pepper, thyme, and bay leaves.

The Ingredients

This simple balsamic onion jam recipe requires just six pantry-friendly ingredients.

  • Onions: I recommend using sweet onion or yellow onions. I prefer sweet onion jam, though.

What onions are best for this onion jam recipe?

I highly recommend using sweet onions, which are not only sweeter (unsurprisingly) than white onion and red onions but are my go-to for caramelized onions and French onion soup, too.
Yellow onions (also called brown onions) are my backup choice, as they aren’t too strong and have a subtle sweetness. However, white and red onions will still work.

  • Sugar: I used unrefined cane sugar. You could use another type of sugar, like coconut sugar or brown sugar, though the flavor will vary.
  • Olive oil: I used extra virgin olive oil, but feel free to use another neutral cooking oil like avocado oil.
  • Vinegar: I use balsamic vinegar, which is typical in an onion jam recipe. However, you could also experiment with red wine vinegar, white wine vinegar, or even apple cider vinegar.
  • Salt: Season to taste.
  • Herbs: I used fresh thyme and a bay leaf.
Ingredients for onion jam

Optional Add-ins and Variations

  • Butter: For a richer onion jam, replace some olive oil with butter.
  • Rosemary: Add a single sprig (around 3-4 inches long) to the saucepan. Remove it before jarring the balsamic onion jam.
  • Oregano: A pinch of dried oregano would pair well.
  • Lemon: You can add lemon juice and zest to brighten the flavor.
  • Clove: Add a pinch of ground clove for depth.
  • Worcestershire sauce: A splash will add further depth.
  • Allspice leaves: You could use this instead of a bay leaf.
  • Ginger: Use finely grated ginger. I recommend ¼ tsp to begin and increase if you prefer a more robust flavor.
  • Garlic: I haven’t tried this, but I imagine adding a small amount of roasted garlic to the onion jam recipe would taste delicious.
  • Alcohol: Add a splash of port or bourbon towards the end.
  • Spice: Add a pinch of red pepper flakes OR some finely chopped chilies.
  • Mustard: A small amount of Dijon mustard helps to add depth and a slight heat.

How to Make Onion Jam (Onion Preserves)

Step 1: Sauté the Onions

First, peel and dice (or slice) the onions.

Diced onions on chopping board

How to Dice an Onion?

  1. Slice the onion in half, through the root, and then peel the onion.
  2. Slice off the very end of the top of the onion (not the root) and cut vertical slices along the top of each onion half, almost all the way to the root but not cutting through it. How far apart the vertical slices are will affect how large the diced pieces are. I recommend 1/4 inch.
  3. With the onion still laid flat against the table, carefully slice the onion horizontally (still keeping the root intact) a couple of times.
  4. Make slices across the length of the onion to cut it into diced pieces. It can help to gently hold the sides and tops near the root, to keep it together while you slice.

Then, in a large heavy-bottomed pot/skillet, add the oil and heat over medium-high heat.

Once hot, add the onions to the pan and cook for 15 minutes, stirring often, until the onions are tender and golden-brown.

Steps for cooking onions in olive oil

Step 2: Add the Remaining Ingredients

Reduce the heat to low, add the thyme and bay leaf, and cook for 3-5 minutes.

Then, sprinkle the sugar over the onions, leaving it to cook for 5 minutes, untouched. The aim is for it to melt over the onions without stirring.

If you stir the sugar in with the onions, it can seize into clumps. While it’s possible to melt it back down again, the process takes longer and is annoying.

Increase the heat to high and cook for 5 minutes, or until the sugar caramelizes and turns golden-brown, without stirring.

To avoid the caramel burning, it’s important to watch the pan fairly closely at this point so you can reduce the heat if needed.  

Steps for making onion jam

Next, add the balsamic vinegar and stir, then simmer on low for 5 minutes. During this time, the balsamic onion jam mixture should thicken, though feel free to simmer it slightly longer if needed.

It’s ready when you draw your spoon across the bottom of the pan, and it leaves a clear trail for several seconds.

Finally, remove the herbs from the pan, taste, and season the sweet onion jam. Allow it to cool before transferring it to a sterile jar to store.

A pan with homemade onion jam

Storage Instructions

Storing: Store the balsamic onion jam in a sterilized jar in the fridge for 7-10 days.

Alternatively, transfer it to the freezer for 2-3 months (in a jar with 1-inch headspace or in portions in an ice cube tray).

Homemade onion jam in a jar

How to Serve Onion Jam?

To say that there are many ways to enjoy this onion jam would be a massive understatement. Here are just a few of my top picks:

You should enjoy this sweet onion jam at room temperature or warm (not chilled) for the best flavor and texture.

Let me know in the comments how you best enjoy this caramelized onion jam.

A cracker with onion jam and piece of cheese

FAQs

Can I make onion jam with red onions?

Absolutely. Feel free to use whatever onions you have. The flavor and color will vary slightly, but red onion jam still tastes great.

Can I make sugar-free onion jam?

To make a sugar-free version, you can use your favorite sweetener: stevia, erythritol, monk fruit sugar, etc., added to taste. However, note that it will affect the set of the jam, so you may need to add some cornstarch or pectin to thicken the mixture. It also affects the shelf life, as sugar is a natural preservative.

Can you water bath can onion jam?

Onion jam cannot be water bath canned. It has to be pressure canned. It’s best to refer to the USDA and other professional guidelines for more information.

A spoonful of homemade onion jam

Recipe Tips and Notes

  • Adjust the heat if necessary: If it looks to be cooking too quickly, then reduce the heat slightly. You don’t want to burn the onions or the sugar caramel.
  • Time hack: Cut down on onion dicing time by using a food chopper to do the job. Just peel and slice them in half, then let the chopper do the work.
  • Slice the onions evenly: This will ensure they cook evenly on the stovetop.
  • If the onion jam is too runny: This may be the case if you’ve reduced or substituted the sugar. You could add some cornstarch slurry or pectin if preferred.
  • For more flavor: For a more “caramelized onion” jam, I recommend fully caramelizing the onions before adding the herbs and sugar and continuing with the recipe.
  • Adjust the texture: Traditional onion jam has the texture of the diced onion. If you want something smoother, feel free to use an immersion blender/blender to adjust it to your desired texture and consistency.
  • Make sure to use sterilized jars: Whether or not you plan on water bath canning the jam, ensure you use sterilized jars for the longest shelf life. Wash them in hot, soapy water, then rinse and transfer to an oven (minus rubber and other non-heat-proof parts) at 325ºF/160ºC for 10-15 minutes.

More Simple Onion Recipes

If you try this balsamic onion jam recipe, I’d love to hear your thoughts/questions below. Also, I’d appreciate a recipe card rating below, and feel free to tag me in your recipe recreations on Instagram @Alphafoodie!

Caramelized Onion Jam With Balsamic Vinegar

4.86 from 21 votes
By: Samira
This 6-ingredient caramelized onion jam is rich, sweet, jammy, and packed with flavor (and no pectin!) – perfect for enjoying with a cheese board, over burgers, at Thanksgiving, in a grilled cheese, and more!
Prep Time: 5 minutes
Cook Time: 35 minutes
Total Time: 40 minutes
Servings: 24

Equipment

Ingredients 
 

  • 1.45 lb sweet onion 3 medium. Yellow, white, or red onion will also work
  • 3 Tbsp olive oil or avocado oil
  • 6 oz cane sugar 3/4 cup OR brown sugar, coconut sugar, etc.
  • 0.1 oz thyme few sprigs
  • 1 bay leaf
  • 1/2 cup balsamic vinegar or red wine vinegar
  • 1/4 tsp salt adjust to taste

This will yield about 1.5 cups of onion jam (14 oz/400 g)

    Instructions 

    Step 1: Sauté the Onions

    • Peel and dice (or slice) the onions. Check the Notes below for tips on how to dice them easily.
    • In a large heavy-bottomed pot/skillet, add the oil and heat over medium-high heat.
    • Once hot, add the onions to the pan and cook for 15 minutes, stirring often, until the onions are tender and golden-brown.

    Step 2: Add the Remaining Ingredients

    • Reduce the heat to low, add the thyme and bay leaf, and cook for 3-5 minutes.
    • Sprinkle the sugar over the onions, leaving it to cook for 5 minutes, untouched. The aim is for it to melt over the onions without stirring.
      If you stir the sugar in with the onions, it can seize into clumps. While it’s possible to melt it back down again, the process takes longer.
    • Increase the heat to high and cook for 5 minutes, or until the sugar caramelizes and turns golden-brown, without stirring.
      To avoid the caramel burning, it's important to watch the pan fairly closely at this point so you can reduce the heat if needed.
    • Add the balsamic vinegar and stir, then simmer on low for 5 minutes. During this time, the balsamic onion jam mixture should thicken, though feel free to simmer it slightly longer if needed.
      It's ready when you draw your spoon across the bottom of the pan, and it leaves a clear trail for several seconds.
    • Finally, remove the herbs from the pan, taste, and season the sweet onion jam. Allow it to cool before transferring it to a sterile jar to store.

    Storage Instructions

    • Storing: Store the jam in a sterilized jar in the fridge for 7-10 days.
      Alternatively, transfer it to the freezer for 2-3 months (in a jar with 1-inch headspace or in portions in an ice cube tray).

    Notes

    • Adjust the heat if necessary: If it looks to be cooking too quickly, then reduce the heat slightly. You don’t want to burn the onions or the sugar caramel.
    • Time hack: Cut down on onion dicing time by using a food chopper to do the job. Just peel and slice them in half, then let the chopper do the work.
    • Slice the onions evenly: This will ensure they cook evenly on the stovetop.
    • If the onion jam is too runny: This may be the case if you’ve reduced or substituted the sugar. You could add some cornstarch or pectin if preferred.
    • Adjust the texture: Traditional onion jam has the texture of the diced onion. However, if you want something smoother, feel free to use an immersion blender/blender to adjust it to your desired texture and consistency.
    • Make sure to use sterilized jars: Whether or not you plan on water bath canning the jam, ensure you use sterilized jars for the longest shelf life. Wash them in hot, soapy water, then rinse and transfer to an oven (minus rubber, metal, and other non-heat-proof parts) at 325ºF/160ºC for 10-15 minutes.
    How to Dice an Onion?
    1. Slice the onion in half, through the root, and then peel the onion.
    2. Slice off the very end of the top of the onion (not the root) and cut vertical slices along the top of each onion half, almost all the way to the root but not cutting through it. How far apart the vertical slices are will affect how large the diced pieces are. I recommend 1/4 inch.
    3. With the onion still laid flat against the table, carefully slice the onion horizontally (still keeping the root intact) a couple of times.
    4. Finally, make slices across the length of the onion to cut it into diced pieces. It can help to gently hold the sides and tops near the root, to keep it together while you slice.
    Check the blog post for optional add-ins, serving recommendations, and answers to top FAQs!
    Course: Appetizer, Condiment, DIYs, Side
    Cuisine: American
    Freezer friendly: 2-3 Months
    Shelf life: 7-10 Days

    Nutrition

    Serving: 1Tbsp, Calories: 59kcal, Carbohydrates: 11g, Protein: 1g, Fat: 2g, Saturated Fat: 1g, Polyunsaturated Fat: 1g, Monounsaturated Fat: 1g, Sodium: 27mg, Potassium: 47mg, Fiber: 1g, Sugar: 9g, Vitamin A: 5IU, Vitamin C: 2mg, Calcium: 10mg, Iron: 1mg

    Nutrition information is automatically calculated, so should only be used as an approximation.

    Leave a comment

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

    Recipe Rating




    13 Comments

    1. I find using a candy thermometer helps. Look to remove the mixture from the heat when it reach’s btwn 217-221 degrees otherwise u’ll reach the syrup or hand crack stages

    2. 4 stars
      All was going really well with this recipe until the final step while I was simmering the mixture to thicken. The directions say: “It’s ready when you draw your spoon across the bottom of the pan, and it leaves a clear trail for several seconds.” Well, my OCD kicked in and I couldn’t figure out how long several seconds is and simmered this way too long trying avoid it being too runny. After cooling it thickened like tar. Darn. It tasted so good before that!! Great recipe, especially with suggestions of adding different things to vary/enhance the taste. Will definitely make this again and won’t simmer it so long at the end!

      1. Hi Pau!
        I do hope you give it a try again. I will also try to time it better – just 3-4 seconds enough though!

      1. Hi Sue,
        This recipe wasn’t created with pressure canning in mind so I can’t recommend how long. It’d be best to check the USDA guidelines and other official sources for more guidance. Let me know how it goes if you give it a try.

        1. 4 stars
          Can you please tell me when I should add the alcohol? This restaurant has a Grown up grilled cheese with onion beer jam and gorgazola, seasoned cream cheese and smoked provolone avocado and tomato. I’m wanting to recreate that.

        2. Hi Maria,
          You can add the alcohol towards the end after the onions have caramelized and developed their sweetness. Once added, let it simmer for a few more minutes. I hope this helps.

    3. 5 stars
      This is a fantastic recipe and I love your list of additional add-ins. Just a clarifying note: Onion jam has to be canned under pressure because it is a low-acid food. So, readers, don’t process this wonderful jam in a water bath like you would fruit jam!

    4. I’ve made a version of this before and absolutely loved it. It was so good with cheese! Great recipe.

      1. Thanks for your comment, Mimi! It’s great with cheese indeed, especially when it’s melted in the oven 🙂