Dirt cake is a rich layered chocolate dessert made with moist cocoa cake, fluffy chocolate frosting, and crushed chocolate cookies that resemble garden soil. This fun and nostalgic dessert is perfect for birthdays, potlucks, and family gatherings.
Preheat the oven to 350°F and position the oven rack in the center.
Grease two 9-inch cake pans thoroughly and line the bottoms with parchment paper.
Dust the greased pans lightly with cocoa powder to prevent sticking.
Combine the flour, cocoa powder, sugar, baking powder, baking soda, and salt in a large bowl.
Whisk the dry ingredients thoroughly to distribute everything evenly.
Add the eggs, milk, vegetable oil, and vanilla extract to the dry ingredients.
Beat the batter on medium-high speed until smooth and glossy.
Slowly pour in the hot coffee or water while mixing on low speed.
Divide the batter evenly between the prepared cake pans and smooth the tops.
Bake for 30–35 minutes until a toothpick inserted into the center comes out with moist crumbs.
Cool the cakes in the pans for 15 minutes before transferring them to a wire rack.
Beat the softened butter until pale and creamy.
Add the powdered sugar gradually while mixing on low speed.
Beat the frosting until fluffy and smooth.
Add the cold heavy cream and whip until stiff peaks form.
Add cocoa powder to the frosting and beat until evenly combined.
Place the chocolate cookies in a zip-top bag and crush them into fine crumbs.
Place one cake layer on a serving plate and spread frosting evenly on top.
Add the second cake layer and frost the top and sides of the cake.
Press the crushed cookies onto the frosting to create the dirt effect.
Refrigerate the cake for 30 minutes before slicing and serving.
Notes
For best texture, refrigerate the assembled cake for at least 30 minutes before serving. Use room-temperature ingredients for a smoother batter and fluffier cake. Hot coffee intensifies the chocolate flavor without making the cake taste like coffee.