5 Cup Cake Recipe: One-Pan Baking Magic With Vanilla Swirls

5 Cup Cake Recipe: One-Pan Baking Magic With Vanilla Swirls

Mastering a 5-cup cake recipe transforms baking from complicated to effortless—especially when you use just one pan and achieve those signature vanilla swirls.

The beauty of this classic method lies in its simplicity: five ingredients, minimal mixing, and a foolproof technique that delivers a tender, moist cake with golden edges and a delicate swirl pattern.

I developed this version after years of testing, ensuring it works perfectly in a standard 9×13-inch pan with consistent results every time.

What sets this recipe apart is the vanilla swirls—achieved by folding vanilla pudding mix into the batter before pouring it into the pan. As the cake bakes, the swirls create a marbled effect that looks impressive yet requires no extra effort.

The cake’s texture is consistently tender, never dry, thanks to the precise ratio of ingredients and the one-pan method that locks in moisture. This is the kind of recipe that works for beginners but feels like a pro’s secret.

By the time it emerges from the oven, you’ll have a cake with a golden, crackly top and a soft, velvety interior, ready to be frosted or enjoyed as-is with a dusting of powdered sugar.

The vanilla swirls add a subtle, creamy contrast that makes every slice feel special. Whether you’re baking for a celebration or a simple dessert, this recipe delivers restaurant-quality results with minimal fuss.

For added versatility, you can easily adapt this recipe into a white or yellow cake by swapping the flour or adding a pinch of lemon zest.

The one-pan method also makes it perfect for meal prep—slice it while still warm, store it in the fridge, and serve it cold or at room temperature. Let’s get baking!

👨‍🍳
Difficulty
Medium
🔥
Calories
Med Cal

Ingredients for 5 cup cake

Five simple ingredients create this iconic one-pan cake with signature vanilla swirls.

Ingredient Amount Notes
All-Purpose Flour 🌾 2 ½ cups Sifted for even texture
Granulated White Sugar 🍚 1 ½ cups Standard supermarket brand
Unsalted Butter 🧈 1 cup Room temperature, not melted
Vanilla Pudding Mix 🌸 1 box Instant vanilla flavor
Large Eggs 🥚 2 whole Room temperature, beaten
Baking Powder 🧂 2 tsp Diamond Crystal preferred
Salt 🧂 ½ tsp Fine sea salt
Milk 🥛 1 cup Whole milk preferred
Vanilla Extract 🌿 1 tbsp Pure, not imitation
Powdered Sugar 🍚 ½ cup For dusting only

The flour is the foundation—King Arthur or Gold Medal brands work best for that tender crumb. If you’re in a pinch, Bob’s Red Mill all-purpose flour is a solid backup. The butter? Land O’Lakes unsalted is my go-to, but any brand will do as long as it’s room temperature (not melted). For the pudding mix, Jell-O brand is what I’ve tested this with, but any instant vanilla pudding mix will work. The eggs should be at room temperature—cold eggs can cause the batter to curdle. If you’re prepping ahead, let them sit out for 30 minutes before using. The vanilla extract is where you can splurge—Nielsen-Massey is my favorite, but any pure extract works in a pinch.

No vanilla pudding mix? Make your own by combining 1/4 cup sugar, 2 tbsp cornstarch, 1/2 cup milk, and 1 tsp vanilla extract. Short on butter? Coconut oil or vegetable oil at the same quantity works, though texture may vary slightly. The milk can be any kind—whole, 2%, or even almond milk—though whole gives the richest result. If you’re making this a white cake, simply swap the flour for cake flour and add a pinch of lemon zest. For a yellow cake, keep the all-purpose flour and add a pinch of turmeric or a few drops of yellow food coloring. The powdered sugar is just for dusting—use confectioners’ sugar for the smoothest finish.

This cake keeps beautifully for 3-4 days in an airtight container at room temperature, though it’s best enjoyed fresh. If you’re prepping ahead, bake it a day in advance and store it wrapped tightly. For longer storage, freeze the whole cake (unfrosted) for up to 3 months. To serve, simply dust with powdered sugar and slice while still warm. The swirls are most dramatic when served immediately, but the cake stays moist for days. If you’re making this for a crowd, double the recipe—it scales perfectly in the same 9×13-inch pan.

