Kueh lapis is a rich buttery spice cake that is grilled layer by layer, resulting in its definitive layered look. It is said to have originated in Indonesia during its Dutch colonial days and went by the names spekkoek (Dutch) or Lapis Legit (Indonesian). Today, it can be found in many Southeast Asian countries and is an ubiquitous item enjoyed during Chinese New Year in Singapore and Malaysia.

Kueh lapis is truly a labour of love as each layer is grilled in the oven under the watchful eye of the baker, who must pay attention not to burn it. As if that wasn’t challenging enough, we decided to make our lapis rainbow-coloured! If you are not fond of food colouring, you can skip it and simply use the same batter to make a traditional kueh lapis that will impress your family and friends when they visit!


(Yields: One 7” square cake)

400g unsalted butter, softened at room temperature
120g condensed milk
4 tsp brandy (optional)
1 tsp vanilla extract
100g plain flour
2 tsp lapis spice (also called rempah kueh)
15 egg yolks
5 egg whites
200g caster sugar
Gel food colouring: Red, Orange, Yellow, Green, Blue, Violet


  1. Beat egg yolks with 160g of sugar until pale and creamy.
  2. Meanwhile, mix butter and condensed milk together until smooth
  3. When egg yolk mixture is ready, slowly mix in butter and condensed milk mixture.
  4. Sift flour and lapis spice together and slowly add it into mixture on low speed
  5. Stir in brandy and vanilla extract until just combined.
  6. In another mixing bowl, whip egg whites with remaining 40g sugar until stiff peaks and then fold into the rest of the batter.
  7. Divide batter into 6 equal portions of ~200g each.
  8. Stir food colouring into each bowl of batter until desired colour is achieved
  9. Grease the bottom and sides of a 7” square pan with butter and line the bottom of the pan with parchment paper
  10. Preheat oven to grill function (top heat, 220oC/420oF) and place baking tray in oven to preheat as well
  11. Starting with the violet layer, spread half (~100g) of the coloured batter on the bottom of the tin.
  12. Grill until surface is cooked and golden brown, about 7 minutes.
  13. Remove tin from oven and press down the cooked layer with a flat tool to remove air pockets. If there are huge air bubbles, poke the bubble with a skewer then press down to remove the air.
  14. Spread remaining violet coloured batter on top of the first layer and grill.
  15. Repeat steps 11-14 for remaining coloured batters until all the batter is used up.
  16. For the final layer, make sure the surface is evenly browned before removing from the oven.
  17. Allow the cake to cool slightly, then loosen the sides of the cake with a knife and invert the cake onto a wire rack. Leave the cake tin on to prevent the cake from drying out while it cools completely.
  18. Slice and serve or cling-wrap and store in the fridge.

37 thoughts on “Rainbow Kueh Lapis

  1. Hi. Is there a substitute I can use for brandy and lapis spice? Prefer a kids friendly cake and I don’t have lapis spice. Thank you.

    1. Hi Chrissie, you can simply omit the brandy, which is what I do when I make a kid-friendly version. As for a substitute for lapis spice or kueh rempah, you can try using all spice but the taste will be slightly different.

    1. Hi Michelle, you can get lapis spice at baking stores like Phoon Huat or even some supermarkets. It also goes by the name rempah kueh. Yes you can omit the brandy to make it more kid friendly, no need to substitute it with anything else. Hope this helps!

    1. Hi Katrin, lapis spice is a blend of mix spices. It also goes by the name rempah kueh. If you can’t find it, you could substitute it with all-spice, although the taste will be slightly different.

      1. Originally it cosist of Indonesian spices such as Cinnamon, Nutmeg. Clove and Cardamon. So you may use only Cinnamon instead.

  2. Hi, this rainbow kuih lapis is so amazingly beautiful!
    I saw the batter was curdled when u coloured them, it’s that normal? Appreciate your reply. Thank you

    1. Hi there, the batter wasn’t curdled but the colouring did make the butter bits in the batter more obvious and hence the curdled look. However, it doesn’t affect the end product at all as you can tell.

    1. Hi, you can use 8 egg yolks and 3 egg whites. However, do make sure your baking tin is also half the size or you won’t get the same height.

    1. I wouldn’t recommend putting Bailey’s cos it has milk and the taste is very different. You can simply omit the brandy.

    1. You can try, although the flavour profile of brandy and whiskey are different. I haven’t tried using whiskey so let me know how if it works!

    1. You can try decreasing the sugar by 10%-15% in this recipe and see if you prefer it that way. It shouldn’t affect the texture.

    1. It is different, but if you can only find all-spice, you can use it too. The taste will just be slightly different.

  3. Hi!

    Do you know where in the U.S. you can purchase the Lapis Spice? Having trouble locating it in several Asian markets.

    1. I’m really not sure where to find it but you can try substituting with all spice, just cinnamon or a blend of spices like cinnamon, nutmeg and clove

Leave a Reply

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