• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Easter Recipes
  • Recipes
  • Sign Up
  • About Liz

Sugar Geek Show logo

menu icon
go to homepage
  • Easter Recipes
  • Recipes
  • Sign Up
  • About Liz
subscribe
search icon
Homepage link
  • Easter Recipes
  • Recipes
  • Sign Up
  • About Liz
×
Home › Blog

Updated on March 11, 2026 by Liz Marek · This post may contain affiliate links · 33 Comments

Unicorn Cake Tutorial

2670 shares
  • Facebook
  • Flipboard
Jump to Recipe

Easy unicorn cake with rainbow hair, golden horn, and easy sparkly eyes

An easy rainbow unicorn cake that's soooo cute! This unicorn cake is rainbow on the inside and outside! I love how pretty the rainbow cake batter turned out using my white velvet buttermilk cake recipe. The rainbow buttercream mane topped with sprinkles and a pretty gold unicorn horn just makes this the cutest rainbow unicorn cake evah!

unicorn cake

I first created this unicorn cake class for a friends daughter and her bestie. I pre-made the cakes and frosted them so all they had to do was decorate them. I was really impressed with how well the girls did with the piping of the hair! The thing they struggled with the most was rolling out fondant eyelashes lol.

kids unicorn cake class

Rainbow cake recipe

Ok the first step, make the cakes. I whipped up a batch of my white velvet cake for this recipe because it tastes AMAZING but also is a very white cake so it takes the color really well. Other good options are the white cake recipe and WASC cake. Vanilla cake uses egg yolks so the batter tends to make the blue turn green.

rainbow cake recipe

I love how this rainbow cake turned out! It's super fun to make and a great excuse to get colorful!

  1. Divide your cake batter into 4 bowls.
  2. I used Americolor electric food coloring because I love their bright neon colors. I used electric pink, electric blue, electric yellow, and electric green.
  3. Add 1-2 teaspoon of food coloring to each bowl and mix.
  4. Layer your cake batter into three 6" cake pans that are prepared with cake goop (homemade pan release)
  5. I layered my colors in this order, blue, pink, yellow, green (repeat).
  6. Bake in the oven at 335ºF for 30-35 minutes until a toothpick comes out clean.
  7. Immediately tap the cake on the counter to release air pockets and reduce shrinking.
  8. Let cool 10 minutes before removing from the pan by inverting onto a cake rack. Freeze 1 hour before frosting or wrap in plastic wrap and chill overnight.

How to make the unicorn cake

After my cakes are chilled, I stack and fill them with my easy buttercream recipe and smooth out the buttercream with a bench scraper. If you need more info on how to decorate a cake, check out my free tutorial on the basics of how to make your first cake.

how to make a unicorn cake

I don't worry too much about getting the sides perfectly smooth but if you follow the last step in my easy buttercream recipe, you'll have buttercream that is pretty much bubble free.

easy buttercream frosting made with pasteurized egg whites, butter and sugar. Not too sweet and very creamy.

How to make the unicorn cake eyes

I know most unicorn cakes have eyes that are closed and kind of piped very simply but I wanted to do something a bit different. I'm a big fan of my little pony and anime so I wanted my unicorn to have more expressive eyes.

how to make unicorn cake eyes

I designed these unicorn eyes that you can download and print out using your edible ink printer. I prefer my Canon MG6821 printer, Photofrost edible image sheets and edible ink. It hasn't clogged on me once and I hardly ever print.

Tips for printing edible images

  1. Make sure your print settings are set to BEST QUALITY PHOTO and your paper is set to photo paper. Otherwise, you can get streaking and lines in your paper.
  2. Use fresh edible image paper that is flexible or it can be hard to cut out.
  3. Cut your images using cuticle scissors or an x-acto blade.

Once your eyes are printed and cut out you can just place them onto the cake. I put mine towards the bottom of the cake so they look cute and cartoony. If you put them higher up, you won't have room for the hair. Get your free unicorn eyes here.

[optin-monster slug="neyfb52qlffjjynclird"]

How to make a unicorn cake horn

Now it's time to put on the unicorn horn! I place my cake pop stick on top of the head and roll out some fondant into a snake. One end is much fatter than the other.

