Home » Harry Potter Sorting Hat Cupcakes

Harry Potter Sorting Hat Cupcakes

Calling all Harry Potter fans! What Hogwarts House would you be in? These magical Harry Potter Sorting Hat Cupcakes knows all and can actually determine what house is best for you. Grab yourself a delicious Butterbeer, pop on your cloak, grab your wand and take a bite of your cupcake to discover which house you belong in!

Vanilla cupcakes with coloured fillings, topped with a swirl of frosting, chocolate witches hat with a black background and lit candles.

Harry Potter Sorting Hat Cupcakes

These are the perfect sweet treat for Halloween. When you bite into these delicious, sweet and fun cupcakes you’re taken onto a magical journey to discover what Hogwarts House you belong. Scrumptious Butterbeer flavoured cupcakes, a vanilla cream cheese frosting and ‘house’ colours hidden inside, topped with a chocolate sorting hat and magical sprinkles. What more could a wizard ask for!? Are you brave enough, take a bite and find out whether you’re in Gryffindor, Slytherin, Ravenclaw or Hufflepuff – SO EXCITING!

harry potter cupcakes on a book, with white frosting and a chocolate hat decoration on top, with a black background.

Why you’ll love these sorting hat cupcakes

  • Vegan.
  • They’re super fun.
  • Butterbeer flavoured cakes.
  • They’re topped with vanilla cream cheese frosting.
  • They’re moist.
  • Cupcakes are light and fluffy.
  • Sorting hat is super fun to make.
  • Great for a Halloween party or birthday party.
  • Perfect Harry Potter inspired sweet treat.
close up of sorting hat cupcakes with a red filling and chocolate witches hat.

How to make Harry Potter Sorting Hat Cupcakes

These cupcakes have three parts- cupcake, filling, frosting and sorting hat.


  • The Butterbeer flavour comes from butterscotch flavouring in the cake, and a creamy swirl on top. It really gives you the flavour of a Butterbeer. These cupcakes would definitely be sold in Honeydukes- haha!


  • One nerve-wracking bite of these cupcakes and you’ll find out which house you belong in. They are the best treat for a Potter fan! The cupcakes are filled with coloured buttercream. I used the Rainbow Food Dust ProGel. These colours are extremely highly pigmented and are great for getting that pop of colour.


  • To compliment the butterscotch cupcake and make for a ‘Butterbeer’ flavoured treat, I made a simple creamy vanilla frosting. I used dairy-free cream cheese to help flavour the frosting which goes perfectly with the moist and delicious cakes!

Sorting hat:

  • I have a feeling these sorting hats will become very popular with kids! They are ridiculously fun to make, and really look amazing on top of the frosting. The dark chocolate works beautifully with the scrumptiously sweet, white frosting. To give them a little added sparkle of magic, I topped the cupcakes with glitter stars and a dusting of edible silver glitter.
process of making edible chocolate oreo witches hats.

How to make chocolate sorting hats

Arguably the best part of these cupcakes are the chocolate sorting hats. They’re super fun and easy to make, using only 3 ingredients.

  1. Separate an oreo cookie in half.
  2. Cut the pointy tip of an ice-cream cone to fit the cookie.
  3. Melt dark chocolate and stick the ice-cream cone to the cookie.
  4. Dip the entire thing in chocolate, chill and voila!

