Tie-Dye Cake (and Cupcakes!)

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion. These are always, always a huge hit!

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!

 Tie-Dye Cakes, Rainbow Cakes, Swirly Color Cakes, whatever you want to call them… I love them all! And they are super easy to make, too.

Dazzle your guests with this beauty on any occasion.

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!

Let me show you the cake and also walk you through the steps.

Make your Homemade Funfetti Cake batter (leave out the sprinkles in the batter).

Divide the batter into three different bowls. Drop food coloring of choice into each bowl. The white batter had no food coloring. Drop spoonfuls of batter into baking pan. It doesn’t have to be perfect or pretty!

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!

Bake the cake. Frost the cake. Sprinkle the cake. Cut the cake. Look at the pretty colors!

Devour the cake. –> That’s the best part.

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!

Happy 4th of July, America!

*You may absolutely make this tie-dye cake a with box cake mix. However, why use a box when my homemade vanilla cake recipe is just as easy? I promise. You’ll be thankful!

Follow me on Instagram and tag #sallysbakingaddiction so I can see all the SBA recipes you make. 

More how-to recipes you’ll love:

clock clock icon cutlery cutlery icon flag flag icon folder folder icon instagram instagram icon pinterest pinterest icon print print icon squares squares icon

How to Make a Tie-Dye Cake

  • Author: Sally
  • Prep Time: 30 minutes
  • Cook Time: 45 minutes
  • Total Time: 3 hours
  • Yield: serves 10
  • Category: Cake
  • Method: Baking
  • Cuisine: American


How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion. These are always, always a huge hit!



  1. Preheat oven to 350°F (177°C). Spray 9×2 inch round cake pan (or 9-inch springform pan) with nonstick spray.
  2. Make the cake batter according to my directions (see link in the ingredient list). Divide the white batter into three separate bowls. Grab your food coloring and dye your batters any color you choose. I used 10 drops of red, 10 drops of blue, and left the third bowl plain. Place a separate spoon in each bowl. Scoop large spoonfuls of each batter and layer them into prepared baking pan. It does not have to be pretty. The colors will create a tie-dye effect. See photo above for how my cake looked prior to baking.
  3. Bake for 20 minutes. Cover loosely with aluminum foil (loosely to avoid the top from sticking to the foil). Bake for 13-17 more minutes or until a toothpick inserted in the center comes out clean. Allow to cool.
  4. Make the frosting according to my directions (see link for frosting in ingredient list). Frost cooled cake and decorate as desired. Cake stays fresh covered at room temperature or in the refrigerator for 5 days.


  1. Layer Cake: You could: (1) Bake the cake as indicated and slice the cake horizontally to create two layers. Double the frosting if desired. (2) Double the cake recipe and bake in two separate 9-inch cake pans for 1 extra tall layer cake. Double the frosting recipe as well.

Keywords: tie-dye cake

I know what you’re thinking. Can I do this with cupcakes?

I got ya covered…

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!

Make the batter for vanilla cupcakes. Divide the batter into three bowls. Use a few drops of food coloring to dye your batters. Layer the batter into the cupcake liners and bake. Frost with my vanilla frosting. That’s it!

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!


Easy, right? Hope you enjoy. 

Star Banner