❤️

Why You’ll Love This Recipe

  • Pantry-Friendly Magic: I swear by this recipe when I’ve got nothing but basics. Five cups of flour, sugar, butter, pudding mix, and eggs—no fancy ingredients, just pure comfort in a box.
  • Moist Without Effort: That pudding mix? It’s the secret weapon. The cakes stay tender and rich for days, not dry or crumbly like my first attempts with just flour and sugar.
  • Double-Duty Batches: Bake a full sheet pan, then freeze half for birthdays or potlucks. Thaw overnight, and no one will guess they weren’t made fresh.
  • Budget Baking Wins: A single box of pudding mix stretches across three cakes, and the butter and sugar costs pennies. My wallet and my taste buds thank me every time.

Step-by-step instructions for one-pan vanilla swirl cake

This five-cup cake delivers perfect layers and rich swirls with minimal effort.

1

Prepare the Cake Batter

Preheat your oven to 350°F and grease a 9-inch round cake pan generously with butter or baking spray. Line the bottom with parchment paper for easy removal. In a large mixing bowl, combine the 2.5 cups all-purpose flour, 1.5 cups granulated white sugar, 2 tsp baking powder, and 0.5 tsp salt. Sift the dry ingredients together to eliminate lumps.

In a separate bowl, beat the 1 cup unsalted butter until smooth and creamy—it should be room temperature but not melted. Add the 2 whole large eggs, one at a time, beating well after each addition. Mix in the 1 cup milk and 1 tbsp vanilla extract until the wet ingredients are fully combined. Gradually add the dry ingredients to the wet mixture, mixing on low speed just until combined. Avoid overmixing—you want a smooth batter with minimal air bubbles.

2

Create the Vanilla Swirl Filling

In a small bowl, whisk together the 1 box vanilla pudding mix and ½ cup milk until the pudding mix is fully dissolved. The mixture should be smooth and slightly thickened. This will be your swirl filling, so set it aside while you prepare the cake layers.

Divide the cake batter evenly between two separate bowls. To one bowl, add 1 tbsp vanilla extract for enhanced flavor. This ensures each layer has a distinct vanilla taste while maintaining the classic cake profile. Keep the bowls ready for assembly.

3

Assemble and Bake the Cake Layers

Pour half of the plain cake batter into the prepared pan, spreading it evenly. Using a spoon or small spatula, gently spread the vanilla pudding mixture over the batter in a zigzag pattern. Avoid overmixing—just swirl it lightly to create a marbled effect. Pour the remaining batter over the pudding mixture and gently swirl with a knife or skewer to create the signature vanilla swirls.

Bake in the preheated oven for 25-30 minutes, or until a toothpick inserted into the center comes out clean. The cake is done when the edges are golden brown and the top springs back slightly when touched. Rotate the pan halfway through baking for even browning.

4

Cool and Dust with Powdered Sugar

Remove the cake from the oven and let it cool in the pan for 10 minutes. Then, carefully transfer it to a wire rack to cool completely. Once fully cooled, dust the top generously with the ½ cup powdered sugar using a fine-mesh sieve. This adds a beautiful finish and balances the cake’s richness.

Slice into 4 equal servings and serve at room temperature. The cake’s moist texture and creamy vanilla swirls make it perfect for celebrations or everyday indulgence. Store leftovers in an airtight container for up to 3 days or refrigerate for longer storage.

👨‍🍳

Pro Tips For Making 5 Cup Cake

  • Cream Butter First: Mix the softened butter and sugar until it’s light and fluffy—about 3-4 minutes with a hand mixer. I used to rush this, and the cake turned dense; that extra time makes all the difference for a tender crumb.
  • Sift the Dry Mix: Sift the flour, pudding mix, and any other dry ingredients together before folding them into the wet mix. This prevents lumps and keeps the texture smooth—no one likes a gritty bite in their cake.
  • Don’t Overmix the Batter: Stop folding in the dry ingredients as soon as they’re just combined. Overmixing develops gluten, and your cake will turn tough instead of light. Think “marble streaks,” not a smooth paste.
  • Rotate the Pan: Swap the cake pans halfway through baking to even out browning. I learned this the hard way when my oven’s hot spot left one side burnt—now I rotate at 20 minutes in, and every slice looks perfect.

