Lapis legit is the Indonesian thousand layer cake that looks like a magic trick in cross section, dozens of paper thin spiced layers stacked into one dense, buttery, unforgettable slice.
I will be honest with you: lapis legit is the most demanding thing I have ever baked, and I say that with total affection. The first time I made it I burnt the third layer because I wandered off to answer a text, and the whole stripe pattern from that point up came out wonky. The second time I underbaked the layers trying to rush, and they slid apart like wet pages. By the third attempt I had made peace with the fact that this cake asks you to stand at the oven door for over an hour and simply pay attention.
What you get in return is genuinely worth it. Each layer is broiled one at a time, pressed flat, and built up into a cake that is somewhere between a dense butter cake and a confection, perfumed with cinnamon, clove, nutmeg, and cardamom. The recipe below uses 20 egg yolks rather than the more common 30, which I find gives a cleaner, less eggy flavor while still being rich. I have made this lapis legit enough times now to know exactly where it goes wrong, so I have folded all of those hard won notes into the steps. Clear your afternoon, pour something to drink, and let me walk you through it.
What Is Lapis Legit
Lapis legit, also called spekkoek, is an Indonesian layer cake famous for its many thin, individually baked layers. The name translates roughly to “rich layers,” which is no exaggeration: a single 8 inch cake can swallow 250 grams of butter and 20 egg yolks. Unlike a sponge that bakes all at once, every layer here is broiled separately and pressed before the next goes in, which is what creates that hypnotic striped cross section and the cake’s signature dense, almost fudgy bite.
Where Lapis Legit Comes From
The cake is a product of the Dutch colonial period in Indonesia, where European butter cake technique met local spices from the islands. The result, spekkoek in Dutch, became a celebration cake, especially around Christmas and Lunar New Year. Its warm spice blend echoes the wider Southeast Asian love of fragrant bakes, the same impulse behind a good pandan chiffon cake, only here the flavor is built on butter and warming spice rather than coconut and pandan.
How to Make Lapis Legit
At its heart the method is repetitive rather than difficult. You whip a rich butter and yolk batter, spread a thin layer in the pan, broil it until deep golden, press it flat, and repeat until you have built up 16 to 20 layers. The skill is all in consistency: even layers, even browning, and a firm press every single time. Get into a rhythm and each layer takes about four minutes.

At a Glance: Times and Yield
| Prep | Cook | Chill | Total | Makes |
|---|---|---|---|---|
| 30 minutes | 1 hour 20 minutes | 2 hours | About 4 hours | 16 to 20 slices |

Ingredients for Lapis Legit
Spekkoek Spice Mix
- Cinnamon: the backbone of the blend, warm and woody, carrying most of the cake’s fragrance.
- Cloves: a small amount goes a long way, adding that deep, almost medicinal warmth that says spekkoek.
- Nutmeg: rounds the mix with a soft, nutty sweetness that pairs naturally with all that butter.
- Cardamom: the bright, slightly citrusy lift that keeps the spice from feeling heavy.
Cake Batter
- Egg yolks: twenty of them give the cake its custardy richness, deep gold color, and tight, tender crumb.
- Unsalted butter: the other half of the cake’s soul, whipped until pale so each layer stays moist and rich.
- Icing and caster sugar: icing sugar dissolves smoothly into the butter while caster sugar stabilizes the whipped yolks.
- Sweetened condensed milk: adds moisture, a gentle caramel note, and helps the layers brown beautifully under the broiler.
- Cake flour and milk powder: just enough flour for structure, with milk powder boosting color and a toasty depth.
- Sea salt, vanilla, and brandy: salt sharpens the sweetness, vanilla rounds it, and a splash of brandy is the traditional finishing touch.
Optional: My Favourite Extras That Add a Little Magic
- Soaked prunes: pressed onto every third or fourth layer, they make the classic Indonesian Christmas version with little jammy pockets.
- A whisper more cardamom: if you love that bright, perfumed edge, an extra pinch in the spice mix is gorgeous.
- Dark rum instead of brandy: a slightly deeper, molasses leaning warmth that I love in the colder months.
Substitutions: Smart Ingredient Swaps That Still Taste Amazing
- No cake flour: use plain flour with a little cornflour swapped in, sifted well, for a similarly tender layer.
- No milk powder: you can leave it out, though you will lose a touch of color and toasty flavor.
- Skip the alcohol: replace the brandy with an extra ½ teaspoon of vanilla, no harm done.
- Ready made spekkoek spice: a good shortcut if you have it, use about 1½ teaspoons in place of the homemade mix.
How to Make Lapis Legit Step by Step
- Whisk the cinnamon, cloves, nutmeg, and cardamom together in a small bowl and set the spice mix aside.
- In a stand mixer with the paddle, beat the softened butter, icing sugar, and condensed milk on medium high for a full 5 minutes, until very pale, fluffy, and almost ribbony.


- In a separate bowl, whisk the egg yolks with the caster sugar until pale, thick, and at ribbon stage, about 4 minutes. A lifted ribbon should rest on the surface for 3 seconds before sinking.
- Fold the whipped yolks into the butter mixture in three additions with a large spatula, working gently so you keep as much air as possible.


