• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Dollop of Dough
  • Home
  • About
    • Work with Me
  • Contact
  • Gluten Free Recipes
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
menu icon
go to homepage
  • All Recipes
  • Valentine's Day
  • Subscribe
  • About
  • Contact
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • subscribe
    search icon
    Homepage link
    • All Recipes
    • Valentine's Day
    • Subscribe
    • About
    • Contact
    • Facebook
    • Instagram
    • Pinterest
    • TikTok
  • ร—
    Home ยป Recipes ยป Cake and Pie Recipes

    Chocolate Custard Cake

    Updated: Jan 16, 2026 by Megan Weimer ยท This post may contain affiliate links.

    I love when you share my recipes!

    • Facebook
    Jump to Recipe

    This chocolate custard cake features a creamy chocolate custard filling sandwiched between two layers of ultra moist chocolate cake! It's frosted with silky chocolate Swiss meringue buttercream that's deeply chocolatey but not too sweet. This might be the best chocolate cake you'll ever make!

    A chocolate custard cake on a marble board.

    Jump to:
    • Why You'll Love This Recipe
    • Ingredient Notes
    • Expert Baking Tips
    • Step by Step Instructions
    • Assembling the Cake
    • Storage
    • More Cake Recipes to Try
    • ๐Ÿ“– Recipe
    • ๐Ÿ’ฌ Comments

    Why You'll Love This Recipe

    • There's rich chocolate flavor throughout the whole cake, from the ultra-moist chocolate layers to the creamy chocolate custard filling in the center. It's perfect for chocolate lovers and special occasions!
    • The chocolate custard really sets this cake apart. It's smooth, silky, and deeply chocolatey, made on the stovetop for a texture similar to pastry cream. Nestled between the cake layers, it adds moisture and richness while keeping the cake balanced and not too sweet.
    • The cake is finished with chocolate Swiss meringue buttercream, which is light, glossy, and far less sweet than traditional American buttercream. It spreads like a dream! I make mine using my faux Swiss meringue buttercream method, with pasteurized egg whites so you don't need a bain-marie. It's a great option if you don't decorate cakes often.

    Ingredient Notes

    • Egg yolks and granulated sugar make up the base of the custard filling. Make sure the yolks are room temperature. Cold eggs can be shocked when mixed with hot milk.
    • Make sure to use good quality bittersweet or dark chocolate for the custard. These types of chocolate contain more cocoa solids, ensuring that the custard thickens properly. I always reach for Lindt or Ghirardelli.
    • For the cake layers, I mixed hot coffee with unsweetened cocoa powder. This blooms the cocoa, releasing its full spectrum of flavor. You can use boiling water if you don't have coffee, but I love how coffee deepens the chocolate flavor (you can't taste the coffee at all).
    • The wet ingredients for the cake include vegetable oil and large eggs. I love making chocolate cakes with oil instead of butter because it makes it extra moist!
    • For even more moisture and acidity that creates a tender texture, we're adding buttermilk. Sour cream works too.

    For assembling the cake:

    • The cake layers are filled with the chocolate custard and frosted with my chocolate Swiss meringue buttercream. The buttercream is made with egg whites, granulated sugar, salted butter, cocoa powder, and vanilla.

    For the full list of ingredients and measurements, see the recipe card below.

    Expert Baking Tips

    1. Temper the egg yolks gradually. This is key for a smooth custard! Gradually whisk a small amount of the hot milk into the yolk mixture to gently raise its temperature, then add the warmed yolks back into the saucepan. The process is slow but worth it since it keeps the eggs from curdling.
    2. Cook the custard over medium-low heat. Also make sure to whisk constantly. The movement helps the mixture thicken evenly and smoothly while preventing it from sticking or burning on the bottom of the pan.
    3. Measure the flour correctly. Too much flour can make cakes dry and dense. For best results, use a kitchen scale to weigh the flour. If using measuring cups, gently spoon the flour into the cup and level it off without packing it down.
    4. To prevent the filling from leaking, pipe a thick, sturdy ring of frosting around the edge of the cake layer before adding the cream filling. Keep the filling away from the edges and make sure the frosting barrier is fully sealed so everything stays in place.

    Step by Step Instructions

    Egg yolks, sugar, and cornstarch mixed in a bowl.

    Step 1: For the chocolate custard, whisk the egg yolks and sugar together in a medium bowl. Then whisk in the cornstarch.

    Tempered custard mixture in a bowl with a whisk.

    Step 2: Heat the milk, vanilla, and salt in a medium saucepan until it bubbles around the edges. Don't let it boil! Then slowly pour it into the egg mixture, whisking to temper the egg yolks.

    Chocolate custard in a saucepan.

    Step 3: Return the custard to the pot, then add the chocolate. Whisk over medium-low heat, stirring until the chocolate melts and the mixture thickens and bubbles slightly, about 5-8 minutes.

    Chocolate custard in a bowl.

    Step 4:  Take the pan off the stove, and pour the custard through a fine mesh sieve into a bowl to remove lumps. Cool to room temperature, then cover the bowl with plastic wrap and chill in the refrigerator while you make the cake layers.

    Dry ingredients mixed in a bowl.

    Step 5: For the chocolate cake, preheat the oven to 350ยฐF and line two 8-inch round cake pans with parchment paper. Set aside, then whisk the dry ingredients together in a medium bowl.

    Wet ingredients mixed in a bowl.

    Step 6: In a separate large bowl, whisk the oil, eggs, vanilla extract, and buttermilk together until well combined.

    Chocolate cake batter in a large bowl.

    Step 7: Slowly fold in half the dry ingredients until mostly combined, then stir in half of the hot coffee. Make sure to scrape the sides and bottom of bowl. Repeat once more. The mixture should be thin.

    A layer of chocolate cake on a wire rack.

    Step 8: Evenly pour the cake batter into the prepared pans, then bake at 350ยฐF for 15-20 minutes or until toothpick inserted in the center comes out clean. Let cake layers cool in the hot pans for 10 minutes, then flip them on to a wire rack and cool completely before leveling and decorating.

    Assembling the Cake

    A layer of chocolate cake with frosting and custard filling.

    Step 9: First, level the cakes with a serrated knife or a cake leveler to get a smooth base. Then pipe a tall ring of buttercream on the outer edge of one cake layer. Spread a generous amount of custard inside.

    A chocolate cake with a crumb coat.

    Step 10: Top with second cake layer and spread a thin layer of frosting over the entire cake using an offset spatula. This is called the crumb coat because it locks in loose crumbs.

    A frosted chocolate cake on a marble cake board.

    Step 11: Chill the cake in the fridge for about 20 minutes or until the frosting is dry to the touch, then spread a thick final coat all over the cake.

    Close up of chocolate frosting on a cake.

    Step 12: Decorate the cake to your liking! I alternated between an open star piping tip and a closed star tip to pipe a border.

    Storage

    Because this of the custard in this chocolate custard cake, it should be stored in the refrigerator. Refrigerate in an airtight container for up to 4 days. Serve the cake at room temperature.

    A slice of chocolate custard cake on a white plate.

    More Cake Recipes to Try

    • A cake garnished with whipped cream and strawberries on a wood cake stand.
      Strawberry Marble Cake
    • A slice of cake garnished with a cherry on a pink plate.
      Lemon Cherry Layer Cake
    • A chocolate bundt cake with pink glaze and cherries on a marble plate.
      Chocolate Cherry Bundt Cake
    • A lemon poppy seed cake cut to show lemon curd filling.
      Lemon Poppy Seed Cake

    Subscribe to Dollop of Dough's newsletter to get recipes like this in your inbox!

    PS: if you try this recipe, please leave a star rating below! Make sure to follow along on Instagram and Pinterest to catch all the new and tasty recipes at Dollop of Dough.

    ๐Ÿ“– Recipe

    A chocolate custard cake on a marble board.

    Chocolate Custard Cake

    Megan Weimer
    This chocolate custard cake is made with two tender chocolate cake layers filled with a smooth, rich chocolate custard and finished with silky chocolate Swiss meringue buttercream. Deeply chocolatey but not overly sweet, it's an elegant dessert that feels special yet totally doable at home.
    No ratings yet
    Print Recipe Pin Recipe
    Prep Time 1 hour hr
    Cook Time 20 minutes mins
    Chill Time 1 hour hr
    Total Time 2 hours hrs 20 minutes mins
    Course Dessert
    Cuisine American
    Servings 14 slices
    Calories 702.8 kcal

    Equipment

    • 2 8-inch round cake pans
    • 1 Electric hand mixer or stand mixer
    • 1 offset spatula
    • 1 bench scraper
    • 1 cake turntable optional

    Need Metric or US Customary Measurements?

    Use the buttons below to toggle between grams and cups!

    Ingredients
     
     

    Chocolate Custard

    • 3 egg yolks room temperature
    • 66 grams granulated sugar
    • 2 tablespoons cornstarch
    • 240 grams whole milk
    • 1 teaspoon vanilla bean paste
    • 56 grams bittersweet chocolate chopped, 2 ounces

    Chocolate Cake

    • 180 grams all purpose flour
    • 300 grams granulated sugar
    • 75 grams unsweetened cocoa powder
    • 1 ยฝ teaspoon baking powder
    • ยพ teaspoon baking soda
    • ยฝ teaspoon salt
    • 120 grams vegetable oil
    • 2 large eggs room temperature
    • 1 teaspoon vanilla extract
    • 240 grams buttermilk room temperature
    • 200 milliliters hot coffee

    Chocolate Swiss Meringue Buttercream

    • 113 grams pasteurized egg whites
    • 450 grams powdered sugar
    • 453 grams salted butter room temperature
    • 56 grams cocoa powder
    • 1 teaspoon vanilla extract

    Instructions
     

    Chocolate Custard

    • Whisk the egg yolks and granulated together in a medium bowl until pale and smooth. Whisk in the cornstarch until fully dissolved.
      3 egg yolks, 66 grams granulated sugar, 2 tablespoons cornstarch
    • Add the whole milk and vanilla to a medium saucepan. Whisk over medium heat until steaming and small bubbles form around the edges. Do not let it boil.
      240 grams whole milk, 1 teaspoon vanilla bean paste
    • Pour the hot milk into the egg mixture a little at a time while whisking constantly to gently temper the yolks.
    • Pour the custard mixture back into the saucepan and add the chocolate. Cook over medium-low heat, whisking constantly and scraping the bottom of the pan, until the chocolate completely melts and the custard thickens. It should gently bubble and coat the back of a spoon, about 5-8 minutes.
      56 grams bittersweet chocolate
    • Remove the pan from the heat and immediately pour the custard through a fine-mesh sieve into a clean bowl to remove any lumps. Let cool to room temperature, then press plastic wrap directly onto the surface and refrigerate until chilled while you prepare the cake layers.

    Chocolate Cake

    • Preheat the oven to 350ยฐF. Line two 8-inch round cake pans with parchment paper and set aside.
    • In a medium bowl, whisk together the all purpose flour, sugar, cocoa powder, baking powder, baking soda, and salt. Set aside.
      180 grams all purpose flour, 300 grams granulated sugar, 75 grams unsweetened cocoa powder, 1 ยฝ teaspoon baking powder, ยพ teaspoon baking soda, ยฝ teaspoon salt
    • In a separate large bowl, whisk the oil, eggs, vanilla extract, and buttermilk until smooth and well combined.
      120 grams vegetable oil, 2 large eggs, 240 grams buttermilk, 1 teaspoon vanilla extract
    • Fold in half of the dry ingredients until mostly incorporated, then slowly stir in half of the hot coffee, scraping the sides and bottom of the bowl. Repeat with the remaining dry ingredients and finish with the coffee. The batter will be thin.
      200 milliliters hot coffee
    • Divide the batter evenly between the prepared pans. Bake for 15-20 minutes, or until a toothpick inserted in the center comes out clean or with a few moist crumbs.
    • Let the cakes cool in the pans for 10 minutes, then turn out onto a wire rack and cool completely before leveling.

    Chocolate Swiss Meringue Buttercream

    • Place the egg whites and powdered sugar in the bowl of a 5-quart stand mixer. With the whisk attachment, beat the ingredients on low until combined.
      113 grams pasteurized egg whites, 450 grams powdered sugar
    • Increase the speed to medium high and beat for 8-10 until a meringue forms. It should be thick and opaque with tips that stand up but bend at the ends. It is ok if your meringue doesn't stiffen all the way as long as it is thick and pure white.
    • Turn the speed down to low and add the softened butter 1 tablespoon at a time, mixing on medium-low for about 10 minutes.
      453 grams salted butter
    • Add the cocoa powder and vanilla extract. Mix on low until combined, then beat for about 1 minute on medium until smooth.
      56 grams cocoa powder, 1 teaspoon vanilla extract

    Assembly

    • Level the cake layers with a serrated knife or cake leveler if needed. Place one layer on a serving plate and pipe a tall ring of buttercream around the edge to create a barrier. Fill the center with a generous layer of chilled chocolate custard.
    • Place the second cake layer on top. With your offset spatula, spread a thin, even layer of frosting over the entire cake to seal in crumbs.
    • Freeze the cake for about 20 minutes, or until the frosting is dry to the touch. Finish with a thick, smooth coat of frosting.
    • Decorate with frosting swirls and chocolate jimmies or chocolate shavings. Slice and enjoy!

    Notes

    • No buttermilk?ย You can use sour cream or plain Kefir instead!
    • Storage:ย Wrap the entire cake tightly in plastic wrap or store it in a large airtight container, like a cake carrier. It keeps in the refrigerator for up to 5 days. Serve at room temperature.
    • Freezing:ย Wrap the entire cake in plastic wrap and then a layer of aluminum foil. Freeze for up to 3 months. Thaw overnight in the refrigerator before serving. You can also wrap individual slices in plastic wrap and foil and freeze them in a large freezer bag.

    Nutrition

    Serving: 1sliceCalories: 702.8kcalCarbohydrates: 81gProtein: 7.3gFat: 42.1gSaturated Fat: 21.7gPolyunsaturated Fat: 6.4gMonounsaturated Fat: 11.1gTrans Fat: 1.1gCholesterol: 139mgSodium: 450.6mgPotassium: 280.4mgFiber: 4.5gSugar: 62.7gVitamin A: 1028.4IUCalcium: 102.2mgIron: 2.8mg
    Tried this recipe?Let us know how it was!

    More Homemade Cakes and Pies

    • A raspberry almond layer cake garnished with fresh raspberries on a marble plate.
      Raspberry Almond Cake
    • A chocolate chip cookie pie topped with whipped cream dollops.
      Brown Butter Chocolate Chip Cookie Pie
    • Pumpkin coffee cake cut open on a cake stand.
      Pumpkin Coffee Cake
    • An earl grey pie covered with homemade whipped cream.
      Earl Grey Pie

    I love when you share my recipes!

    • Facebook

    About Megan Weimer

    Megan Weimer is the recipe developer, writer, and food photographer behind Dollop of Dough. Since 2020, she's been inspiring home bakers to create delicious dessert recipes for any occasion that are easy, reliable, and tested in her own kitchen.

    Reader Interactions

    Comments

    No Comments

    Leave a Reply Cancel reply

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

    Recipe Rating




    Primary Sidebar

    Hi there, I'm Megan!

    Welcome to Dollop of Dough! I'm a self-taught baker and professional recipe developer based in Chicago. I created this blog to share simple baked goods and dessert recipes that are easy to prepare for everyday occasions. With each recipe, I hope to spark joy and inspire my community of dessert enthusiasts.

    Read more about Megan here!

    Trending Recipes

    • Blueberry cheesecake overnight oats in a jar on a striped napkin.
      Blueberry Cheesecake Overnight Oats
    • Close up of swirls of caramel white chocolate ganache.
      Salted Caramel Ganache with White Chocolate
    • Dried cranberry muffins on a wood surface.
      Dried Cranberry Muffins
    • Slices of banana bread with no baking soda.
      Easy Banana Bread without Baking Soda

    Valentine's Day

    • A pile of truffles with a bite taken out of one.
      Boozy Bourbon Chocolate Truffles
    • A mini flourless chocolate cake dusted with powdered sugar.
      Mini Flourless Chocolate Cake
    • Heart shaped cookies on a serving board.
      Soft Red Velvet Cut Out Cookies
    • A cup of fresh strawberry mousse garnished with a strawberry slice.
      Fresh Strawberry Mousse (No Eggs!)

    Did you try a recipe?
    Tag @dollopofdough and #dollopofdough on social media!

    • Instagram
    • Pinterest
    • Facebook
    • TikTok

    As Featured In

    Dollop of Dough has been featured in Mashed, Real Homes, Tasting Table, and the Bake Feed.

    Footer

    โ†‘ back to top

    More

    • About
    • Terms and Conditions
    • Disclaimers
    • Privacy Policy
    • Accessibility Statement

    Newsletter

    • Subscribe to our newsletter for delicious exclusive content!

    Contact

    • Contact
    • Work with Me
    • Portfolio

    Copyright ยฉ 2026 Dollop of Dough ALL RIGHTS RESERVED

    As an Amazon Associate I earn from qualifying purchases.

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required