Madjarica – Croatian Layer Cake

A Croatian layer cake with thin pastry sheets, chocolate custard filling, and a dark chocolate glaze. Madjarica takes time, but the result is worth the afternoon.

Madjarica shows up at almost every celebration in Croatia, from weddings to name days. The first time I made it, I was working from a handwritten note from a woman in Slavonia who measured everything in coffee cups and handfuls. It took me three attempts to get the layers thin enough. The cake is a project. Six or more pastry sheets, a cooked chocolate custard, and a glaze that needs to set overnight. But when you cut through all those layers and see the clean lines of pastry and filling, you understand why people keep making it.

The filling is rich without being sweet. The filling is slightly bitter from dark chocolate and rum, balanced against the buttery pastry. I make this at least twice a year, and I still find it satisfying every time I peel back the parchment and see the layers stayed even.


How to Make Madjarica

Roll the Dough Thin

Each layer should be about 2-3mm thick. If you can almost see through it, you are close. Thicker layers mean a doughy, heavy cake instead of the delicate structure madjarica is known for.

Get the Honest Cooking app — 50% off annual subscription

Roll directly on parchment paper, trim to the size of your pan, and bake each sheet separately at 180C (350F) for 8-10 minutes. They should be pale gold, not brown.

Cook the Custard Until It Pulls Away

Stir the custard constantly over medium heat. When it thickens enough to pull away from the sides of the pan and hold a trail from the spoon, it is done. Undercooking means a runny filling that seeps through the layers.

Add the butter and rum while the custard is still hot. The butter needs the heat to melt and incorporate smoothly.

Let It Set Overnight

Assemble the cake and press it gently with a weight in the fridge overnight. The custard needs time to firm up and the pastry layers need to absorb some moisture. Cutting it too early gives you a mess. A full night changes the texture completely.


Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

Madjarica – Croatian Layer Cake


5 Stars 4 Stars 3 Stars 2 Stars 1 Star

4.6 from 8 reviews

  • Author: Tamara Novakovic
  • Total Time: 110 minutes
  • Yield: Serves 12 1x
  • Diet: Omnivore

Description

A stunning Croatian dessert, perfect for celebrations. Layers of delicate cake, rich chocolate filling, and a glossy glaze.


Ingredients

Units Scale
  • 1 lbs (600 g) all-purpose flour
  • 2 egg whites
  • 2 lbs (180 g) sour cream
  • 1 tsp baking powder
  • 2 lbs (180 g) sugar
  • 2 lbs (180 g) butter
  • 4 cups (1 L) milk
  • 5 tbsp all-purpose flour
  • 5 tbsp cocoa powder
  • 1 tsp vanilla extract
  • 2 lbs (200 g) sugar
  • 1 lbs (50 g) dark chocolate
  • 1 tbsp rum
  • 1 lbs (100 g) dark chocolate
  • 3 tbsp oil
  • 1 lbs (50 g) butter

Instructions

  1. Prepare the Filling
  2. In a large saucepan, bring the milk, sugar, and vanilla extract to a boil.
  3. In a separate bowl, whisk together a portion of the milk with the cocoa powder and flour until smooth.
  4. Gradually add the cocoa-flour mixture to the boiling milk, stirring constantly. Add the dark chocolate and continue cooking until the mixture thickens.
  5. Remove from heat and immediately stir in the butter and rum. Mix until the butter is fully melted and the mixture is smooth. Cover with plastic wrap and let cool completely.
  6. Make the Cake Layers
  7. In a large mixing bowl, beat the butter, sugar, egg whites, and sour cream until fluffy. Gradually add the sifted flour and baking powder, kneading until a smooth dough forms.
  8. Divide the dough into six equal parts. Roll each part between two sheets of parchment paper into thin rectangles, sized to fit your baking tray.
  9. Preheat the oven to 356°F (180°C). Bake each layer, one at a time, on a parchment-lined baking tray for about 8 minutes, or until set but still pale. Cool completely on a wire rack.
  10. Prepare the Glaze
  11. In a heatproof bowl, melt the dark chocolate, butter, and oil together, stirring until smooth.
  12. Assemble the Cake
  13. Place the first baked layer into a baking tray. Spread an even layer of the filling over it. Repeat the layering process, finishing with a dough layer on top.
  14. Pour the hot chocolate glaze over the top of the cake, spreading evenly.
  15. Refrigerate the assembled cake overnight to set.
  16. Serve
  17. The next day, cut the cake into small rectangles and serve.