The hats are great fun to make and can be made ahead of time. Simply make them a day or two in advance and store them in a sealed container in the fridge! You could fill the ice-cream cone part with corresponding Hogwarts house sweets (just make sure the colours which you choose match the cupcake filling to make them even more magical. You don’t want to give your guest a cupcake with a red Gryffindor filling and a green Slytherin hat. That just wouldn’t do 🙂

harry potter cupcake pinterest pin.

Looking for more Halloween recipes? Check these out:

Mini Vegan Pumpkin Cheesecakes

Vegan Oreo Bat Cupcakes

Vegan Ghost Pop Tarts

Nutella Mummy Hand Pies Vegan

Vegan Marshmallow Ghost Cookies

Vegan Caramel Meringue Ghost Tarts

close up of vanilla cupcake with a swirl of buttercream, star sprinkles and a chocolate witches hat.

If you make, and love this recipe, please leave a ⭐⭐⭐⭐⭐ rating below. Thank you & happy baking!

clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon
three sorting hat cupcakes, with bites taken out. One with a green filling, one with a red filling and one with a blue filling, with lit candles in the background.

Harry Potter Sorting Hat Cupcakes

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

No reviews


Harry Potter Sorting Hat Cupcakes are the ultimate Potter inspired party treat, with hidden house colours and a chocolate sorting hat. 


Units Scale

Ingredients for the cupcakes

  • 240ml of dairy-free milk
  • 1 teaspoon of apple cider vinegar
  • 210g of self-raising flour
  • 100g of caster sugar
  • 1/2 teaspoon of baking powder
  • 1/2 teaspoon of bicarbonate of soda
  • 60ml of sunflower oil
  • 1 & 1/2 teaspoons of butterscotch flavouring

Ingredients for the buttercream

Ingredients for the chocolate sorting hats

  • 1/2 pack of Oreo cookies
  • 1 box of ice-cream cones
  • 80g dairy-free dark chocolate
  • Mini star sprinkles


Method (cupcakes)

  1. Preheat your oven to 180°C fan and line 2 cupcake tins with cupcake cases.
  2. In a small bowl, combine the dairy-free milk with the apple cider vinegar and whisk until fully combined.
  3. In a large mixing bowl, sift the flour, sugar, baking powder and bicarbonate of soda. Mix well to combine.
  4. Add the oil and butterscotch flavouring to the ‘buttermilk’ and whisk to combine.
  5. Add the wet ingredients into the dry and mix until a smooth batter.
  6. Fill the cases 3/4 full with the batter. Make sure to tap the tins on the worktop to remove any air bubbles.
  7. Pop the cakes into the preheated oven and bake for 18-20 minutes. You will know they are done when you put a knife or skewer in and it comes out clean and they are springy to the touch.
  8. Place the cupcakes on a cooling rack and allow to cool fully before frosting.

Method (frosting)

  1. In a large mixing bowl, add in the dairy-free butter and cream cheese and whip until creamy. I use a stand mixer with a balloon whisk attachment, a hand mixer will work great too.
  2. Sift in the icing sugar and vanilla and whip to combine.
  3. Pour in the aquafaba and whip on high speed for 5-8 minutes until this and creamy. If it’s too thin, add more butter until it’s the right, airy consistency. 
  4. Once smooth, take out 1/4 of the buttercream and transfer into 4 separate bowls. Add red food gel to one bowl and mix, then green, yellow and blue to the other bowls to create the Hogwarts house colours. Transfer the coloured buttercreams into separate piping bags. 
  5. Transfer the white buttercream into a piping bag fitted with a large star tip nozzle.
  6. Core the cupcakes using an apple corer, then fill the holes with the coloured buttercreams.
  7. Pipe a swirl of the white buttercream on top of each cupcake. 
  8. Add some some star sprinkles (optional).

Method (Sorting hat)

  1. Separate an Oreo cookie in half, then scrape out the cream filling trying not to break the cookies. You can snack on the cream filling or store them in a sealed container to use for something else. 
  2. Cut off the pointy tip of an ice-cream, big enough to look like a witches hat when place on the Oreo.
  3. Add the chocolate into a heat-proof bowl. Fill a small saucepan 1/4 with water and place over the hob on a low / medium heat. Place the bowl on-top to create a bain-marie. Melt the chocolate.
  4. Dip the base of the ice-cream cone to the chocolate then place onto one of the cookies (see photo for example).
  5. Freeze, then coat the entire hat in chocolate, set on some grease-proof paper and transfer into the freezer to set fully. Once set, remove form the freezer and place on top of the frosting, serve.


To store: Store iced cupcakes in the fridge in a sealed container. Best enjoyed within 2 days of making.

What dairy-free butter to use? My favourite is Naturli Vegan Block and Flora Plant Butter. Use a thick butter for the best textured and stable buttercream. 

What dairy-free cream cheese to use? Any dairy-free cream cheese will work perfectly in this recipe. My favourites to use are: ‘Violife Cream Original’, Sainsbury’s own Free From Cream Cheese’. Any soft, and creamy cream cheese is great!

  • Prep Time: 10 minutes
  • Cook Time: 18-20 minutes
  • Category: Cupcakes
  • Method: Baking
  • Cuisine: American

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

As seen in