Purple, glossy, and smelling faintly of coconut and something sweet you can't quite name, that's ube halaya fresh off the stove. It thickens as it cools into a rich, spreadable jam with a flavor that's somewhere between vanilla, pistachio, and everything good about Filipino desserts.
Four ingredients. One pot. A little arm work. This is the homemade version, and it's better than anything that comes in a jar.

Save This Recipe ๐
Jump to:
What is Ube Halaya?
Ube halaya, also called halayang ube or ube jam, is a classic Filipino dessert made by slowly cooking purple yam with coconut milk, condensed milk, and butter until it turns thick, smooth, and glossy. It has been part of Filipino holiday tables and celebrations for generations, often served in llanera molds and topped with cheese or latik.
The word halaya comes from the Spanish jalea, which means jelly or jam. But ube halaya is much richer and denser than a typical jam. It is smooth enough to spread, but firm enough to hold its shape once chilled.
What Is Ube?
Ube is a purple yam popular in the Philippines and across Southeast Asia. It often gets confused with taro or purple sweet potato, but it has its own flavor and texture. Ube is mildly sweet, a little nutty, and naturally creamy, which is why it works so well in desserts.
Its bright purple color comes from natural pigments called anthocyanins. In ube halaya, some people add ube extract to boost the color, especially since frozen grated ube can lose some of its brightness as it cooks.
Purple Sweet Potato vs Ube

These two get confused a lot, but they are not the same. Ube is a true yam with a nutty, vanilla-like flavor and is the right choice for ube halaya and other Filipino ube desserts.
Purple sweet potato is a different ingredient. It is sweeter, denser, and milder in flavor. You can use it in other desserts, but it will not give you the same taste or texture as ube.
Ingredients

- Grated Purple Yam (Ube): The main ingredient! I typically use frozen grated yam from Asian market or local filipino grocery store for convenience, but you can also buy fresh ube roots and grate them yourself.
- Condensed Milk: Adds rich sweetness and a velvety texture to the dish.
- Unsweetened Coconut Milk: Adds a subtle tropical flavor without overpowering the ube.
- Salted Butter: Contributes luxurious richness and a hint of savory depth.
- Ube Extract: Enhances the purple hue and intensifies the ube flavors, add more to achieve deep purple color
How to Make Ube Halaya
- Combine Ingredients in a Pot: Start by grabbing a reliable pot. Toss in the grated frozen yam, coconut milk, sweetened condensed milk, and a generous dollop of butter. Mix it all together until itโs smooth and luscious.

- Cook Until Thick: Place the pot over medium-low heat and let the magic happen! Stir constantly until the mixture thickens into a thick paste and turns creamy. It may take a bit of time- about 20-25 minutes. Make sure you stir from the bottom of the pot. This is where the transformation happensโkeep that spoon moving!

- Enhance the Flavor: If youโre feeling adventurous, add a pinch of salt if youโre using unsalted butter. For an extra boost, a splash of ube extract gives a vibrant color and a deeper flavor. Itโs all about the little things that make a big difference!

- Stir to Perfection: Keep stirring until the mixture holds its shape and comes together beautifully. Itโs like conducting a flavor symphonyโeach stir brings you closer to dessert perfection!

- Transfer and Chill: Once youโve reached the perfect consistency, transfer the mixture into a greased dish or mason jar. Smooth it out, give it a little tap, and refrigerate to set. Patience is keyโitโll be worth it for best result!

Add Garnishes (Optional): For the finishing touch, sprinkle some grated cheese or desiccated coconut before serving. These final touches make your Ube Halaya truly shine.

Rose's Top Tip
- Don't stop stirring. Ube halaya burns at the bottom faster than you'd expect, and there's no fixing scorched halaya once it happens. Keep the spatula moving constantly, scraping the bottom and edges with every stroke.
- Pull it off heat slightly early. The halaya will continue to firm up as it cools, sometimes significantly. If it looks just barely thick enough in the pan, it will be perfectly set after chilling. If you cook it until it looks perfectly set in the pan, it may be too firm once cold.
- Grease your mold before transferring. Hot ube halaya is sticky. A light brush of softened butter or coconut oil on the inside of the mold or container makes it easy to unmold cleanly and prevents the halaya from sticking to the sides.
- Blend for a smoother texture. If you want ultra-silky halaya without any fibrous texture, use an immersion blender to blend the mixture partway through cooking, once the ube has softened. This breaks down any remaining strands and gives you a perfectly smooth result.
- Use a non-stick wok or heavy-bottomed pan. Thin pans create hot spots and the bottom scorches. A non-stick surface means easier cleanup and more even heat. If you only have a stainless pan, lower the heat slightly and stir even more frequently.
Ways to Use Ube Halaya
Ube halaya is one of the most versatile things in a Filipino kitchen. On its own, it's a dessert โ scooped into a bowl, topped with grated cheese, and eaten with a spoon. But it's also the base or filling for a long list of other recipes.
Spread it on Ube Pandesal for a double-ube breakfast, or swirl it into Ube Leche Flan batter for a layered dessert. It's the filling in Ube Cinnamon Rolls and Ube Cassava Cake, and a natural topper for Ube Taho or halo-halo. Stir a spoonful into pancake batter for Ube Pancakes, or swirl it into Ube Ice Cream for extra depth. You can also use it as a filling for tart shells, croissants, ensaymada, or ube crinkle cookies.
For even more ube inspiration, check out my collection of ube recipes!


