Skip to content

Rainbow Cupcakes

Rainbow Cupcakes

Whether you’re looking for a fun activity to complete with the kids, why not try your hand at some rainbow baking? Try our delicious swirly rainbow cupcake recipe at home – a fun-filled recipe for the whole family.

Rainbow Cupcake Recipe

At a Glance


10 People



Prep Time:

10 min

Cooking Time:

20 min

How To Make Rainbow Cupcakes

Our delicious rainbow cupcakes are easy to make and topped with colourful buttercream frosting – you really can’t go wrong.

What you'll need:

For the cupcakes:

100g soft margarine or soft unsalted butter

100g caster sugar

2 eggs

100g self-raising flour

1 tsp baking powder


For the icing:

175g butter, softened

350g icing sugar, sifted

5-7 drops of gel food colouring



Piping bag with star nozzle


  1. Pre-heat the oven to 200°C / 400°F / Gas Mark 6.
  2. Place 18 cake cases into a muffin tin.
  3. Measure all the rainbow cupcake ingredients into a large bowl and beat well for around 2-3 minutes, until the mixture forms a smooth cake batter.
  4. Using a spoon, fill the cake cases halfway to allow the mixture to rise when cooking.
  5. Bake in the pre-heated oven for around 15-20 minutes, or until the cakes are well risen and golden brown on top.
  6. Lift the cakes out of the muffin tin and leave to cool on a wire rack.
  7. While your rainbow cupcakes are cooling, it’s time to make your buttercream icing! Start by beating the butter and icing sugar together until smooth.
  8. Turn your piping bag inside out and then drizzle each colour of gel food colouring evenly down the edge of the bag to create stripes.
  9. Turn the bag the right side out and, fit with the star nozzle and fill with your buttercream frosting.
  10. Making sure your holding the bag in a vertical position, pipe the buttercream in a spiral-like shape to create your rainbow swirl cakes. You might need a second pair of hands to hold the cupcake whilst doing so to create the perfect swirl!


Top Tip: Start from the outside edge and slowly spiral your icing inwards, building height to create a centre peak.


And there you have it – our fun-filled rainbow cupcake recipe! Find all the ingredients you need for these deliciously colourful cupcakes at your local SPAR and sign up to our E-newsletter for our latest recipes and competitions.

Similar recipes


Receive our latest deals, news and competitions straight to your inbox!