Go Back

Chocolate Unicorn Cake

Because sometimes you want your unicorns to taste a little bit less like rainbows, and little bit more like chocolate cake.
Prep Time 45 minutes
Cook Time 25 minutes
Total Time 1 hour 55 minutes
Course Snack
Cuisine American
Servings 8 people
Calories 4040.9 kcal

Equipment

  • 1 Electric Mixer Stand or hand-held mixer for cake batter and frosting.
  • 2 9-inch Cake Pans Essential for baking the cake layers.
  • 2 Mixing Bowls One large for wet ingredients/batter, one medium for dry.
  • 1 Piping Bag Fitted with a star tip for decorating.
  • 2 Cooling Racks For proper and even cooling of cake layers.

Ingredients
  

Main

  • 1 ¾ cups all-purpose flour
  • 1 cup dark cocoa powder such as Hershey's® Special Dark, sifted
  • 2 teaspoons baking soda
  • 1 teaspoon baking powder
  • ¾ teaspoon salt
  • 1 cup firmly packed brown sugar
  • ½ cup white sugar
  • ½ cup unsalted butter softened
  • 2 large eggs at room temperature
  • 2 teaspoons vanilla extract
  • 1 cup strongly brewed coffee cooled to room temperature
  • 1 cup sour cream
  • 1 cup unsalted butter softened
  • 4 cups sifted powdered sugar
  • 1 ½ teaspoons vanilla extract
  • ¼ teaspoon salt
  • 1 tablespoon heavy cream or more as needed
  • 1 drop blue food coloring or as needed
  • 1 drop purple food coloring or as needed
  • 1 tablespoon pink sprinkles or as needed
  • 1 .75 ounce tube black decorating gel
  • 4 marshmallows quartered
  • 1 tablespoon pink sanding sugar or as needed (Optional)
  • 8 birthday candles

Instructions
 

  • Preheat the oven to 350 degrees F (175 degrees C). Lightly grease two 9-inch cake pans and line with parchment paper.
  • Whisk flour, cocoa powder, baking soda, baking powder, and salt together in a medium bowl.
  • Combine sugars and butter in a large bowl; beat with an electric mixer until light and fluffy. Beat in eggs one at a time, thoroughly mixing after each addition. Beat in vanilla extract.
  • Mix 1/3 of the flour mixture into the butter mixture until just combined. Mix in 1/2 of the coffee and 1/2 of the sour cream until just combined. Add remaining flour mixture alternately with remaining sour cream and coffee. Do not overmix. Divide batter between the cake pans.
  • Bake in the preheated oven until a toothpick inserted into the center comes out with just a few moist crumbs attached, 25 to 30 minutes. Cool in the pans for 15 minutes. Run a knife around the edge of the pans before inverting cakes onto cooling racks. Peel off parchment paper. Cool cakes completely, about 30 minutes.
  • Make frosting while cakes cool. Beat butter with an electric mixer until light and fluffy. Beat in powdered sugar, 1 cup at a time, until incorporated. Mix in vanilla extract and salt. Add heavy cream. Beat frosting on medium speed until light and fluffy, about 3 minutes. Add more heavy cream if needed to reach a spreadable consistency.
  • Place 1/2 cup frosting into 2 separate bowls. Stir blue food coloring into one bowl and purple food coloring into the other. Place colored frostings into a piping bag fitted with a star tip.
  • Place 1 cooled cake layer onto a cake plate. Top with 3/4 cup of white frosting. Place second cake layer on top. Frost the outside and top of the cake with remaining frosting.
  • Divide the cake into 8 wedges by tracing a sharp knife through the frosting on the top; do not cut all the way through. Place 2 pink sprinkles in the innermost point to make unicorn's nostrils. Pipe the eyes and eyelashes near the upper portion of each wedge using the black decorating gel. Pipe blue and purple unicorn hair at the top of each wedge.
  • Stretch marshmallow quarters into ear shapes and dip into pink sugar. Attach 2 ears to the edge of each slice. Pipe more hair around the ears. Place 1 candle into the hair for the horns. Keep cake refrigerated until ready to serve.

Notes

Ensure all cold ingredients like butter and eggs are at room temperature for optimal emulsion and a smoother batter, leading to a tender cake. Sifting the dark cocoa powder prevents lumps and ensures even chocolate distribution. When combining wet and dry ingredients, mix just until combined to avoid overdeveloping gluten, which results in a tough cake. For the frosting, beat the softened butter thoroughly until light and fluffy before gradually adding powdered sugar; this incorporates air, making the frosting light. Adjust heavy cream incrementally to achieve a perfectly spreadable consistency. For the unicorn ears, slightly moistening the marshmallow quarters before dipping in sanding sugar will help it adhere better.