Notes

  • To prevent the cake layers from drying out, wrap tightly in plastic wrap after baking and before assembling.
  • For a richer flavor, use high-quality dark chocolate in both the filling and the glaze.
  • If you don’t have rum, substitute with an equal amount of strong coffee or vanilla extract.
  • Prep Time: 60 minutes
  • Chilling Time: Overnight
  • Cook Time: 50 minutes
  • Category: Dessert
  • Method: Baking
  • Cuisine: Croatian

Nutrition

  • Serving Size: 1 slice
  • Calories: 400
  • Sugar: 50
  • Sodium: 100
  • Fat: 25
  • Saturated Fat: 15
  • Unsaturated Fat: 10
  • Trans Fat: 0g
  • Carbohydrates: 50
  • Fiber: 3
  • Protein: 4
  • Cholesterol: 50

Frequently Asked Questions

Can I use instant yeast dough instead of pastry dough?

No. Madjarica uses a pastry dough rolled very thin. Yeast dough would be too puffy and soft. The thin, crisp pastry layers are what define the cake.

How long does madjarica keep?

Covered in the fridge, it keeps for 5-6 days and actually improves over the first two days as the layers soften and meld with the filling. It does not freeze well because the custard changes texture.

What can I substitute for rum?

Strong brewed espresso works well. It keeps the slight bitterness that balances the chocolate. You could also use vanilla extract, but you lose some of the depth that rum or coffee provides.

If You Liked This Recipe, You’ll Love These

View Comments (29) View Comments (29)
  1. Omg!! I have been hunting for this recipe for 10 years! Every Easter at primary school my friends mum would melt down their Easter chocolate and make this! Only my friend didn’t like it so I got her piece every day! It is my favourite school memory hahah! I’ll be making for my kids!
    Thank you!!

  2. Hi, I have an issue with the filling… when I take a small part of the boiling milk and mix it with the cocoa powder/flour mixture, it becomes very lumpy, even when I stir it with a whisk very fast. When I put it back into the boiling milk mixture, there’s still lumps. I sifted the mixture onde it thickened to remove the lumps but I’m wondering why it’s doing this? Any suggestions?

  3. Most of Croatia was Hungary, thus all their pastry customs food resemble very very closely to Hungarian They just made it more their own version……

  4. Thank you for sharing – so many people are afraid to give their recipes to others and this is a very special dessert. You are very thoughtful and nice to share!
    Jean – a Croatian lady.

  5. Can you please tell me if the cake layers can be made ahead of time
    I am thinking about a week just to save time as I have lots of cakes to make.

  6. Tamara!!! My mother-in-law made this cake for me for the first time 17 years ago and it has remained my favourite dessert EVER. I’m so excited to try it.

    Hvala ljepa!

    Anita Dijakovic

  7. The cookies you are thinking about are called “Sarene oblande”. As far as I know, you can’t buy them in stores, but mommys and grannys always bake them for parties! Love them too!!!

  8. I can shed some light on the name, Croatia and Hungary where both part of the Yugoslavian territory, many Hungarians came to Croatia in the 1800’s. It could have been named that as a favorite of a Hungarian girl.

  9. I love cake but doctors and some health experts found out that if a person eats a piece of cake everyday then this person is likely to live a short life.

  10. Thank you for solving a many-year mystery! When I visited Hvar, the woman who owned the apartment I rented brought me this cake (leftovers from a family party). It remains one of the best desserts I have ever had–though of course being in Croatia helped. Her version had the caramel layers as well (if I remember correctly, some were creamy and some were crunchy), and it looked like something you would find in the finest Parisian patisserie. I have never been able to find a recipe (and never saw it anywhere else in three visits to Croatia) and was always confused by the Hungarian aspect of the name. Now if my baking skills were only up to the task of replicating it…

Leave a Reply

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

Previous Post

Sense Memory: Resolve to Eat and Live Well in the New Year

Next Post

A Bite of Britain: The Full Monty for New Years Day