Print

Sorting Hat Cupcakes

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews

These Sorting Hat Cupcakes are magical chocolate cupcakes filled with colorful frosting to reveal Hogwarts house colors inside. Topped with whimsical chocolate sorting hats, they’re fun, festive, and perfect for Harry Potter–themed parties or fall celebrations.

Ingredients

1 cup (125 g) all-purpose flour, spooned and leveled

5 tbsp (25 g) Dutch process cocoa powder

1/2 tsp baking powder

1/2 tsp baking soda

1/4 tsp salt

1 tsp espresso powder (optional)

1/4 cup (56 g) unsalted butter, softened

3/4 cup (150 g) granulated white sugar

1 egg, at room temperature

1 egg yolk, at room temperature

1 tsp vanilla

1/4 cup (60 g) sour cream, at room temperature

1/2 cup (120 ml) whole milk, at room temperature

1/2 cup (112 g) unsalted butter, softened

Pinch of salt

1/4 cup (20 g) Dutch process cocoa powder

1 cup (130 g) powdered sugar

2 tbsp (30 ml) heavy cream

6 Oreos, filling removed

6 oz dark chocolate bars, chopped

1 tsp coconut oil

1 cup (224 g) unsalted butter, softened

8 oz (226 g) cream cheese, cold

3 cups (390 g) powdered sugar

Blue, green, gold, and red gel food coloring

Sprinkles for decorating

Instructions

  1. Preheat oven to 350°F (175°C) and line a cupcake pan with 12 liners.
  2. For cupcakes: Whisk together flour, cocoa powder, baking powder, baking soda, salt, and espresso powder. In another bowl, cream butter and sugar until fluffy. Mix in egg, egg yolk, and vanilla, then sour cream and milk. Fold in dry ingredients until combined.
  3. Divide batter into liners and bake 18–20 minutes, or until a toothpick comes out clean. Cool completely. Cut small centers from each cupcake for filling.
  4. For frosting: Beat butter and cream cheese until smooth. Gradually add powdered sugar. Divide into 4 bowls and tint with blue, green, gold, and red food coloring. Fill cupcake centers with colored frosting. Frost tops with plain white cream cheese frosting.
  5. For hats: Beat butter, salt, cocoa powder, powdered sugar, and cream until smooth to make chocolate buttercream. Pipe swirls onto Oreo bases to form hats. Melt chocolate with coconut oil, dip hats, and let set until firm.
  6. Place one chocolate hat on each cupcake and decorate with sprinkles.

Notes

Use vanilla cupcakes instead of chocolate for a lighter version.

Fill centers with candy pieces matching house colors for extra fun.

Make hats a day ahead for convenience.

Press hats gently into frosting to prevent sliding.

Nutrition