A rich, smooth espresso cake filling made with cream cheese and butter, with a clear coffee flavor that works for 2–3 layer cakes or as a surprise cupcake center.
Stand mixer with paddle attachment or handheld mixer
Spatula
Fine-mesh sieve (for sifting powdered sugar)
Piping bag with round tip (for cupcakes)
Ingredients
225gcream cheesefull-fat, room temperature
115gunsalted butterroom temperature
360gpowdered sugarsifted
30–45mlstrong brewed espressocooled to room temperature (2–3 tbsp), adjust to taste
1tspvanilla extractpure
1/4tspfine sea salt
Optional (for stronger coffee flavor)
1–2tspinstant espresso powderdissolved into the brewed espresso
Instructions
Make sure your ingredients are at the right temperature: take the cream cheese and butter out of the refrigerator 30–45 minutes before mixing. They should feel cool but yield easily when pressed.
Beat cream cheese and butter until completely smooth: in a large mixing bowl, beat together on medium speed for 2–3 minutes, scraping down the sides and bottom once or twice, until creamy and lump-free.
Add vanilla and salt and beat briefly (about 15–20 seconds) just until combined.
Incorporate the powdered sugar gradually: with the mixer on low, add about 1/2 cup (60 g) at a time. Once all sugar is added, beat on medium for 1–2 minutes until thick, lightened, and smooth.
Flavor with espresso: stir the cooled espresso (and dissolved instant espresso powder, if using). With the mixer on low, drizzle in 2 tablespoons (30 ml) espresso and mix just until incorporated; scrape down the bowl.
Adjust consistency and coffee strength: taste and add up to 1 more tablespoon (15 ml) espresso if desired. If the filling becomes too loose, add 2–4 tablespoons (15–30 g) additional powdered sugar and mix until it holds soft peaks.
Chill briefly for easier assembly: refrigerate the filling for 15–30 minutes so it firms up but remains spreadable.
To fill a layer cake: place the first cooled cake layer on a plate/board. Optionally pipe a frosting “dam” around the edge. Spread about 1/3–1/2 of the espresso filling evenly, top with the next layer, and press gently to settle.
To fill cupcakes: fit a piping bag with a round tip (or core with a small knife/apple corer). Insert into the center and pipe about 1 tablespoon filling, stopping when the top begins to dome; replace any cake plug if needed and frost.
After filling, refrigerate the cake/cupcakes at least 30–45 minutes before slicing or transporting so the filling sets for clean slices and stable layers.