Wrap the fondant snake around the cake pop stick so it's nice and snug. Use your hands to fill in any gaps or holes in the fondant. If you don't like how it looks, just pull it off and try again. Don't get discouraged if it takes you a few tries.

how to make a unicorn horn

If you don't want to fuss with fondant, you can use my friend's awesome unicorn horn mold. Fill it with chocolate or isomalt and you'll have a perfect unicorn horn for your cake!

Paint your unicorn horn with a mixture of TMP super gold mixed with a few drops of grain alcohol (I used Everclear) to make a thick paint. TMP is non-toxic. Other good brands of gold are edible artist decorative paints metallics.

How to pipe hair on a unicorn cake

Now the fun part! Making the unicorn mane! I colored about 1 cup of easy buttercream for each color (electric blue, green, yellow and pink). Spread the buttercream onto a piece of plastic wrap (see video) to make a buttercream bullet.

The girls in my class loved deciding what color schemes and piping tips they were going to use to pipe the unicorn hair!

how to pipe unicorn hair with buttercream

Place the bullet inside a piping bag with a 1M star piping tip and start making some rosettes! You really can't mess this up and it's what gives the unicorn cake it's personality.

how to pipe unicorn cake hair

I followed up the rosettes with a smaller star tip (not sure the size) and some yellow buttercream. Then I added on some sprinkles from Sweetapolita (affiliate link) twinkle mix for some extra magic!

how to make unicorn cake hair

How to make ears for your unicorn cake

I used fondant to make my unicorn ears. Just roll some fondant into a ball and then flatten slightly to make a leaf shape. Cut in half to make two ears (see video). I hollowed out the center of the ear a tad and dusted the insides with some pink petal dust.

how to make unicorn ears

You can place the ears right on the buttercream and they will stick or you can insert a piece of dried spaghetti and use that to stick into the cake. Don't use toothpicks, they are dangerous and can poke someone's mouth.

easy rainbow unicorn cake

Finishing the unicorn cake

The last thing I did was pipe a small white border around the bottom of the cake with a #4 round piping tip and some white buttercream. You do not need to refrigerate this cake if you are eating it the same day. If you do refrigerate it, make sure you bring it to room temperature a few hours before eating it so the butter has time to soften and become delicious again.

Be sure to watch my video tutorial on how to make a unicorn cake below!

Recipe

how to make a rainbow unicorn cake

Unicorn Cake Recipe

How to make the rainbow white velvet cake with easy buttercream! This recipe makes three 6"x2" tall cake layers.
Bake at 335F for 30-35 minutes until a toothpick comes out cleanly. 
Print Recipe Pin Recipe Rate Recipe
Prep Time: 10 minutes minutes
Cook Time: 30 minutes minutes
Total Time: 40 minutes minutes
Course: Dessert
Cuisine: American
Servings: 12 servings
Calories: 823kcal
Author: Liz Marek

Ingredients

Rainbow Cake Ingredients

  • 12 oz cake flour
  • 12 oz granulated sugar
  • 1 teaspoon salt
  • 1 tablespoon baking powder
  • ½ teaspoon baking soda
  • 5 oz egg whites room temperature
  • 4 oz vegetable oil
  • 10 oz buttermilk room temperature or slightly warm
  • 6 oz butter unsalted and softened
  • 2 teaspoon vanilla

Easy Buttercream

  • 8 oz pasteurized egg whites
  • 32 oz unsalted butter softened to room temp (not melted)
  • 32 oz powdered sugar sifted
  • 1 tablespoon vanilla extract
  • 1 teaspoon salt

Instructions