How to make festive, colorful tie-dye homemade vanilla cakes and cupcakes for any occasion!


  1. This is so easy and so pretty! Thanks for sharing this tutorial! 🙂

  2. Elaine @ Cooking to Perfection says:

    I’ve been MIA for so long, but I’m so glad that I came back to blogland for this post!! I was just wondering what kind of dessert I should bring to a cookout I’m going to. This one is super easy but very festive. Winner!!

    1. Long time no talk, Elaine! Thanks for checking in. 🙂 And for pinning!!

  3. Kristy @ Sweet Treats & More says:

    Love this cake!

  4. Dorothy @ Crazy for Crust says:

    Gorgeous Sally!

  5. Kayle (The Cooking Actress) says:

    TOOOOOO cute! Love it!

  6. Love it! So colorful and a great idea for the 4th!

  7. Soooo pretty, Sally! I love how festive this is, and I’m sort of in disbelief that the 4th of July is next week!

    1. WHERE is 2013 going?!?!?! Can’t believe it either my friend.

  8. This is adorable, and I will definitely be trying it out. Since I’m in Canada though, I’ll omit the blue section, and see if I can find some maple leafs for decoration 🙂

    1. Great idea, Melissa! So creative.

  9. Just beautiful! I love colored cakes…so many options for holidays and even baby showers. Have you heard of people frosting cakes with vanilla or chocolate or whatever, but when cutting into the cake it is revealed to be either blue or pink, based on what the mom is having? So cute!

    1. I have heard of that! Such a cute idea for showers. 🙂

  10. I’m thinking of adding this cake to my 4th of July BBQ menu. It is definitely looks like a great cake for a celebration like that!

    1. Definitely! Enjoy, Eileen!

  11. Ari @ Ari's Menu says:

    So fun and pretty!!! I want to play!! I love anything multi colored and sprinkled. Obviously. 😉

  12. Mimi @ Culinary Couture says:

    LOVE THIS! So perfect for July 4th!

  13. Loretta | A Finn In The Kitchen says:

    So perfect for ‘kids’ of all ages, right Sally? 🙂 I’m seeing so much potential for color combinations…

    1. “kids” – yeah right 😉 thanks Loretta!

  14. Chung-Ah | Damn Delicious says:

    This is so stinking cute and so festive! My niece and nephews would go CRAZY over these.

  15. Betty Jackson says:

    It looks fun & the recipe sounds tasty, but I want to know where you found the cutwork (pierced) plates for the photos! My favorite !!!

    1. Thanks Betty! It is from Pier 1.

  16. Rainbow cake! Loving it Amy!

  17. Do you think this technique would work with your Cake Batter Blondies? I bought some Fourth of July Funfetti cake mix to make those for work, but I might see if I can try this out and make them even more festive. Also, what kind of food coloring do you use? I tried making a red cake for the Fourth last year and it came out super pink.

    1. I’m unsure – I’ve never tried it before. But I can’t see why not. I used store brand food coloring – liquid. I had to use a lot of drops to get it red.

  18. Brittany @ DulceVie says:

    Lovin’ this idea! I wonder if it would work with cookies… 🙂

  19. Jess @ On Sugar Mountain says:

    DUDE I shared this on FB as soon as I saw it in my feed. Sally this is such an awesome idea for the 4th of July! Cute and scrumptious – what more could you want? 😉

    1. Ha! So glad you shared it. Thanks Jess!

  20. Alexis @ deliciousfoodideas.net says:

    Such a cute cake and a great idea. My niece and nephew’s birthday is at the end of the month and I was wondering what to do for them. And thanks for the rainbow layer cake idea, that one might come out for my little fella’s 1st birthday.

    1. I hope you make it Alexis! Such a cute idea with kids.

  21. Holly @ EatGreatBEGreat says:

    What a gorgeous cake! 🙂

  22. So Glad I discovered your website, your recipes are amazing! I am just getting into cupcake making at the moment and will definitely be giving most of your recipes a try!

    1. Let me know what you make first! Thanks Jodie.

  23. Nutmeg nanny says:

    Oh how pretty is this 🙂 I love this idea!

  24. Hey Sally! I just wanted to thank you for another awesome dessert to make 🙂 I made the tie dye cupcakes for some close friends that were coming over to celebrate the 4th with me and they absolutely loved them! I can’t speak highly enough about these; nothing makes me happier than making other people happy with baked goods! hahaha 😛 Hope you had an awesome holiday! Happy 4th of July! 😀

    1. Hey Teresa! So glad the cupcakes were a huge hit! They are so festive. Hope you had a great 4th!

  25. Hi Sally,
    I made this cake for my niece’s 4th of July birthday celebration. It was a HUGE hit. Seriously….the cake was light and moist and it was super cool when you cut into it.

    I also made your raspberry/chocolate skyhigh muffins and the strawberry cheesecake bars (except I made them with raspberry jam. Everything was awesome. Thank you for sharing your recipes. You are my go to website for baking ideas!

  26. P.S. I did have a question. Your vanilla buttercream was to die for….do you have a recipe for chocolate buttercream?

    1. Hi again Anne! I’m glad this cake was a huge success! I do have a chocolate buttercream recipe. I have two actually. One milk chocolate and one dark chocolate:

      Milk chocolate is used here: https://sallysbakingaddiction.com/2013/04/08/triple-chocolate-layer-cake/
      Dark chocolate is used here: https://sallysbakingaddiction.com/2013/02/04/peanut-butter-cupcakes-with-dark-chocolate-frosting/

  27. Hi there! I just ran across your blog and I was curious if you can do this tie dye/marble technique on box cake mixes? Thank you!

    1. You can definitely use cake mix for this tie-dye cake if that is what you prefer!

  28. Not sure if my comment posted, so sorry for asking twice. I was wondering how you store your cupcakes? Whenever I make them the papers peel off the cupcakes overnight. I store them in a cupcake holder, air tight. I have purchased cheap papers, expensive papers and gislane lined papers and same thing… I want to make these, mini cupcakes for the 4th the night before. Any tips? Thanks!!

    1. Hi Tracy – I’ve never had the issue of my cupcake liners falling off of any of my cupcake recipes. That’s so strange. You could try silicone cupcake holders. I know they come in mini size. I found mine at a craft store.

      1. Thanks… How do you store your cupcakes?

  29. I love these!!! You finally broke my vanilla cupcake curse!!!!! 🙂 I was starting to think I’d never find a vanilla cupcake from scratch that compared to the boxes. These will be my go to vanilla cupcakes! Thank-you!!!

  30. Hey Sally,
    I have a question about what I might have done wrong with my cupcakes. The flavor was good, but the cupcakes turned out a little too dense. I was hoping they would be more light and airy. Do you think I mixed the batter too much, or maybe because I didn’t sift the flour? Would you suggest mixing with a whisk or just a spoon or something? And also, if I sift the flour, do I measure out the amount before or after I sift? I feel like sifting it will give me less flour. Thanks for all your recipes. I’m a huge fan 😀

    1. Hi Amelia! Yes, I suggest two things. Do not over mix (only a few strokes with your whisk, a few small flour lumps are ok) and measure 1 and 2/3 cup of sifted flour. Measure before. That will help!

      1. Great! Thank you so much! I’m excited to try again 🙂

1 2 3

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

With kitchen-tested quality recipes and step-by-step tutorials, my goal is to give you the confidence to bake and cook from scratch.

Sally's signature

Recipes You’ll Love



Join the community on the 1st of every month as we tackle a new challenge recipe.Review Sally's Baking Challenge FAQ page if you have any questions.

View More

A tradition since 2013, every December we countdown to Christmas with 10 new cookie recipes in a row!

View More

The first week of every November is all about Thanksgiving Pies.

View More

My Cookbooks

Sally's Cookbooks

About Sally

Welcome to my Kitchen!

I’m Sally, a cookbook author, photographer, and blogger. My goal is to give you the confidence and knowledge to cook and bake from scratch while providing quality recipes and plenty of pictures. Grab a cookie, take a seat, and have fun exploring! more about Sally