- Sift the cake flour, milk powder, spice mix, and salt straight over the batter and fold until just uniform, then fold in the vanilla and brandy.
- Position a rack 8 to 10 cm below the broiler element and set the oven to broil on high. Butter the pan, line the base with parchment, and spread about 4 tbsp of batter into a thin, even film.


- Broil the first layer for 2 to 3 minutes until it is deeply golden all over, not just at the edges. Rotate the pan halfway through if your broiler runs uneven.
- Pull the pan out and press the hot layer firmly with a flat bottomed glass to flatten any bubbles and compress the surface, then brush off any large crumbs.


- Add the next 4 tbsp of batter, tilt to coat evenly, broil until deep golden, and press flat again. Repeat patiently for 16 to 20 layers, until the cake stands about 5 cm tall.
- After the final layer, switch the oven to bake at 175°C (350°F) for 5 to 8 minutes so the center sets through, then cool in the pan for 30 minutes before turning it out.


- Cool the cake completely, then wrap it tightly and refrigerate for at least 2 hours, ideally overnight, to firm it up and deepen the spice.
- To serve, trim the four edges with a hot serrated knife (dip in hot water, wipe, slice) to expose clean layers, then cut into fingers about 1 by 4 cm.



Troubleshooting Your Lapis Legit
| What happened | Why | How to fix it |
|---|---|---|
| Wonky, uneven stripes | Layers browned unevenly | Rotate the pan 180 degrees after every layer and spread each one as evenly as you can |
| Layers slide apart | Skipped the press, or layers underbaked | Press firmly while hot every time, and broil each layer to a true deep golden |
| Bitter, scorched taste | Layer left under the broiler too long | Stay at the oven door and pull each layer the moment it is evenly golden |
| Greasy or dense in a bad way | Batter was overfolded and lost its air | Fold gently in additions and stop as soon as it looks uniform |

My Best Tips for Perfect Lapis Legit
Treat It as Meditation, Not a Chore
You truly cannot walk away from the broiler, so set yourself up to enjoy the next 75 minutes. I keep a glass of water nearby, queue up a podcast, and settle into the rhythm of pour, broil, press, repeat. The cake rewards presence more than skill.
Even Layers Are Everything
Measure each layer with the same 4 tablespoon scoop and tilt the pan to spread it edge to edge. Consistent thickness is what gives you those clean, even stripes in the final cross section.
The press down step between layers is not optional. The first time I skipped it to save a minute, the whole cake came out riddled with bubbles and the layers refused to stick.

Variations to Try
Prune Studded Christmas Lapis Legit
Press a few small soaked prunes onto every third or fourth layer before broiling for the festive version Indonesian families serve at the holidays.
Extra Spiced
If you love a forward spice profile, double the cardamom and add a pinch of star anise to the mix. It leans almost into chai territory and is wonderful with coffee.
Lighter Yolk Count
My recipe already trims the usual 30 yolks down to 20 for a cleaner flavor. If you go lighter still, you will lose richness, so I would not drop below 16.

Serving Suggestions
Thin Slices with Tea or Coffee
Lapis legit is intense, so cut it into slim fingers and serve with strong black coffee or unsweetened tea to balance the richness.
On a Festive Spread
It looks stunning on a celebration table next to other Southeast Asian sweets like pandan honeycomb cake, where the dark striped slices stand out against lighter bakes.
As a Gift
Because it keeps so well, a wrapped block makes a thoughtful homemade gift, the same way a layered celebration cake does, only this one travels far better.

How to Store Lapis Legit
Wrapped tightly, lapis legit keeps for about a week at room temperature, two weeks in the fridge, and up to a month in the freezer. Many people, myself included, think it actually tastes better 2 to 3 days after baking, once the spice has had time to settle and bloom. Bring chilled slices back to room temperature before serving so the butter softens and the flavor opens up.

Common Mistakes to Avoid
Walking Away from the Broiler
A single forgotten layer can scorch in under a minute and ruin the stripe pattern from there up. This is a stay in the kitchen bake from start to finish.
Wasting the Egg Whites
Twenty whites is a windfall, not trash. Store them sealed for up to 5 days or freeze them in portions for macarons or a tall angel food cake.
Slicing It Warm
Cut too soon and the layers smear and tear. Chill the cake fully first, then use a hot knife for those crisp, gallery worthy edges.

