Rainbow Swirl Cake Recipe

Indulge in the delightful world of colors with the Rainbow Swirl Cake! This visually stunning creation features vibrant swirls of color that are as mesmerizing as they are delicious. Perfect for birthdays, parties, or any time you want to add a splash of joy to your day, this cake combines simple baking techniques with a spectacular finish. Its soft, fluffy texture and creamy Vanilla Almond Buttercream frosting make each slice a heavenly treat.


  • 2 1/4 cups all-purpose flour
  • 1 cup sugar
  • 2 tsp baking powder
  • 1/2 tsp salt
  • 1/2 cup unsalted butter, softened
  • 1 tsp vanilla extract
  • 1 cup milk (or plant milk)
  • 2 large eggs
  • Gel food coloring (various colors)
Vanilla Almond Buttercream:
  • 1 cup unsalted butter, softened
  • 3.5 cups powdered sugar
  • 1 tbsp milk or heavy cream
  • 1 tsp vanilla extract
  • 2 tsp almond extract
  • 1/2 tsp salt


  1. Preparation: Preheat your oven to 350°F (175°C).
  2. Mix Wet Ingredients: Cream together butter and sugar until smooth. Beat in eggs, vanilla, and milk.
  3. Combine Dry Ingredients: In a separate bowl, whisk together flour, baking powder, and salt.
  4. Make the Batter: Gradually mix the dry ingredients into the wet until smooth.
  5. Color the Batter: Divide the batter into several bowls, adding different gel food colors to each.
  6. Create the Swirl: In greased cake pans, alternately add 2 tbsp of each colored batter to the center, allowing colors to spread and swirl naturally.
  7. Bake: Cook for 25-30 minutes or until a toothpick comes out clean.
  8. Cool and Frost: Let cakes cool completely before cutting and layering. Frost with Vanilla Almond Buttercream, adding a crumb coat for smoothness.


  • Use gel food coloring for the most vibrant colors without affecting the batter’s consistency.
  • Experiment with color patterns for a unique design each time.
  • A turntable can be helpful for even frosting application.


Q: Can I make this cake with gluten-free flour? A: Yes, you can substitute gluten-free flour in the same quantity for a gluten-free version.

Q: How should I store the cake? A: Keep the cake in an airtight container in the refrigerator. It will stay fresh for up to 3-4 days.

Q: Can the cake be made vegan? A: Yes! Use plant milk and vegan butter, and replace the eggs with your favorite vegan substitute like applesauce or mashed bananas.

Key Details

  • Prep Time: 25 minutes
  • Cook Time: 35 minutes
  • Total Time: 1 hour 25 minutes
  • Yield: 1 large cake, 12 servings
  • Category: Dessert
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian


The Rainbow Swirl Cake is not just a cake; it’s a celebration of color and taste. Whether you’re a novice baker or a seasoned chef, this recipe is designed to guide you through creating a beautiful and festive centerpiece for your next special occasion. Dive into the fun and let your creativity shine with every colorful layer!

Leave a Comment