White Velvet Cake Instructions

  • NOTE: It is SUPER IMPORTANT that all the room temperature ingredients listed above are room temperature and measured by weight so that the ingredients mix and incorporate correctly.
    Heat oven to 335º F/168º C — 350º F/177º C. I tend to use lower setting to prevent my cakes from getting too dark on the outside before the inside is done baking.
  • Prepare three 6"x2" cake pans with cake goop or preferred pan spray. Fill your pans about ¾ of the way full of batter. You might have a little batter leftover. You can make these into cupcakes!
  • Whisk together the flour, sugar, baking powder, baking soda and salt in the bowl of a stand mixer with the paddle attachment. Mix 10 seconds to combine. 
  • Next, combine ½ cup of the milk and the oil together and set aside. 
  • Combine the remaining milk, egg whites and vanilla together, whisk to break up the eggs and set aside. 
  • Add your softened butter to the dry ingredients and mix on low until mixture resembles a coarse sand (about 30 seconds). Add in your milk/oil mixture and let mix until dry ingredients are moistened and then bump up to med (setting 4 on my kitchenaid) and let mix for 2 minutes to develop the cakes structure. If you don't let your cake mix on this step your cake could collapse. 
  • Scrape your bowl and then reduce speed to low. Add in your egg white mixture in three batches, letting the batter mix for 15 seconds between additions. 
  • Divide cake batter into four bowls. Add 1-2 teaspoon of food coloring to each bowl and stir until just combined.
  • Divide batter into three 6" cake pans prepared with cake goop or another preferred pan release. Bake 30-35 minutes until a toothpick inserted into the center comes out cleanly but the cake has not begun to shrink yet from the sides of the pan. 
  • IMMEDIATELY TAP PAN FIRMLY on countertop once to release the steam from the cake. This stops the cake from shrinking. 
  • Let cakes cool for 10 minutes inside the pan before flipping them out. Flip onto a cooling rack and let cool fully. I chill my cakes in the freezer for one hour before using or you can wrap in plastic wrap and chill in the fridge overnight.

Easy Buttercream Frosting Instructions

  • Place egg whites and powdered sugar in a stand mixer bowl. Attach the whisk and combine ingredients on low and then whip on high for 5 minutes 
  • Add in your butter in chunks and whip with the whisk attachment to combine. It will look curdled at first. This is normal. It will also look pretty yellow. Keep whipping. 
  • Let whip on high for 8-10 minutes until it's very white, light and shiny. 
  • Switch to a paddle attachment and mix on low for 15-20 minutes to make the buttercream very smooth and remove air bubbles. This isn't required but if you want really creamy frosting, you don't want to skip it. You can now color your buttercream as needed.

Video

Nutrition

Calories: 823kcal | Carbohydrates: 131g | Protein: 16g | Fat: 26g | Saturated Fat: 18g | Cholesterol: 43mg | Sodium: 428mg | Potassium: 365mg | Fiber: 3g | Sugar: 53g | Vitamin A: 545IU | Calcium: 175mg | Iron: 3.9mg
Tried this recipe?Let us know how it was!

More Blog

  • close up of fresh pasta held in two hands
    Easy Homemade Egg Pasta
  • jar of Speculaaskruiden
    Speculaaskruiden (Dutch Spice Mix)
  • homemade edible Christmas gift ideas
    Homemade Edible Christmas Gift Ideas Everyone Will Love
  • Crispy Parmesan Potato Stacks

About Liz Marek

Liz Marek is a professional cake artist, sweet and savory recipe developer, and the founder of Sugar Geek Show, where she teaches cooking, baking and cake decorating through detailed tutorials, food science explanations, and kitchen-tested recipes. She has been creating recipes and teaching baking techniques since 2008, helping bakers of all skill levels gain the confidence to make professional-quality desserts at home.

Liz is known for breaking down complex cooking and baking concepts into simple, approachable methods. Her work focuses on helping people understand not just how a recipe works, but why it works. Through Sugar Geek Show, she shares step-by-step recipes, cake decorating tutorials, and practical baking guides designed to make professional techniques accessible to everyone.

Over the years, Liz has taught thousands of students through online tutorials, classes, and educational content focused on real kitchen results. Her recipes are carefully tested and written to help people succeed the first time they make them.

When she’s not developing recipes or teaching baking techniques, Liz also hosts curated travel experiences for women through her travel brand Soul Sisters.

You can find Liz’s latest recipes, baking tutorials, and food science tips at Sugar Geek Show.

Reader Interactions

