Trick or Treat!! These vanilla cupcakes are filled with a spooky hidden centre. Will you get the treat centre filled with lovely Halloween sprinkles or the trick centre filled with green lemon curd slime?

I have already posted so many amazing Halloween recipes this month including my Spider Web Cake and my Witches Brew Tart but I am so excited to share this cupcake recipe.

So, these cupcakes are based on my Velvety Vanilla Cupcakes. I decided because of the filling it was easier to make them good ol’ vanilla, however, if you would rather make them chocolate or another flavour then you 100% can.

Trick or Treat Cupcakes

I used these baking cups from Iced Jems. These are so so cute and come in so many different colours and patterns. I absolutely love them. They also open up into little plates to catch any crumbs!

To make the trick or treat cupcakes I started by creaming together but butter and sugar until it was light and fluffy. Next I added in the remaining ingredients and mixed until they were combined.

Related Posts

Spooky Ghost Cupcakes

Witches Brew Tart

Spiders Web Cake

To ensure all my cupcakes have the same amount of batter in them I used an ice cream scoop. I have tried a lot of different ways to get the same amount of batter in each cupcake case. There is nothing worse than having an overflowing cupcake and one with literally nothing it in and the best way to do this is with an ice cream scoop.

I bake the cupcakes in the oven until they are golden brown and spring back when touched. To find out if the cupcakes spring back gently and lightly press down on the top then lift your finger. The cupcake should spring straight back into position like you had never even touched it.

You could also use a cake tester to check the inside of the cupcake. Just insert the cake tester into the thickest part of the cupcake. If it comes out clean then the cupcake is ready, if it comes out with cake batter on it isn’t completely cooked in the middle. Pop it back into the oven for 2-3 minutes, remove and check, continue to do this until the cupcake tester comes out clean.


To make the buttercream I start by mixing together butter and icing sugar until it is lovely and thick and creamy. If you find that the buttercream is too thick you can add a teaspoon of milk one at a time until it is the desired consistency.

The tricky part is you need the buttercream to be lovely and thick so that you can pipe it onto your cupcakes and it holds its shape but you don’t want it to be too thick that you can’t get it out the piping bag.

Unfortunately, there is no quick fix for this it is just trial and error. I find the best way to gauge how thick your buttercream is, is once you have whisked it, give it a quick mix with a spatula. If you are finding its quite hard to mix with the spatula then it’s too thick.

I used purple food colouring to colour my buttercream. You can colour the buttercream any colour I was trying to think of a Halloweeny colour. Does Halloween even have a colour scheme? I have no idea.

For the food colouring I would recommend using a gel-based food colouring because you really don’t need a lot to get such a great colour and you don’t get any weird after taste like you do with some liquid-based food colourings.

I put my buttercream into my piping bag and I use a Wilton 1M Piping Tip because it makes the prettiest swirls and leave to one side.

Trick or Treat

I loved making the trick or treat part of the cupcakes. To remove the centre of my cupcakes I used a cupcake corer.

I add my lemon curd to a bowl and pop in the microwave for 10 seconds just to make it lovely and runny. Next, I add in green food colouring and mix until I have the perfect colour.

Fill the centre of 6 of your cupcakes with the lemon curd. You can put the centres back on the cupcakes, or if your like me you can snack on them.

With the other six cupcakes fill the centre with sprinkles. I used these sprinkles but you, of course, can use any.

Finally, you want to pipe the buttercream on top of the cupcakes and decorate. I used these edible eyes but there are so many spooky ways to decorate cupcakes.


Baking Cups

Mixing Bowl



Cake Tester

Food Colouring

Ice Cream Scoop

Piping Bag

Piping Tips

Cupcake Corer


For the Trick or Treat Cupcakes

Caster Sugar – The caster sugar in this recipe adds to the sweetness of your cupcakes

Unsalted Butter – In the cupcake batter, you can use either unsalted butter or Stork. However, in the buttercream, you must use Unsalted Butter. This is the kind that comes in a block and is normally wrapped in foil. If you use Stork or another baking spread in your buttercream it will be far too soft.

Self-Raising Flour – The self-raising flour gives the cupcake its strength and holds all of the cake together.

Eggs – I use 1 egg for every 50g of mixture I use. So I use 145g of unsalted butter, sugar and self-raising flour so I would then use 3 eggs in the mixture.  The eggs in this recipe help to add structure to the cakes. It also helps bind the cupcakes mixture together

Baking Powder – I used Dr Oetker baking powder. The baking powder releases Carbon Dioxide gas into the batter, causing bubbles which help the cake to rise.

Vanilla Extract – I used Dr Oetker Vanilla Extract in these cupcakes

For the Buttercream and Cake Decorations

Icing Sugar – I use Silver Spoon icing sugar in the buttercream for these cupcakes. It helps create the sweetness within the buttercream and to be honest, I don’t think you can make this type of buttercream without icing sugar

Food colouring – I used Pro Gel Food Colouring. I love the gel colours and would recommend using them. As I said above I find they give a much better colour than liquid food colouring and they don’t have the funny aftertaste either.

Edible eyes – I love these eyes. You can buy them in most supermarkets and hobby stores but they are perfect for this time of year. It makes it look like there is a monster or a ghost in my buttercream.

Lemon Curd – I found lemon curd the easiest thing to make the slime, plus it tastes amazing.

Sprinkles – I love sprinkles. You could fill the treat cupcakes with any of your favourite sweets if you don’t want to use sprinkles how about M&Ms or Haribos?

