{Recipe} Ondeh Ondeh Cupcakes (Pandan Gula Melaka Cupcakes)

Fragrant and moist Pandan Cupcakes encasing a sticky, gooey Gula Melaka filling :)

A twist on one of our local snacks - Ondeh Ondeh, which are glutinous rice balls that explodes molten Gula Melaka once you bite into them. An extraordinary experience ;)

It was satisfying but I will definitely reduce the amount of filling the next time as it gets too overwhelming towards the end haha

Love the green from the natural pandan juice! Also, I didn't slather on frosting for health's sake :K

Ondeh Ondeh Cupcakes 
(Pandan Gula Melaka)
adapted from here


200g gula melaka, cut into smaller pieces
120ml water

200g cake flour
1/2 tsp baking powder (double acting)
125g unsalted butter, softened
1/2 tsp salt
1/2 tsp vanilla paste
200g castor sugar
2 large eggs, at room temperature
100g coconut milk
2 tbsp pandan juice
1 tsp pandan paste


Gula Melaka Filling
In a deep pan, add water to the gula melaka and simmer for about 10 minutes, or until all the sugar are dissolved and the solution is thickened.
Let cool to room temperature. Set aside.

Pandan cupcakes

1. Preheat oven to 180°C. Line muffin pan with cupcake liner or, if using cupcake paper cups, place cups onto a baking pan.

2. Combine flour & baking power. Sift & set aside.

3. In a large bowl, on medium speed of an electric mixer, combine butter, vanilla & salt. Cream until smooth. 

4. Add sugar gradually and beat until fluffy, about 3 minutes. 

5. Add in eggs, one at a time, beating well after each addition

6. In a small bowl, mix coconut milk, pandan paste and pandan juice.

7. Add the dry ingredients in three parts, alternating with the coconut milk. With each addition, beat until the ingredients are incorporated, taking care not to over beat.

8. Fill paper cups or muffin pan with batter, 1/2 full. 

9. Make a well in the center of each cupcake and pipe a little gula melaka filling inside, before adding the remaining batter till 3/4 full.

10. Place baking or muffin pan on the middle rack of the oven & bake for about 25 minutes.

11. Cool cakes completely on a wire rack before serving :)



  1. Nicely written - Great information. Thanks for sharing it with us. Please also visit my pipe repair page and let me know what you think.

  2. How many cupcakes does this recipe make??

    1. Hello! Does the gula melaka turn out sticky? I'm thinking of topping a cake with it but afraid it might turn out too watery >.<

    2. hello!! yes it is supposed to be sticky :)

  3. I tried the recipe for the gula melaka filling but it sank to the bottom of the cups.should i have waited until it becomes real thick before filling it and covering it with the rest of the batter?or should i freeze the batter before i put the filling and then cover it with the rest of the batter?also, while baking, the filling flow out like a volcano.what should i do?kindly feedback.thank u

    1. hello Rachel! Thanks for trying :)

      Yes the gula melaka should be real thick and sticky before you fill the cupcakes :) You can try freezing the batter before putting the filling too! I didn't though :)

      Hmm if it flows out, perhaps you put too much filling? :)

    2. i had the same problem, the gm filling leaked into the rest of the batter :(

  4. What is pandan paste? Where can I get it? Or can I make it myself?

    1. It's like concentrated pandan essence :) You can get it from supermarkets!

  5. Hi there,

    where in the receipe does the pandan paste and juice come in? thanks!

    1. I have edited the recipe! Thank you for the reminder :)

  6. Can I use vanilla powder instead of vanilla paste?

    1. Hmm I haven't tried that so I'm not sure :( If you dont have vanilla paste you can use vanilla extract or just omit it :)

  7. Gula Melaka Lava Cupcakes! Oh my! Yummy, yummy...

  8. Can the cupcakes be kept overnight?

    1. Yes sure! Can be kept in an air-tight container for 1-2 days :)

  9. This comment has been removed by a blog administrator.

  10. I shared your recipe with 2 other friends who tried baking it. The Gula Melaka just sank to the bottom. Advice, please.

    1. Hello there! So sorry to hear that :( I have tried baking these a few times and the gula melaka didn't sink :/

      The gula melaka filling should be like a thin gel so that it remains on top of the bottom half batter and won't sink :) If all else fails, perhaps you would like to bake the pandan cupcakes as per normal, core the center then pipe the gula melaka filling in?

      Thank you for trying out this recipe and I hope it will work next time! x

  11. Hi! Can this be left outside room temperature or need to be in the fridge? TIA

    1. Hi! This can be stored in an air-tight container for 1-2 days or in the fridge for up to 3 days :) Do reheat before eating it! :)









Baking enthusiast who loves desserts and eating clean at the same time. Ohyellowfingers is where I document my recipes, travelogues and cafe hunts