Comments

  1. Siri says

    October 29, 2020 at 4:25 am

    I’m unable to see the link to download those beautiful eyes..

    Reply
    • Sugar Geek Show says

      October 29, 2020 at 10:05 am

      If you scroll down the page it should pop up 🙂

      Reply
  2. Katherine says

    September 25, 2020 at 2:49 pm

    5 stars
    I used your velvet cake Recipe and color layering technique for rainbow cupcakes. They are gorgeous!! So glad to learn about the electric food colors. I am making the Cakes for my granddaughters 6th birthday party and am just about to make a rainbow bullet for the frosting plus sprinkles. This is so much fun! Thank you.

    Reply
  3. Eileen S says

    August 15, 2020 at 3:21 pm

    5 stars
    Amazing cake, made it for my daughter's 1st birthday. We all love it, cake was so smooth and buttercream was amazing. Thanks Liz for the amazing recipe!!

    Reply
  4. Anita says

    July 08, 2020 at 8:25 pm

    Hi - I loved the texture of the buttercream for frosting the cake, but found it tasted way too buttery and had a greasy mouth feel - I don’t have a stand mixer so used a hand mixer with beaters (no whisk attachment) - I did do the final step of beating for 20 mins - since the whole process was with hand mixer with beaters I wonder if I actually ended up over mixing it . Could that have given it the greasy feel? Is it possible to reduce the butter in the recipe without ruining the creamy texture?

    Reply
    • Elizabeth Marek says

      July 09, 2020 at 10:13 pm

      Since you used a hand-mixer, the buttercream was most likely not whipped enough. If it still tastes like butter, its not whipped enough.

      Reply
  5. Star says

    June 29, 2020 at 7:22 am

    5 stars
    Hey Liz, wondering if the pasteurized eggs have to be room temperature?

    Reply
    • Elizabeth Marek says

      June 29, 2020 at 7:57 am

      No they do not but just keep in mind you have to mix the buttercream for a while because they will get kind of curdled looking while mixing and you just keep mixing.

      Reply
  6. Gemma Hicks says

    May 31, 2020 at 4:47 pm

    Hi,

    Will this cake do OK in the fridge overnight? I know the buttercream will be fine but I'm worried about the eyes going goopy and the fondant in the horn sweating and running. I am going to cover my unicorn horn in silver leaf - any thoughts on how that will go in the fridge?

    Thanks!
    GH

    Reply
    • Elizabeth Marek says

      June 01, 2020 at 9:51 am

      Yes the cake can go in the fridge. Sweating does not hurt fondant. It will stop sweating when it warms up. Silver leaf won't be effected by the fridge.

      Reply
  7. Barbara G says

    May 13, 2020 at 4:34 pm

    5 stars
    Liz cake icing was awesome, cake was perfect... did you get
    My pic of my ssd looking cake. To be fair I had multiple issues..
    My computer died for the eyes, my board was 8”not 6 making it
    Difficult to make cake smooth, finally the color for purple did not turn out as expected, but I did not want to waste this delicious icing. I will hang in and see if I can improve cause I love baking! I won’t resend my sad photo, but thank goodness
    Looks aren’t everything! (But it does help)

    Reply
    • Elizabeth Marek says

      May 14, 2020 at 8:38 am

      You did a great job 🙂 Keep trying and sharing your work!

      Reply
  8. Carey says

    April 23, 2020 at 4:16 pm

    Thank you! Starting tomorrow!

    Reply
  9. Carey says

    April 16, 2020 at 12:34 pm

    5 stars
    Hello
    Never made a cake before but want to serve a few more people. Should I do it in 8" pans instead? Or possible just add an 8" layer to the bottom? I just ordered and picked up a 6" pan and it looks tiny (even though it's being stacked).

    Reply
    • The Sugar Geek Show says

      April 16, 2020 at 1:24 pm

      If you want to make a bigger cake yes you can use 8" pans but you will need to increase the recipe as well to 1 plus 1/2 batch. You can adjust the servings on the recipe card to adjust the ingredients

      Reply
  10. Elaine Lee says

    February 29, 2020 at 6:52 pm

    5 stars
    Hi, would you share the brand of piping bag you use? Awesome tutorial!

    Reply
    • The Sugar Geek Show says

      February 29, 2020 at 10:17 pm

      I'm not sure the brand because I got it from my local cake decorating store but I think the number is standard 🙂

      Reply
  11. Radhika Venigalla says

    January 04, 2020 at 10:03 pm

    superb cake and may i know the measurements of butter cream frosting only for hair decoration.thank u in advance.

    Reply
    • The Sugar Geek Show says

      January 06, 2020 at 11:25 am

      The measurements for the buttercream are in the recipe card

      Reply
      • Lia says

        January 31, 2020 at 11:29 am

        In video you use all the egg but in recipe you say only whites. which is it?

      • The Sugar Geek Show says

        January 31, 2020 at 3:15 pm

        Egg whites 🙂

  12. Marilyn says

    October 30, 2019 at 6:35 am

    Where do you get your pasteurized egg whites?

    Reply
    • The Sugar Geek Show says

      October 30, 2019 at 9:48 am

      They are in the egg section of the grocery store, usually on the top shelf. They come in a box

      Reply
  13. Nathaniel L says

    September 16, 2019 at 1:29 pm

    5 stars
    Hey Liz,

    I don't own a printer do you know of a way for me to make those eyes without having to print them

    Reply
    • The Sugar Geek Show says

      September 16, 2019 at 9:55 pm

      You could hand paint them onto fondant and then cut the fondant out and put it on the cake 🙂

      Reply
  14. Elaine magalhaes says

    April 18, 2019 at 8:26 pm

    Hi; can you use AP flour for the reverse method ; and in the recipe has just 4 oz of sugar is that correct? Thanks

    Reply
  15. Brittany says

    April 02, 2019 at 11:05 am

    Hey Liz do you recommend a certain type of edible ink for the printer you mentioned above? Any specific edible image sheets good for the printer referenced?

    Reply
    • Nisa Brice says

      April 03, 2019 at 7:26 am

      If you look under the How to Make Unicorn Eyes section she tells you what she uses.

      Reply
