Desserts
This authentic Spanish bar cake recipe brings the soul of Spanish cafés to your kitchen with its signature crunchy almond crust and silky custard layers streaked with egg yolks. 💛 The secret lies in the delicate balance of textures—crispy on top, creamy inside—that makes this dessert a showstopper at any gathering.
Traditionally served in Spain, this cake features a buttery almond topping that gives way to a rich custard base infused with vanilla and cinnamon. The egg yolks create those iconic golden streaks, adding depth and a touch of elegance. It’s a labor of love, but every step is worth it for the final result that tastes like a slice of Spanish tradition.
The recipe requires patience—layers must be baked and chilled properly—but the process is straightforward once you understand the key techniques. From preparing the almond crust to folding the yolks into the custard, each detail contributes to the cake’s signature texture and flavor.
Perfect for special occasions or when you want to impress, this bar cake is a celebration of Spanish baking at its finest. Let’s dive into the steps to create a dessert that’s as beautiful as it is delicious.
Ingredients for authentic spanish bar cake
Buttery crust meets silky custard—these 12 ingredients transform into Spain's beloved bar cake.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | 2 cups | Sifted for smooth batter |
| Granulated Sugar 🍚 | 1 ½ cups | White or light brown |
| Unsalted Butter 🧈 | 1 ½ cups | Cold, cubed for crust |
| Large Eggs 🥚 | 8 whole | Room temperature |
| Large Egg Yolks 🥚 | 8 whole | Separated for streaks |
| Whole Milk 🥛 | 2 cups | Full-fat preferred |
| Vanilla Extract 🌿 | 2 tsp | Pure, high-quality |
| Ground Cinnamon 🌶️ | 1 tsp | Freshly ground preferred |
| Almond Flour 🥜 | 2 cups | Finely ground, blanched |
| Powdered Sugar 🍚 | 1 cup | For dusting crust |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Baking Powder 🍞 | 1 tsp | Aluminum-free |
The almond flour is non-negotiable here—blanched, finely ground almonds give that signature crunch. Trader Joe's sells pre-ground almond flour, but if you're grinding your own, pulse in a food processor until it's powdery. The butter needs to stay cold for that perfect almond crust texture—take it out of the fridge just before mixing. For the egg yolks, separate them carefully (the whites go in the custard base), and keep the yolks at room temperature for even folding. Vanilla extract matters—the good stuff, not imitation. Pro tip: buy a small bottle of high-quality extract and keep it in the fridge to preserve flavor.
No almond flour? Slivered almonds toasted and crushed can mimic the texture, though it won't be as fine. Running short on egg yolks? Use 1 extra whole egg and separate again, but you'll lose some volume. The milk can be swapped for heavy cream for extra richness, but whole milk keeps it traditional. For the cinnamon, Mexican cinnamon (like Canela) adds depth—find it in Latin markets or online. The baking powder should be fresh; if it's over a year old, replace it for proper lift. And that powdered sugar on top? Sift it before dusting for a flawless finish.
The almond crust keeps best in the fridge for 3 days if wrapped tightly in plastic wrap, but it's at its crunchiest within 24 hours. The custard layer? Must be chilled overnight—this isn't a recipe for rushing. Once assembled, the cake stays fresh for 4 days in the fridge, but the magic happens after 24 hours when the flavors meld. Slice with a warm knife for clean cuts, and dust each serving with extra powdered sugar right before serving. Leftovers? Freeze individual slices for up to 1 month—just thaw at room temperature before serving.
Why You'll Love This Recipe
- No Fuss Layers: I swear by this cake’s effortless assembly—just mix, pour, bake. The butter and yolks create that signature creamy texture without fussing over fancy techniques.
- Butter & Sugar Magic: That rich, caramelized sugar crust? It’s all thanks to the butter and eggs caramelizing just right. One bite and you’ll understand why it’s a Spanish café staple.
- Crowd-Pleasing Simplicity: Serve it warm for breakfast, sliced for dessert, or even as a snack—it’s that adaptable. Honestly, I’ve fed a dozen people with one pan and zero complaints.
- Budget-Friendly Luxury: Flour, sugar, butter—basic pantry staples that taste like a bakery treat. Between us, this is how I stretch my grocery budget without sacrificing flavor.
Step-by-step instructions for authentic Spanish bar cake
Here's how to create that iconic Spanish bar cake with its signature crunchy almond topping and dreamy yolk streaks.
👨🍳 Step 1: Prepare the Almond Topping
In a medium bowl, combine the 2 cups almond flour, 1 cup powdered sugar, 1 tsp ground cinnamon, 0.5 tsp salt, and 1 tsp baking powder. Mix thoroughly with a wooden spoon until evenly distributed. The texture should resemble coarse sand with no visible dry spots.
Press this mixture firmly into an ungreased 9x13-inch baking pan, using the back of a spoon to create an even, compact layer. I like to tap the pan gently on the counter after pressing to ensure the mixture settles uniformly. This foundation is what gives the cake its signature crunchy texture and prevents the yolk streaks from sinking into a soft topping.
🍳 Step 2: Create the Yolk Streak Mixture
In a large mixing bowl, beat the 8 whole large egg yolks and 1.5 cups granulated sugar together on medium speed until the mixture is pale yellow and thickened, about 3-4 minutes. This step is crucial for achieving those signature streaks - the yolks need to be fully emulsified with the sugar.
In a separate bowl, whisk together the 2 cups all-purpose flour, 1 tsp baking powder, and remaining 0.5 tsp salt. Gradually add this dry mixture to the yolk mixture while mixing on low speed, just until combined. Be careful not to overmix - you should still see some small flour streaks. The batter should be smooth and slightly thicker than pancake batter.
🥘 Step 3: Layer the Batter Over the Topping
Pour the prepared yolk mixture evenly over the almond topping in the baking pan. Use a spatula to spread it into an even layer, making sure it reaches all edges. The batter should completely cover the almond mixture without pooling in the center.
Here's the secret: gently tap the pan on the counter 2-3 times to help the batter settle and eliminate any air bubbles. This creates a smoother surface for the final yolk streaks. Place the pan in the refrigerator for 30 minutes to allow the batter to partially set and the flavors to meld.
🔥 Step 4: Bake the Base Layer
Preheat your oven to 350°F. Bake the cake for 25-30 minutes, or until the edges are golden brown and a toothpick inserted in the center comes out clean. The cake should be set but still slightly jiggly in the center - it will continue cooking as it cools.
While the cake bakes, prepare the buttercream filling by beating the 1.5 cups unsalted butter (softened), 2 cups whole milk, and 2 tsp vanilla extract together until smooth. Gradually add the 1.5 cups granulated sugar and continue beating until light and fluffy. This will be spread between the layers later.
🍳 Step 5: Create the Signature Yolk Streaks
Remove the cake from the oven and let it cool completely in the pan for 1 hour. While it cools, separate the 8 whole large eggs, keeping whites and yolks in separate bowls. Beat the egg whites with a hand mixer until stiff peaks form, then gently fold them into the buttercream mixture.
Once the cake is completely cool, carefully invert it onto a clean work surface. Using a long, thin knife or offset spatula, score the cake into 1-inch wide strips by cutting through the almond topping layer. Gently lift every other strip to create a grid pattern, being careful not to tear the cake. This creates the perfect canvas for the yolk streaks.
🥘 Step 6: Assemble and Add Yolk Streaks
Spread half of the buttercream mixture over the exposed cake surface. Then, using a piping bag fitted with a small round tip, pipe the egg whites (or use a spoon to spread) into the scored lines, filling them about halfway. The egg whites will create those signature streaks as they bake.
Replace the lifted strips to cover the cake completely, then spread the remaining buttercream on top. Return the cake to the 350°F oven for 15-20 minutes, just until the egg whites set and the streaks appear. The cake should be warm but not hot to the touch when done. Let it cool completely before slicing for the best texture and presentation.
Pro Tips For Making Authentic Spanish Bar Cake
- Whip Butter to Room Temp: I learned this the hard way—cold butter in Spanish bar cake means lumps, and lumps mean a dense, uneven texture. Rub it between your palms until it’s soft enough to dent but not greasy (about 65°F/18°C). Too soft? Stick it in the fridge for 5 minutes. This isn’t just about mixing; it’s about aeration.
- Separate Eggs Like a Pro: Crack eggs over a bowl, let the white slip through your fingers first, then gently lower the yolk in. No shells? Use a fine-mesh strainer to catch any stray bits before folding into the batter—this recipe is unforgiving with grit. (Yes, even if you’re impatient like me.)
- Bake at 325°F, Not Hotter: After burning three batches, I finally figured out the oven’s quirks: 325°F (163°C) is non-negotiable for even baking. Too high, and the top browns before the center sets; too low, and it stays gummy. Rotate the pan halfway through—front to back, not side to side—and use an oven thermometer. Your future self will thank you.
- Fold Dry Ingredients Gently: Dump flour all at once and stir once with a spatula—just until combined. Overmixing develops gluten, and this cake’s magic is in its tender crumb. Stop when you see streaks of butter; resist the urge to "fix" it. Sounds weird, but it works: the texture stays light and moist.
Troubleshooting this recipe
Cracked Almond Topping
If your almond topping cracks while baking, it’s usually from uneven heat distribution. To prevent this, ensure your oven is fully preheated to 350°F and place a baking sheet on the lower rack to create even airflow. For extra insurance, spread a thin layer of 1 cup melted butter on the almond mixture before pressing it into the pan—this creates a barrier that holds the topping together. If cracks appear, don’t panic: simply brush them with a little egg wash (1 egg + 1 tbsp water) before baking to seal them. 💡
Soggy Yolk Streaks
Soggy streaks happen when the egg whites aren’t fully set during the second bake. To fix this, make sure your egg whites are stiff peaks before spreading them into the scored lines—this ensures they’ll hold their shape. Also, bake the cake at 350°F for exactly 15-20 minutes until the streaks are golden and firm to the touch. If they’re still underdone, broil for 1-2 minutes on low heat to crisp them up without burning. Overbaking is worse than underbaking here!
Dense or Dry Cake
A dense or dry cake often means overmixing the batter or using old baking powder. Whisk the dry ingredients into the yolk mixture just until combined—stop as soon as you see no flour streaks. For extra moisture, add 2 tbsp whole milk to the batter if it looks too thick. If the cake turns out dry, brush the slices with simple syrup (equal parts sugar and water, heated until dissolved) before serving to restore moisture. 🌟
Uneven Baking
Uneven baking usually stems from an oven that isn’t calibrated or a pan that’s too hot/cold. Rotate your pan halfway through baking (after 15 minutes) for even heat distribution. If your oven runs hot, reduce the temperature to 340°F and add 5-10 minutes to the bake time. For a 9x13-inch pan, use a light-colored metal pan (like aluminum) to reflect heat more evenly than dark pans.
Streaks Disappearing
If the yolk streaks vanish during baking, the egg whites likely weren’t spread evenly or the cake wasn’t chilled long enough before the second bake. After scoring the cake, pipe the egg whites in a single continuous line down each groove—don’t overfill, or they’ll spill over. Also, ensure the cake is completely cool before adding the egg whites; warmth causes them to set too quickly and lose definition. A quick fix: Reheat the cake for 5 minutes at 300°F after baking to reactivate the streaks slightly.
Nutrition facts
Frequently asked questions
Why does the Spanish bar cake have egg yolk streaks?
The golden egg yolk streaks are the signature of this Spanish classic! They're created by carefully scoring the cake and piping egg whites into the grooves, which caramelize beautifully during the second bake. This technique adds both visual appeal and a subtle richness to the texture. The yolks in the original batter create the creamy custard base, while the whites in the streaks provide that signature golden color.
Can I make this cake without almond flour?
Yes, but the texture will differ. For a similar crunch, try 2 cups finely ground slivered almonds (toasted and pulsed in a food processor) or 1.5 cups crushed amaretti cookies. The cake will still taste delicious, though the traditional almond flavor will be milder. For a gluten-free option, use a 1:1 almond flour substitute like Bob's Red Mill brand.
How long should I chill the cake before serving?
For the best texture and flavor, chill the cake for at least 4 hours (overnight is ideal). This allows the layers to fully set and the flavors to meld. The almond topping will firm up, the custard will thicken, and the yolk streaks will develop their signature caramelized appearance. Serve at room temperature for the perfect balance of textures.
What's the secret to getting crispy almond topping?
The crispiness comes from three key factors: cold butter (keep it chilled until mixing), proper pressing (pack it firmly into the pan), and even baking (bake at 350°F with a baking sheet on the lower rack). For extra crunch, bake the almond layer alone for 8-10 minutes before adding the yolk mixture. Let it cool completely before assembling to prevent sogginess.
Can I make this cake in a different pan size?
Yes, but you'll need to adjust baking times. For a 9x13-inch pan, use the recipe as written. For an 8x8-inch pan, reduce all ingredients by 50% and bake for 20-25 minutes per layer. For a 10x15-inch pan, increase ingredients by 50% but reduce oven temperature to 340°F and add 5-10 minutes to baking times. Always use a light-colored metal pan for even heat distribution.
