• Skip to main content
  • Skip to primary sidebar
Tasty Treats and Eats
menu icon
go to homepage
  • About Me
  • Recipes
    • Cookies
  • Contact
  • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • search icon
    Homepage link
    • About Me
    • Recipes
      • Cookies
    • Contact
    • Subscribe
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Cupcakes

    Tie Dye Rainbow Cupcakes

    Author: Liz Marino | 11/01/2025
    This post contains affiliate links. Read our disclosure policy.

    Jump to Recipe
    Two-photo collage of tie dye cupcakes with white frosting and colorful sprinkles on top. Text overlay reads, "Vanilla Rainbow Cupcakes".

    Celebrate St. Patrick’s Day (or any other occasion!) by making these festive tie-dye rainbow cupcakes! This easy cupcake recipe is fun to make for a delicious, colorful sweet treat made from scratch!

    Frosted cupcake cut in half, showing colorful tie dye layers of cake.

    Table of Contents

    Toggle
    • Why You'll Love This Recipe
    • Ingredients
    • Substitutions and Recipe Variations
    • How to Make Rainbow Cupcakes
    • Liz's Tips for the Best Cupcakes
    • How to Make a Tie Dye or Rainbow Cupcake Effect
    • Decorating the Cupcakes
      • Colorful Topping Ideas
    • Storage
    • Other St. Patrick's Day Desserts
    • Tie Dye Rainbow Cupcakes


     

    Colorful desserts are fun to make, and they never fail to bring a smile. Especially kids - they absolutely love them! Just like red velvet cupcakes are perfect for Valentine's Day, rainbow cupcakes are the best St. Patrick's Day dessert!

    The light and fluffy frosting with colored sprinkles is like like the pot of gold at the end of the leprechaun's rainbow!

    Why You'll Love This Recipe

    1. Made from scratch for the best flavor. A lot of the other recipes for rainbow and tie dye cupcakes start with a boxed cake mix. Of course they're convenient, but the flavor of cupcakes made from scratch just can't be beat!
    2. Freezer friendly. If you need to make a lot of them, you can save time by making them ahead. Unfrosted, they freeze well for a couple of months.
    3. Easy to adapt. You can use this same technique to make a 9-inch rainbow cake.
    4. Perfect for themed parties. Is your kiddo having a tie dye birthday party?
    shot of three cupcakes from straight on. Frosted with sprinkles

    With layers of rainbow colors, you might think that this recipe is going to be a challenge. It may look difficult, but it's really very simple!

    You'll start by making batter using my simple white cake recipe. Then, you'll separate it into different bowls, add a different color to each, then bake them together in a muffin tin. Easy and fun!

    Ingredients

    See ingredient substitutions in the next section. ⬇️

    To make the tie dye cupcakes, you'll need:

    • unsalted butter: If you can afford it, I recommend using European butter rather than American-made. It has more butterfat, so the flavor is much better.
    • white granulated sugar
    • large eggs
    • vanilla extract
    • all-purpose flour
    • baking powder: This is the leavener, which is what causes the cakes to rise. Most leaveners stay active for about 6 months. If you haven't used yours recently, it's best to test it for freshness.
    • sea salt: It may not seem like it matters, but salt helps balance out the sweetness from the sugar. Without it, the dessert can be too sweet to enjoy.
    • milk: Whole milk will add a rich flavor and tenderness to the cupcakes.
    • food coloring: You can use either liquid or gel food coloring. As you can see in the photo below, I used liquid this time. I think gel food coloring creates better color, and because it's concentrated, you won't use as much.

    📖 Time-Saving Tip - Testing Baking Soda or Baking Powder for Freshness

    This simple little test can save you time and money, because if your leavener is expired, whatever you're baking wont rise in the oven! This test works for baking soda and baking powder:

    1. Add about ½ teaspoon of baking soda or powder to a small bowl. Stir in an equal amount of an acidic ingredient, like vinegar or citrus juice.
    2. If the solution doesn't start to bubble immediately, it's time to replace your leavener.
    Labeled cupcake ingredients laid out on a marble background: white sugar, unsalted butter, eggs, vanilla extract, all purpose white flour, baking powder, salt, whole milk, and food coloring

    Substitutions and Recipe Variations

    • all-purpose flour: For a softer crumb, you can use cake flour instead. If you'd like to make gluten-free cupcakes, substitute the AP flour with any cup-for-cup variety of gluten-free all-purpose flour. Two popular brands are Bob's Red Mill and King Arthur Flour.
    • baking powder: If you happen to be out of baking powder, but you have baking soda and cream of tartar on hand, you can make a baking powder substitute!

      To use baking soda as a substitute for baking powder, mix ½ teaspoon of cream of tartar with ¼ teaspoon of baking soda for every 1 teaspoon of baking powder.
    • white granulated sugar: To reduce the calories, you can substitute the sugar with any cup-for-cup variety of granulated sugar substitute. Monk fruit sugar is a good option. Coconut sugar is also a good substitute.
    • salted butter: If you need or want to use unsalted butter, just whisk ¼ teaspoon of salt into the flour.

      I haven't made rainbow cupcakes using butter substitutes, but I can't think of a reason why they won't work.
    • eggs: Egg yolks are important for creating moisture and structure. If you have to use a substitute, see my post on good egg substitutes for cake mix.
    • vanilla extract: Almond extract and lemon extract are both good substitutes for vanilla. If you need or want to omit the extract, that's fine too. For additional vanilla flavor, you can use vanilla bean paste. If you need an alcohol-free flavoring, you can use vanilla essence.
    • Whole milk: While I recommend whole milk, any type of dairy or non-dairy milk will work.

    How to Make Rainbow Cupcakes

    Summary only. The complete recipe instructions are in the card at the bottom of this post ⬇️

    butter, sugar and eggs being mixed together in a bowl
    1. Combine sugar, butter, and eggs.
    dry ingredients being mixed together for rainbow cupcakes
    1. Incorporate the dry ingredients.
    cake mix in a bowl for rainbow cupcake batter
    1. Stir in the milk to create a smooth batter.
    tie dye cupcake cake mix being separated out in three bowls
    1. Divide cake batter into separate bowls.
    a close up of rainbow cupcake batter
    1. Add rainbow colors or tie dye colors
    tie dye cupcakes in a tin before being baked: red orange yellow green blue purple cake mix in each tin
    1. Layer in a little of each colored batter.
    a close up of rainbow cupcakes fresh out of the oven.
    1. Bake and cool the tie dye cupcakes, then frost or decorate as you wish!

    Liz's Tips for the Best Cupcakes

    1. Use paper liners to prevent the cupcakes from sticking to the pan.
    2. Avoid over mixing the batter.
    3. How much of each colored batter to add isn't important. Just have fun!

    How to Make a Tie Dye or Rainbow Cupcake Effect

    Thankfully, making the colored layers doesn't have to be done in any particular way. When color has been added to the batter, it's time to fill the wells of the muffin pan.

    How you go about this is completely up to you. If you're trying to make a rainbow effect, make the layers in this order:

    • Violet (purple)
    • Indigo (blue)
    • Blue
    • Green
    • Yellow
    • Orange
    • Red

    Decorating the Cupcakes

    You can decorate the tops with swirls of store-bought frosting, homemade buttercream, or even cream cheese frosting.

    If you want to take things up another festive notch, make some rainbow buttercream frosting!

    1. For rainbow frosting, make (or buy) a large batch of your favorite cream cheese frosting or buttercream frosting.
    2. Next, divide the frosting equally into separate bowls. Stir a few drops of food coloring into each batch.
    3. Lay a piece of plastic wrap on your work surface and spread each frosting color in a long line on the plastic wrap, lining them up next to each other.
    4. Gently roll the plastic wrap long ways, twist both ends, cut off one end, and place the roll of frosting into a piping bag. You are good to go!
    5. The colors will mix beautifully as you are piping!
    Plate of frosted tie dye cupcakes with the center one cut in half to expose 6 different colors of cake.

    Note: Gel food coloring will provide a bolder more vibrant color.

    Colorful Topping Ideas

    Instead of sprinkles or jimmies, here are a some fun and colorful candy toppings:

    • Sour Candy Rainbow Belts
    • Rainbow Sixlets
    • Rainbow Wonka Nerds Candy
    • Fancy Rainbow Sprinkles

    If you're serving these little rainbow treats for a St. Patrick's Day party, try piping bright white frosting on top to emulate a light and fluffy cloud! Top with gold sprinkles!

    close up of a plate of frosted cupcakes

    Storage

    Storing: You can store them frosted for up to 4 days in an airtight container at room temp.

    Freezing: You can freeze rainbow cupcakes unfrosted. Put them in a freezer-safe container or Ziploc freezer bag and they should keep well for up to three months.

    Before decorating, thaw at room temperature for 3 hours.

    Other St. Patrick's Day Desserts

    • Andes Chocolate Cookies - A delicious minty flavor, even though they aren't green!
    • Shamrock Cookies
    • Spritz Cookies - Color the dough shamrock green!
    Rainbow cupcake cut in half to show color layers

    Tie Dye Rainbow Cupcakes

    Celebrate St. Patrick’s Day by making festive tie dye rainbow cupcakes! This fun cupcake recipe makes a delicious, colorful sweet treat!
    Print Pin Rate
    Prep Time: 5 minutes minutes
    Cook Time: 20 minutes minutes
    Total Time: 25 minutes minutes
    Servings: 18 cupcakes
    Calories: 164kcal
    Author: Liz Marino

    Ingredients

    • ¾ cup granulated white sugar
    • ¾ cup unsalted butter softened
    • 2 large eggs
    • 2 teaspoons vanilla extract
    • 2 cups all-purpose flour spooned and leveled
    • ½ teaspoon baking powder
    • ½ teaspoon sea salt
    • ⅔ cup whole milk
    • food coloring

    Instructions

    • Preheat the oven to 350℉ and line a 12-cup muffin tin with paper liners.
    • Add sugar and butter to a large mixing bowl. Use an electric hand mixer or stand mixer on high speed to cream the ingredients until smooth and no chunks of butter remain.
    • Mix in the eggs and vanilla on medium speed until batter is smooth. 
    • Slowly add the flour, baking powder and salt. Be careful not to overmix the batter on this step.
    • Once the flour mixture is completely incorporated, add the milk and slowly stir until the batter reaches a smooth consistency.
    • Separate your cupcake batter into separate bowls for each color you would like to use.
    • Add 6 drops of food coloring into each bowl and gently fold the batter until the food coloring is fully incorporated.
    • Pour the batter into your cupcake liners in whatever order you would like and cook for 20 minutes at 350 degrees.
    • Allow cupcakes to cool before frosting and enjoy!

    Helpful Notes and Tips From Liz

     
    1. Use paper liners to prevent the cupcakes from sticking to the pan.
    2. Avoid over mixing the batter.
    3. How much of each colored batter to add isn't important. Just have fun!

    Nutrition

    Serving: 1cupcake | Calories: 164kcal | Carbohydrates: 19g | Protein: 2g | Fat: 9g | Saturated Fat: 5g | Polyunsaturated Fat: 1g | Monounsaturated Fat: 2g | Trans Fat: 1g | Cholesterol: 40mg | Sodium: 153mg | Potassium: 38mg | Fiber: 1g | Sugar: 9g | Vitamin A: 277IU | Calcium: 25mg | Iron: 1mg
    « Best Black Bean Brownies
    Perfect Peach Pie with Frozen Peaches or Fresh! »

    Reader Interactions

    Leave a Reply Cancel reply

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

    Recipe Rating




    Primary Sidebar

    • Facebook
    • Instagram
    • Pinterest

    Hi, I'm Liz! On Tasty Treats & Eats you'll find simple, delicious desserts that you can enjoy in no time!

    More about me →

    Popular Desserts

    • A piece of lemon olive oil cake dusted with powdered sugar on a white plate with another plate of cake in the background
      Lemon Olive Oil Cake
    • A close up of of white cake recipe with a fork taking a bite out of it
      White Cake From Scratch
    • An overhead shot of a dark plate with a stack of classic sugar cookies with a baking sheet on the side
      Old Fashioned Soft Sugar Cookies
    • a plate piled high with raspberry thumbprint cookies
      Raspberry Shortbread Thumbprint Cookies

    Favorite Dessert Recipes

    • A stack of brownie cookies with the top one having a bite taken out of it
      Perfectly Fudgy Brownie Cookies
    • Peppermint sugar cookies piled on a green plate on a grey counter with candy canes on the side
      Soft and Chewy Peppermint Sugar Cookies
    • A close up of whipped shortbread cookies on a marble slab with plates and coffee off to the side
      Buttery Soft Whipped Shortbread Cookies

    Footer

    About

    • Privacy Policy
    • About
    • Contact
    • Accessibility

    Newsletter

    • Sign Up! for emails and updates

    As an Amazon Associate I earn from qualifying purchases.

    Copyright © 2025 Tasty Treats and Eats

    ↑ back to top