Perfect pairings for this recipe

Classic Frosting Pairings

A simple vanilla buttercream made with 1 cup softened butter, 3 cups powdered sugar, and 2 tbsp vanilla extract is my go-to for this cake. Whip it together until light and fluffy, then spread it evenly over the cooled cake.

For extra elegance, add a dusting of powdered sugar on top. If you prefer something lighter, try a cream cheese frosting—mix 8 oz cream cheese, ½ cup butter, 3 cups powdered sugar, and 1 tsp vanilla. 🍰

Fruit Toppings

Fresh berries like strawberries, blueberries, or raspberries add a vibrant contrast to the vanilla swirls. Arrange them in a circular pattern on top of the cake for a visually stunning presentation.

For a tropical twist, use sliced mango or pineapple—just brush them lightly with a bit of honey before placing them on the cake. A sprinkle of toasted coconut flakes adds texture and a hint of warmth.

Creamy Fillings

For a decadent touch, fill each slice with vanilla pudding or whipped cream. I love using Cool Whip for its light texture, or homemade whipped cream sweetened with a bit of powdered sugar.

Another favorite is chocolate ganache—melt ½ cup chocolate chips with ¼ cup heavy cream, then drizzle it over the cake or fill the center of each slice. This adds a rich contrast to the cake’s sweetness. 💛

Warm Spiced Accompaniments

Serve your cake with a warm cup of chai tea or spiced apple cider to complement the vanilla flavors. For coffee lovers, a cinnamon-dusted latte pairs beautifully.

If you’re baking for a crowd, offer a side of warm caramel sauce for dipping—simmer 1 cup heavy cream, ½ cup brown sugar, and 2 tbsp butter until thickened. The caramel’s sweetness enhances the cake’s vanilla notes perfectly.

Seasonal Variations

In the summer, top your cake with fresh peaches or nectarines and a drizzle of honey-glazed almonds. For autumn, add cinnamon-spiced apples and a sprinkle of crushed pecans.

Winter calls for cranberry sauce or white chocolate shavings—melt ½ cup white chocolate and drizzle it over the cake for a festive touch. Each season brings a new way to elevate this classic dessert. ✨

Nutrition facts

Servings 4
Amount Per Serving
Calories 480kcal
% Daily Value *
Total Fat 24g31%
Saturated Fat 15g75%
Cholesterol 115mg38%
Sodium 420mg18%
Total Carbohydrate 62g22%
Dietary Fiber 1g4%
Sugars 48g
Protein 6g12%
* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

Frequently asked questions

1

Can I make this 5-cup cake in a different pan size?

Yes! For a 9×13-inch pan, use the recipe as written. For a 9-inch round pan, reduce baking time by 5-7 minutes (check at 20 minutes). If using an 8-inch pan, reduce ingredients by 25% and bake for 20-25 minutes. Always grease pans well and avoid overfilling.

2

Why did my cake turn out dense instead of light?

Overmixing the batter or using cold ingredients are common culprits. Make sure to mix just until combined (about 1 minute on low speed) and use room-temperature butter and eggs. Also, don’t overfill the pan—batter should reach 2/3 full of the pan’s depth for even baking.

3

How do I make this a white cake instead of vanilla?

Swap the all-purpose flour for 2.5 cups cake flour and add 1 tsp lemon zest to the batter. For extra brightness, reduce the vanilla extract to ½ tbsp and add ½ tsp almond extract. The swirl technique remains the same, but the flavor profile will be lighter and citrus-forward.

4

Can I substitute the pudding mix for something else?

For a homemade version, whisk ¼ cup sugar, 2 tbsp cornstarch, ½ cup milk, and 1 tsp vanilla extract until thickened. For a chocolate twist, use 1 box chocolate pudding mix instead—just adjust the frosting to complement the flavor. The key is keeping the mixture smooth and slightly thick.

5

How do I store leftovers to keep them fresh?

Wrap the cake tightly in plastic wrap or store in an airtight container at room temperature for 2-3 days. For longer storage, freeze slices (unfrosted) for up to 3 months. Thaw at room temperature for 1-2 hours before serving. Reheat briefly in the microwave if you prefer it warm.

★★★★★4.5(12 reviews)
Tyler Parker