Pin it For Later!

Trick or Treat Cupcakes

Sarah Mark
These Trick or Treat vanilla cupcakes are filled with a spooky hidden centre. Will you get the treat centre filled with lovely Halloween sprinkles or the trick centre filled with green lemon curd slime?
5 from 4 votes
Prep Time 30 mins
Cook Time 20 mins
Decoration Time 40 mins
Total Time 1 hr 30 mins
Servings 12 cupcakes


For the Cupcakes

  • 145 g Caster Sugar
  • 145 g Unsalted Butter or Stork
  • 145 g Self-Raising Flour
  • 3 Large Eggs
  • 1 tsp Baking Powder
  • 1 tsp Vanilla Extract

For the Buttercream

  • 250 g Unsalted Butter
  • 500 g Icing Sugar
  • 1 tsp Vanilla Extract
  • Purple Food Colouring
  • Halloween Decorations

For the Filling

  • 200 g Lemon Curd
  • Green Food Colouring
  • Sprinkles


To Make the Cupcakes

  • Preheat the oven to 180C/160 Fan. Line a muffin tray with cupcake liners and leave to one side.
  • In a large bowl, whisk together the sugar and butter until light and fluffy.
  • Add in the flour, eggs, baking powder and vanilla and whisk until all combined.
  • Spoon the mixture into the cupcake liners. I use a small ice cream scoop to do this so I know that they are all even.
  • Bake in the oven for 15-20 minutes. You will know the cupcakes are ready when they are golden brown and springy to touch.

To Make the Buttercream

  • While the cupcakes are cooling make the buttercream.
  • In a large bowl add the butter, icing sugar and vanilla and mix until it is all combined. Add in the food colouring a little at a time until it reaches the desired colour.
  • Spoon the mixture into your piping and leave to one side.

To Decorate

  • Once your cupcakes have cooled remove the centre of each one. Keep these centres as we will put them back in once we have filled the centre of the cupcakes.
  • At the lemon curd to a bowl and add in the green food colouring a little at a time until it has reached the desired colour.
  • Carefully spoon the green curd into the middle of six of the cupcakes. Pop the centre of the cupcake back in and leave to one side.
  • To the other six cupcakes add your sprinkles to the centre. Pop the centre of the cupcakes back in.
  • Pipe the buttercream onto the top of the cupcakes and decorate. I used fun edible eyes and enjoy!


  • These cupcakes will last 3-4 days in an airtight container. 
  • You can fill the centre of your cupcakes with anything you want. Why not try sweets for the treat like M&Ms or Haribos?
  • You could also dye the lemon curd different colours too why not try red?
  • You can also use any colour of food colouring for the buttercream. I was trying to think of a Halloweeny themed colour.

If you do have any questions about this Trick or Treat Cupcake recipe or any other recipes on my blog please contact me. You can either use the Facebook message symbol in the bottom right corner of your screen. Or you can send me a DM on social media or an email. You can find all my details on the right-hand side of this page.


  • Hannah Louise

    26 October 2020 at 5:01 pm

    5 stars
    These look fab! I especially love the ones with the sprinkles in the middle, definitely put me in the mood for some Halloween baking!

  • Lisa

    26 October 2020 at 7:29 pm

    5 stars
    With trick or treating off the agenda this year I’ve been looking for fun things to do with my daughter and her friend for a socially distanced, Rule of Six Hallowe’en and this is absolutely perfect. Genius tip about the ice cream scoop too, thank you so much!

    1. aspoonfulofvanilla

      31 October 2020 at 1:40 pm

      That sounds like so much fun! I hope you, your daughter and her friends have fun making them!

  • Lucy

    26 October 2020 at 8:32 pm

    These cupcakes look adorable! I love that you have sprinkles in the middle of the cupcakes! x

    Lucy |

    1. aspoonfulofvanilla

      31 October 2020 at 1:38 pm

      Thank you!

  • Claire

    26 October 2020 at 8:46 pm

    5 stars
    These look so effective! What a great idea to colour the lemon curd. I really fancy lemon curd now on toast.

    Look delicious x x

    1. aspoonfulofvanilla

      31 October 2020 at 1:38 pm

      Thank you! Oooh lemon curd on toast would be delicious right now.

  • Della

    26 October 2020 at 9:34 pm

    These cupcakes are so cute, I’ll have to give them a go xx

    1. aspoonfulofvanilla

      31 October 2020 at 1:36 pm

      Yes! Do it! I hope you enjoy them!

  • Charity

    26 October 2020 at 10:47 pm

    These cupcakes look too cute! I will have to try them out. Thanks so much for sharing!

    1. aspoonfulofvanilla

      31 October 2020 at 1:36 pm

      Yesss! I hope you enjoy them!

  • Nic | Nic’s Adventures & Bakes

    27 October 2020 at 7:52 pm

    5 stars
    Thanks for sharing, these are amazing for a Halloween party 🙂

    Nic | Nic’s Adventures & Bakes

  • Chloe Chats

    27 October 2020 at 9:08 pm

    What a fun idea! I do want to make some Halloween themed cakes or cookies for Halloween so I love the idea of making a trick or treat filling, I wouldn’t have even thought about doing something like that! They look great too, love it. Thank you for sharing! x

    1. aspoonfulofvanilla

      31 October 2020 at 1:35 pm

      Thank you! I thought since we couldn’t do normal trick or treating this year that these cupcakes would be a fun alternative.

Leave a comment

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

Recipe Rating

Prev Post Next Post
%d bloggers like this: