Caramel macchiato gooey cake bars take the flavours of the espresso-bar classic and bake them into a soft, slightly underdone bar with a molten caramel swirl and a coffee-scented crumb. The trick is a two-layer build: a buttery brown-sugar base that stays gooey in the middle, and a sweetened condensed milk and caramel layer that sinks in as it bakes. They slice clean once fully cool but stay fudgy and rich, which is exactly what a "gooey" bar should be.

Ingredients

Instructions

  1. Heat the oven to 175°C (350°F). Line a 20 x 20 cm (8 x 8 in) square tin with baking parchment, leaving an overhang on two sides for lifting the bars out later.
  2. Whisk the melted butter and brown sugar in a large bowl until smooth and glossy, about 1 minute. Beat in the whole egg, then the yolk, then the vanilla and the dissolved espresso. The mixture should look thick and even.
  3. Add the flour, baking powder and fine salt. Fold with a spatula just until no dry streaks remain. The dough will be stiff and slightly sticky; do not overmix or the bars turn cakey instead of gooey.
  4. Press about two-thirds of the dough evenly into the base of the tin. Use lightly damp fingers or the back of a spoon to level it, pushing it slightly up the sides.
  5. Whisk the sweetened condensed milk with the caramel sauce until combined. Pour it over the base, spreading it to within 1 cm of the edges so it does not burn against the tin.
  6. Drop the remaining dough in small flattened pieces over the caramel, leaving gaps so the filling shows through. It will not cover completely, and that is what creates the marbled top.
  7. Bake for 30 to 35 minutes, until the edges are set and pale golden and the centre still has a visible wobble when you nudge the tin. A skewer inserted 3 cm from the edge should come out with moist crumbs; the centre will read wetter, which is correct.
  8. Set the tin on a rack and sprinkle with flaky salt if using. Cool completely, at least 2 hours, before lifting out and slicing. The filling firms as it cools, so cutting early gives you a molten mess rather than clean bars.

Tips

Serving Suggestions

Cut into 16 small squares or 9 generous bars. They are rich, so a small square alongside a plain black coffee or a glass of cold milk balances the sweetness. For a dessert plate, warm a bar for 10 seconds in the microwave and add a spoon of lightly whipped cream or a small scoop of vanilla ice cream; the caramel turns saucy. A light dusting of cocoa or a few extra flakes of sea salt on top cuts through the sugar. They also work as a bake-sale or picnic item because they travel well once fully set.

Variations

Mocha version: add 2 tbsp cocoa powder to the dry ingredients and reduce the flour to 230 g, which gives a darker, brownie-like bar. Salted caramel: stir ¼ tsp fine salt into the caramel layer and skip the flaky topping. White chocolate: scatter 80 g chopped white chocolate over the caramel before adding the top dough pieces; it melts into pockets. Nutty: fold 60 g toasted chopped pecans or hazelnuts into the dough. No espresso powder: substitute 1 tbsp strong brewed coffee reduced to 1 tbsp, or 2 tsp cocoa plus 1 tsp water for a milder coffee note. Avoid swapping the condensed milk, as it provides much of the gooey texture.

Storage and Reheating

Store cooled bars in an airtight container at room temperature for up to 3 days, or in the fridge for up to 5 days; refrigeration makes them firmer and chewier. Separate layers with parchment if stacking. For longer storage, wrap individual bars tightly and freeze for up to 2 months, then thaw overnight in the fridge. To reheat, microwave a single bar for 10 to 15 seconds, or warm a batch loosely covered with foil in a 150°C (300°F) oven for 6 to 8 minutes; foil prevents the top from drying out. Do not refreeze thawed bars.

Frequently Asked Questions

Why are my bars cakey instead of gooey?

Usually overbaking or overmixing. Fold the flour in only until combined, and pull the tin when the centre still wobbles. Also check your oven temperature with an thermometer; many run 10 to 15°C hot, which sets the filling before the middle can stay soft.

Can I use a 23 x 23 cm (9 x 9 in) tin?

Yes, but the bars will be thinner and bake faster. Start checking at 24 minutes and expect a firmer, less gooey result. Keep the 20 x 20 cm tin for the texture described here.

Can I make them ahead?

Yes. Bake and cool them a day ahead, then store covered at room temperature. The flavour improves overnight as the coffee and caramel settle. Add the flaky salt just before serving so it stays crisp.

Why did the caramel sink to the bottom?

Thin caramel or a base pressed too thinly lets the filling drop through. Press the base firmly and evenly, and use a thick caramel or dulce de leche. A few gaps in the top dough are fine, but large uncovered pools can bubble and burn.

How do I know the bars are safely baked?

The egg in the dough needs to reach a safe internal temperature. Because these bars are intentionally moist, rely on the visual cues plus a thermometer reading of at least 71°C (160°F) in the centre-adjacent area, and never leave them at room temperature longer than 2 hours after baking.

Can I skip the espresso?

Yes. Omit it for a plain caramel bar, or use the cocoa-and-water substitute listed in the variations. The coffee flavour is subtle, so leaving it out changes the character but not the structure.