Frequently Asked Questions
What is lapis legit?
Lapis legit, also called spekkoek, is an Indonesian thousand layer cake. Each thin layer of a rich, spiced butter and egg yolk batter is broiled and pressed one at a time, building up a dense, fragrant cake with a striking striped cross section.
Why is lapis legit so labor intensive?
Because there is no shortcut to the layers. You broil, press, and repeat 16 to 20 times, standing at the oven the whole time. That hour of attention is exactly what creates the texture and the stripes.
Can I make lapis legit without a broiler?
You can. Bake each layer at 220°C (425°F) on the top rack for 4 to 5 minutes instead. The color and texture come out slightly less authentic, but it still works.
What do I do with all the egg whites?
Twenty whites store sealed in the fridge for up to 5 days or freeze well in portions. Use them for macarons, an angel food cake, meringues, or financiers.
How long does lapis legit keep?
Wrapped tightly it keeps about a week at room temperature, two weeks refrigerated, and up to a month frozen. Many bakers think it tastes even better 2 to 3 days after baking.
Why are my layers uneven?
Usually the broiler browns unevenly or the batter is not spread to an even thickness. Rotate the pan 180 degrees after each layer and measure each one with the same scoop for clean, straight stripes.
Let’s Get Cooking
If you liked this recipe make sure to leave me a comment and rating down below. I’d love to know how it went! Also, don’t forget to tag me on Instagram @catherine.desserts.
Follow me on Facebook, Pinterest, YouTube, and TikTok for more of my baking creations and updates!
Lapis Legit (Indonesian Thousand Layer Cake)
Lapis legit is the Indonesian thousand layer spice cake, each thin layer broiled one at a time into a dense, buttery, deeply fragrant loaf with a striking striped cross section.
- Prep Time: 30 minutes
- Chilling: 2 hours
- Cook Time: 1 hour 20 minutes
- Total Time: 4 hours
- Yield: 16 to 20 slices 1x
- Category: Cake
- Method: Broiler
- Cuisine: Indonesian
Ingredients
Spekkoek spice mix (make first):
- 2 tsp ground cinnamon
- 1/2 tsp ground cloves
- 1/2 tsp ground nutmeg
- 1/2 tsp ground cardamom
- Or substitute 1 1/2 tsp ready made spekkoek spice
Cake batter:
- 20 large egg yolks, room temperature
- 250 g unsalted butter, softened
- 100 g icing sugar, sifted
- 60 g caster sugar
- 200 ml sweetened condensed milk (about 2/3 of a 397 g can)
- 90 g cake flour, sifted
- 30 g milk powder
- 1/2 tsp fine sea salt
- 1 tsp vanilla extract
- 1 tbsp brandy or rum (optional but traditional)
For the pan:
- 1 tbsp softened butter
- 1 square of parchment cut to fit an 8 inch (20 cm) square cake pan
Instructions
- Whisk the spice mix ingredients together in a small bowl and set aside.
- In a stand mixer with the paddle, beat the softened butter, icing sugar, and condensed milk on medium high for 5 minutes, until very pale, fluffy, and almost ribbony.
- In a separate bowl, whisk the egg yolks with the caster sugar until pale, thick, and at ribbon stage, about 4 minutes. A lifted ribbon should sit on the surface for 3 seconds before sinking.
- Fold the whipped yolks into the butter mixture in three additions with a large spatula, keeping as much air as possible.
- Sift the cake flour, milk powder, spice mix, and salt over the batter. Fold gently until uniform, then fold in the vanilla and brandy.
- Position a rack 8 to 10 cm below the broiler element and set the oven to broil on high. Butter the pan and line the base with parchment.
- For the first layer only, pour about 4 tbsp (60 g) of batter into the pan and tilt to coat the base in an even thin film. Broil 2 to 3 minutes until deeply golden all over. Rotate halfway if your broiler is uneven.
- Remove the pan and press the hot layer firmly with a flat bottomed glass to flatten bubbles and compress the surface. Brush off any large crumbs.
- Add the next layer: 4 tbsp of batter, tilt to coat, broil 2 to 3 minutes until deep golden, then press flat. Repeat for 16 to 20 layers total, until the cake stands about 5 cm tall.
- After the final layer, switch the oven to bake at 175°C (350°F) and bake the assembled cake 5 to 8 minutes more so the center sets through.
- Cool in the pan on a rack for 30 minutes, then turn out and cool completely, about 1 hour.
- Wrap tightly and refrigerate at least 2 hours, ideally overnight, to firm the cake and deepen the spice.
- To serve, trim the four edges with a hot serrated knife to expose clean layers, then slice into fingers about 1 by 4 cm.
Notes
- This is the most attended bake on the blog. You cannot walk away from the broiler, so treat it as 75 minutes of quiet meditation by the oven door.
- Even broiling is everything. If one corner runs hot, rotate the pan 180 degrees after each layer so the stripes stay straight.
- The press down step between layers is non negotiable. Skip it and you get bubbles and uneven adhesion.
- 20 egg whites is a lot. Save them sealed in the fridge for up to 5 days or freeze in portions for macarons or angel food cake.
- For the classic Indonesian Christmas version, press 3 to 4 soaked prunes onto every third or fourth layer before broiling.
- Storage: keeps 1 week at room temperature wrapped tightly, 2 weeks refrigerated, 1 month frozen. Many people think it tastes better 2 to 3 days after baking.
- No broiler? Bake each layer at 220°C (425°F) on the top rack for 4 to 5 minutes, though the color and texture are slightly less authentic.
Nutrition
- Serving Size: 1 slice
