Chocolate Cake With Peppermint Frosting

Ingredients

  • ½

    cup/105 grams grapeseed or other neutral oil, plus more for pan

  • 1 ¼

    cups/250 grams granulated sugar

  • 2

    large eggs

  • 1

    (8-ounce/227-gram) container sour cream

  • 1 ½

    teaspoons pure vanilla extract

  • ¾

    teaspoon kosher salt (Diamond Crystal)

  • ¾

    cup/68 grams Dutch process cocoa powder, sifted if lumpy

  • 1

    cup/128 grams all-purpose flour

  • 1

    teaspoon baking powder

  • ½

    teaspoon baking soda

  • 1

    teaspoon instant espresso powder

  • ¼

    cup/55 grams hot water

Preparation

  1. Make the cake: Set a rack in the center of the oven and heat oven to 350 degrees. Generously grease an 8-by-8-inch square or 9-inch round light-colored metal baking pan with oil. 
  2. In a large bowl, combine the granulated sugar and eggs. Use a whisk or an electric mixer to beat the mixture until foamy and slightly lighter in texture and color, 1 to 2 minutes. Add the sour cream, 1/2 cup oil, vanilla and salt, and whisk until combined and smooth, about 1 minute. 
  3. Whisk in the cocoa powder until combined. Add the flour, baking powder and baking soda, and whisk until combined and no streaks of flour remain. Stir the espresso powder into the hot water, then add the mixture to the bowl. Whisk until incorporated.
  4. Pour the batter into the prepared pan and tap on the counter a few times to release any large air bubbles. Bake until puffed and a toothpick inserted into the center comes out clean, 35 to 40 minutes. Let the cake cool in the pan set on a rack for about 45 minutes.
  5. While the cake bakes, clean the mixing bowl and make the frosting: Add the butter to the bowl and mix on medium-high with an electric mixer until smooth, stopping the mixer occasionally to scrape the bottom and sides of the bowl. Turn the speed to low, and slowly add the confectioners’ sugar. Mix until the sugar is moistened, then add 2 teaspoons of the cream, the vanilla extract, 3/4 teaspoon peppermint extract and salt. Turn the speed up to medium-high, and whip until smooth and fluffy, about 3 minutes, adding a bit more cream a teaspoon at a time, if necessary, to make a smooth and light frosting. Taste the frosting, and add a few more drops of peppermint extract if desired. The frosting can be kept at room temperature while the cake finishes baking and cooling.
  6. Top the cooled cake with an even layer of frosting, then use the tip of a toothpick to dot the frosting with a few small dots of gel food coloring, if using. Use a spoon or offset spatula to swirl the food coloring into the frosting to create candy cane-like stripes — just a few swipes will do the trick. If you mix it in too much, the frosting will turn pink. Top the cake with sprinkles and shaved chocolate, if desired. Store leftover cake loosely covered at room temperature for up to 3 days.

Dining and Cooking