How to Store and Freeze
Ube halaya keeps in an airtight container in the refrigerator for up to 2 weeks. Press a piece of plastic wrap directly onto the surface before sealing to prevent a skin from forming.
To freeze, portion into airtight containers and freeze for up to 3 months. Thaw overnight in the refrigerator. The texture may be slightly softer after thawing, stir well before serving. Always use a clean, dry spoon when scooping to avoid introducing moisture that shortens shelf life.
Recipe FAQs
Most Filipino grocery stores carry frozen grated ube year round. Asian markets like 99 Ranch, Island Pacific, and H Mart often have it in the frozen aisle. If you cannot find grated ube, you can also peel and grate fresh ube yourself.
Ube is the ingredient, a purple yam popular in the Philippines. Halaya is the finished dessert, where ube is cooked with milk and butter until thick and jammy. Ube halaya simply means ube jam.
Not really. Purple sweet potato is sweeter, denser, and milder than ube, so the flavor and texture will be different. It may still work as a dessert, but it will not taste like true ube halaya.
Yes. Evaporated milk is the best substitute and still gives a rich, creamy result. Whole milk also works, though the texture may be a little lighter.
Run a spoon through the middle of the mixture. If the line holds briefly before slowly coming back together, it is ready. It should also look thick and mound slightly on the spoon.
It was cooked a little too long. Ube halaya firms up more as it cools, so it is better to stop when it still looks slightly softer than you want. If it is already too firm, warm it gently with a small splash of coconut milk to loosen it.
Yes, the main ingredients are naturally gluten free. It is still a good idea to check the labels on your specific brands if that is important for your household.
More Ube Desserts To Try

Did you try this recipe?
Share how it turned out in the comment box below, and if you loved it, share it on Facebook, Pinterest & Instagram.
Thank you!

Recipe

Easy Ube Halaya (Purple Yam Jam)
Equipment
- 1 non-stick wok
- 1 glass or aluminum container (about 2-3 llanera)
Ingredients
- 1 pound grated purple yam/ ube
- 14 ounce condensed milk
- 13 ounce unsweetened coconut milk
- ยผ cup salted butter
- ยฝ teaspoon ube extract if you want a deeper purple color (optional)
Instructions
- Combine Ingredients in a Pot: Start by grabbing a reliable pot. Toss in the grated frozen yam, coconut milk, sweetened condensed milk, and a generous dollop of butter. Mix it all together until itโs smooth and luscious.1 pound grated purple yam/ ube, 14 ounce condensed milk, 13 ounce unsweetened coconut milk, ยผ cup salted butter, ยฝ teaspoon ube extract if you want a deeper purple color
- Cook Until Thick: Place the pot over medium-low heat and let the magic happen! Stir constantly until the mixture thickens into a thick paste and turns creamy. It may take a bit of time- about 20-25 minutes. Make sure you stir from the bottom of the pot. This is where the transformation happensโkeep that spoon moving!
- Enhance the Flavor: If youโre feeling adventurous, add a pinch of salt if youโre using unsalted butter. For an extra boost, a splash of ube extract gives a vibrant color and a deeper flavor. Itโs all about the little things that make a big difference!
- Stir to Perfection: Keep stirring until the mixture holds its shape and comes together beautifully. Itโs like conducting a flavor symphonyโeach stir brings you closer to dessert perfection!
- Transfer and Chill: Once youโve reached the perfect consistency, transfer the mixture into a greased dish or mason jar. Smooth it out, give it a little tap, and refrigerate to set. Patience is keyโitโll be worth it for best result!
- Add Garnishes (Optional): For the finishing touch, sprinkle some grated cheese or desiccated coconut before serving. These final touches make your Ube Halaya truly shine.
Save This Recipe ๐
Notes
- Use frozen grated ube for convenience. It is widely available at Filipino and Asian grocery stores and saves a lot of prep time compared to grating fresh ube.
- Stir constantly while cooking. Ube halaya can stick and burn at the bottom of the pan quickly, so keep scraping the bottom and sides as it thickens.
- Cook until thick but still soft. The mixture will continue to firm up as it cools, so remove it from the heat when it looks slightly softer than your final texture.
- Grease your mold or container. A light coating of butter or coconut oil makes it much easier to remove the halaya after it sets.
- For a smoother texture, blend the mixture. An immersion blender helps break down any fibrous bits and makes the halaya extra silky.
- Adjust sweetness if needed. Different brands of condensed milk vary in sweetness, so you can add a little more or less depending on your preference.
- Chill before serving. Ube halaya tastes best after a few hours in the refrigerator once it fully sets.










Becky says
Can a different milk be used if someone cannot have coconut milk?
Rose Sioson says
Hi Becky! Yes, you can swap the coconut milk, just know the flavor and texture will be a little different. A good option is evaporated milk or whole milk. Youโll still get a rich, creamy halaya, just without the coconut taste. I personally have used evaporated milk when I ran out of coconut milk and it was still really good. You may also want to add a little extra butter to make up for the richness youโd normally get from the coconut milk.