Newer Comments »
5 from 11 votes (4 ratings without comment)

Leave a Reply Cancel reply

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

Recipe Rating




All comments are subject to our Terms of Use

Primary Sidebar

Hi, I'm Liz! I'm passionate about creating reliable, foolproof recipes that don't just tell you how to cook, but why things work - so you can skip the guesswork and confidently make the best sweet and savory dishes of your life.

More about me →

Our Cake Greatest Hits

Check out our best cake recipes

🐰 Celebrate Easter

  • pink speckled cake with easter eggs on top
    Speckled Easter Cake
    Cook Time50 Minutes
  • bunny butt cake on a cake board
    Bunny Butt Cake
    Cook Time3 Hours
  • Carrot cake bar held up by a server
    Carrot Cake Bars
    Cook Time1 Hours 30 Minutes
  • M&M cookies on cooling
    Easy M&M Cookie Recipe
  • Moist carrot cake with pineapple, toasted coconut, candied pecans and big chunks of carrots. Frosted with brown butter cream cheese frosting
    Carrot Cake With Pineapple Recipe
    Cook Time55 Minutes
  • slice of pink velvet cake with whipped cream frosting and fresh raspberries on a white plate
    Pink Velvet Cake
    Cook Time40 Minutes

Popular Recipes

  • close up of ganache drizzling into a bowl
    The Best Chocolate Ganache Recipe
    Cook Time20 Minutes
  • Piping easy buttercream rosettes onto a cake using a 1M star piping tip
    Easy Buttercream Frosting
    Cook Time10 Minutes
  • close up slice of marble cake
    Moist and Fluffy Marble Cake Recipe
    Cook Time40 Minutes
  • close up of red velvet cake slice
    Red Velvet Cake Recipe
    Cook Time1 Hours 40 Minutes

Footer

↑ back to top

About

  • Privacy Policy
  • Terms of Service

Newsletter

  • Sign Up! for emails and updates

Contact

  • Contact
  • About Us

Copyright © 2024 Sugar Geek Show, Inc. All Rights Reserved.

2670 shares

Rate This Recipe

Your vote:




A rating is required
A name is required
An email is required

Recipe Ratings without Comment

Something went wrong. Please try again.