Milk Cake Spanish: Tarta de Leche Recipe
In this article
- What Tarta de Leche Is and How It Sets
- Measure the Milk, Eggs and Flour Before You Mix
- Mix the Batter Smooth and Bake It in a Water Bath
- Serve It Cold With Fruit or a Dusting of Cinnamon
- Swap Milks and Sweeteners Without Breaking the Set
- Keep the Cake Cold and Eat It Within Four Days
- Fix a Custard That Curdles or Stays Loose
Milk cake in Spanish baking is usually tarta de leche: a dense, custardy cake that slices cleanly and tastes like sweetened milk. The texture comes from a liquid batter thickened with egg and a little flour, baked slowly so the custard sets without curdling. The result is a soft, moist crumb with a lightly browned top, closer to a baked custard than to a sponge.
What Tarta de Leche Is and How It Sets
Tarta de leche is a Spanish home dessert built on milk, eggs, sugar and a small amount of flour. Some versions add lemon zest or cinnamon; others use condensed milk for a sweeter, denser set. The key is the egg-to-milk ratio: too much egg makes it rubbery, too little leaves it loose. A standard home ratio is 1 large egg per 240 ml (1 cup) of milk, with 2 tbsp flour per cup of milk to help the custard hold its shape.
The cake sets because egg proteins coagulate as they heat. Baking at a moderate temperature (350F/175C) and using a water bath for the first half of baking keeps the edges from setting before the center. The center should still wobble slightly when you pull it out; it firms up as it cools. Overbaking causes curdling and a watery release (syneresis), which is why the doneness cue matters more than the clock.
Measure the Milk, Eggs and Flour Before You Mix
Use a kitchen scale for the flour and sugar if you have one; volume measures vary. The ingredient list below makes one 9-inch (23 cm) round cake, about 8 servings.
- 720 ml (3 cups) whole milk
- 4 large eggs (about 200 g without shells)
- 150 g (3/4 cup) granulated sugar
- 30 g (1/4 cup) all-purpose flour
- 1 tsp vanilla extract
- 1/4 tsp salt
- Zest of 1 lemon (optional)
- 1/2 tsp ground cinnamon (optional)
- Butter or nonstick spray for the pan
Whole milk gives the richest set; 2% works but produces a slightly looser custard. Do not use skim milk unless you add 1 tbsp extra flour, which changes the texture toward a denser cake.
Mix the Batter Smooth and Bake It in a Water Bath
- Heat the oven to 350F (175C). Butter a 9-inch (23 cm) round cake pan and line the bottom with parchment paper.
- Warm the milk in a saucepan over medium-low heat until it steams but does not boil, about 3-4 minutes. Remove from heat.
- In a large bowl, whisk the eggs and sugar until pale and slightly thickened, about 2 minutes. Add the flour, salt, vanilla, lemon zest and cinnamon; whisk until smooth.
- Slowly pour the warm milk into the egg mixture while whisking constantly. This tempers the eggs so they do not scramble. Strain the batter through a fine-mesh sieve into the prepared pan to remove any lumps.
- Place the cake pan in a larger roasting pan. Pour hot water into the roasting pan until it reaches halfway up the sides of the cake pan.
- Bake at 350F (175C) for 35-40 minutes, until the edges are set and the center still wobbles slightly when you nudge the pan. A knife inserted 1 inch from the edge should come out clean; the center will look soft.
- Remove the cake pan from the water bath and cool on a wire rack for 1 hour. Refrigerate for at least 2 hours before slicing; the custard firms as it chills.
The water bath is not optional for the first bake: it slows heat transfer to the sides and keeps the custard from curdling. If you skip it, bake at 325F (165C) and check at 30 minutes, but the edges will be firmer than the center.
Serve It Cold With Fruit or a Dusting of Cinnamon
Tarta de leche is served cold, straight from the fridge, in slices about 1 inch (2.5 cm) thick. It pairs with fresh berries, sliced peaches or a spoonful of fruit compote; the acidity cuts the sweetness. A light dusting of cinnamon or a drizzle of honey works if you left the zest out. It is not a layer cake, so do not frost it; a dollop of whipped cream on the side is enough.
For a Spanish-style table, serve it after a light meal with coffee or a small glass of sweet wine. It also works as a breakfast cake with café con leche.
Swap Milks and Sweeteners Without Breaking the Set
Substitutions change the texture, so adjust the flour or eggs to compensate.
- Condensed milk: Replace 240 ml (1 cup) of the whole milk and 50 g (1/4 cup) of the sugar with 1 can (397 g) sweetened condensed milk. Reduce the flour to 2 tbsp; the cake will be denser and sweeter.
- Evaporated milk: Use 360 ml (1 1/2 cups) evaporated milk plus 360 ml (1 1/2 cups) water in place of the whole milk. Keep the flour the same; the set is slightly firmer.
- Plant milk: Unsweetened soy or oat milk works 1:1 for the whole milk. Add 1 tbsp extra flour because plant milks have less protein to help the custard set.
- Sugar swap: Replace granulated sugar with 120 g (1/2 cup) honey and reduce the milk by 2 tbsp. The cake browns faster, so check at 30 minutes.
Do not replace more than half the eggs with egg whites; the custard needs yolk fat to stay creamy.
Keep the Cake Cold and Eat It Within Four Days
Cool the cake completely, then cover the pan tightly or transfer slices to an airtight container. Refrigerate at 40F (4C) or below. It keeps for up to 4 days in the fridge. Do not leave it at room temperature for more than 2 hours; custard cakes with eggs and milk are perishable.
To freeze, wrap individual slices in plastic wrap and freeze for up to 2 months. Thaw overnight in the fridge. The texture softens slightly after freezing; serve it cold rather than reheating, because reheating can curdle the custard. If you must warm it, use a microwave at 50% power in 15-second bursts, but the set will loosen.
Discard any cake that has been left out over 2 hours or shows a sour smell or visible mold. Do not taste it to check safety.
Fix a Custard That Curdles or Stays Loose
Curdling shows as grainy texture and watery liquid around the edges. It happens when the oven runs hot or the water bath runs dry. To prevent it, check the water level halfway through baking and add hot water if needed. If the cake curdles slightly, blend the cooled cake with a little milk to make a smooth custard sauce; do not try to rebake it.
A loose center after chilling means the cake was underbaked or the egg ratio was low. Next time, add 1 extra egg yolk and bake 5 minutes longer, until a knife 1 inch from the edge comes out clean. A cracked top is normal; it comes from the custard rising slightly, and it does not affect the taste.
For a cleaner slice, dip the knife in hot water and wipe it between cuts. The first slice often looks messy; the rest will be neat once the cake is fully chilled.