01 -
Preheat the oven to 350°F. Line two 8-inch round cake pans with parchment paper and grease with butter. Dust with cocoa powder or gluten-free flour.
02 -
In a medium bowl, whisk together gluten-free flour blend, xanthan gum (if applicable), cornstarch, cocoa powder, baking powder, baking soda, and salt until well combined.
03 -
In a large mixing bowl, beat granulated sugar and vegetable oil with an electric mixer until fully combined. Add eggs, vanilla extract, apple cider vinegar, and red food coloring. Stir to incorporate, scraping down the sides as needed.
04 -
Stir in buttermilk and hot coffee until the mixture is smooth.
05 -
Gradually add the dry ingredient mixture to the wet ingredients, mixing until no streaks of flour remain. Scrape the sides and bottom of the bowl to ensure all ingredients are fully incorporated. Let the batter rest for 2–3 minutes to thicken slightly.
06 -
Divide the batter evenly between the prepared cake pans. Use a food scale if desired to ensure equal amounts.
07 -
Bake at 350°F for 35–40 minutes or until a wooden pick inserted into the center comes out clean. Let the cakes cool completely on a wire rack. Level cakes if needed, reserving excess crumbs.
08 -
In a large bowl, combine softened butter and cream cheese. Beat with an electric mixer until smooth.
09 -
Mix in vanilla extract and salt. Gradually add powdered sugar, mixing on low speed until each addition is incorporated.
10 -
Place one layer of cake on a serving plate. Spread cream cheese frosting over the top. Add the second layer, then apply a crumb coat of frosting to trap crumbs. Refrigerate for 20 minutes, then apply a thicker layer of frosting. Decorate with any reserved cake crumbs.