5 Spice Cake Recipe: Warmly Spiced Layers With Cream Cheese Frosting Swirls

Desserts

5 Spice Cake Recipe: Warmly Spiced Layers With Cream Cheese Frosting Swirls

This 5-spice cake recipe delivers layers of warm, aromatic spice and velvety cream cheese frosting that taste like autumn in every bite. The secret lies in a balanced blend of cinnamon, clove, star anise, fennel, and ginger—infused into the batter for depth without overpowering sweetness. I developed this recipe after years of experimenting with spiced desserts, and it's become a holiday favorite that disappears faster than you can slice it.

The cake itself is tender yet sturdy, with a fine crumb that holds up beautifully to the swirls of tangy cream cheese frosting. What sets this apart is how the spices harmonize: cinnamon provides warmth, clove adds richness, and star anise brings an unexpected complexity that pairs perfectly with vanilla. The frosting's slight tang cuts through the sweetness, creating a perfect balance that keeps everyone reaching for seconds.

By the time you pull this cake from the oven, your kitchen will smell like a spice market, and every slice will reveal layers of moist cake and creamy frosting. The spices develop even more as the cake cools, making it taste better with each hour. It's the kind of dessert that feels special enough for gatherings but easy enough to make on a weeknight.

Perfect for Thanksgiving, Christmas, or any occasion calling for something comforting and aromatic. The recipe uses simple pantry staples and delivers restaurant-quality results with minimal effort. Let's get baking!

👨‍🍳
Difficulty
Hard
🔥
Calories
Med Cal

Ingredients for 5 spice cake

Simple pantry staples meet aromatic spices for a cake that smells like autumn.

Ingredient Amount Notes
All-Purpose Flour 🌾 2 ½ cups Sifted for light texture
Granulated Sugar 🍚 2 cups White or light brown
Light Brown Sugar 🍚 ½ cup Packed firmly
Unsalted Butter 🧈 1 cup Room temperature, full-fat
Large Eggs 🥚 2 whole Room temperature
Pure Vanilla Extract 🌸 1 tbsp High-quality, not imitation
Ground Cinnamon 🌶️ 1 tbsp Freshly ground preferred
Ground Cloves 🌶️ ½ tsp Freshly ground for potency
Star Anise Pods 🌿 1 whole Crushed lightly, seeds only
Ground Fennel Seeds 🌿 ½ tsp Toasted lightly for aroma
Ground Ginger 🌶️ ½ tsp Freshly grated preferred
Baking Powder 🧂 2 tsp Aluminum-free preferred
Salt 🧂 ½ tsp Fine sea salt
Whole Milk 🥛 1 cup Room temperature
Cream Cheese 🧀 8 oz Room temperature, full-fat
Powdered Sugar 🍚 3 cups Sifted for smooth frosting
Heavy Cream 🥛 ½ cup Cold for whipping

The spices are where this cake shines. Star anise and fennel seeds might be tricky to find, but most grocery stores carry them in the baking aisle or bulk section. Penzeys Spices or Trader Joe's are great spots for high-quality, whole spices—just crush them yourself for maximum flavor. The brown sugar should be packed firmly (no scooping), and the butter needs to be room temp so it mixes smoothly. If your vanilla extract smells faint, upgrade to Nelson & Sons or McCormick—it makes a difference.

No star anise? 1/4 tsp anise extract works in a pinch, but it's not the same. Short on fennel? Substitute with extra cinnamon (1/4 tsp)—it won't be identical, but it'll still taste delicious. The cream cheese frosting is non-negotiable for that tangy contrast, but if you're out, Greek yogurt mixed with powdered sugar gives a similar texture. For the cake batter, almond flour can replace 1/4 cup of the all-purpose flour if you're gluten-free (though the texture will differ slightly).

This cake keeps beautifully—3-4 days at room temp in an airtight container, or 1 week in the fridge. The frosting can be made 2 days ahead and stored separately. For leftovers, wrap tightly with plastic wrap pressed against the surface to prevent drying. Freezing? The cake alone freezes for 3 months (thaw at room temp before frosting), but the frosting doesn't play well with freezing—make it fresh when you're ready to serve.

❤️

Why You'll Love This Recipe

  • Pantry-Friendly Magic: I swear by this recipe when I’ve got nothing but basics—just flour, sugar, butter, and eggs. The five-spice blend (cinnamon, clove, star anise, fennel, and pepper) does all the heavy lifting, turning simple ingredients into something that tastes like a bakery secret.
  • Moist Without the Fuss: That light brown sugar and butter combo keeps this cake tender for days. No one will guess it’s not from a box—it’s got that perfect crumb, not too dry, not too gummy, just right. (Yes, even on a Tuesday night.)
  • Party or Picnic: Slice it warm with a dusting of powdered sugar for a crowd, or pack it in layers for lunchboxes. It’s the kind of cake that disappears fast—whether you’re feeding a houseful or just me, my coffee, and a bad TV show.
  • Budget Baking Wins: Five-spice is cheap, and this recipe uses ingredients you already have. I’ve made this for birthdays, holidays, and just because—no fancy substitutions needed. Leftovers? They’re the best part.

Step-by-step instructions for 5 spice cake layers with cream cheese frosting

Here's how to create a richly spiced cake with creamy swirls—layer by layer.

1

Prepare the Spiced Cake Batter

Preheat your oven to 350°F and grease three 8-inch round cake pans, lining the bottoms with parchment paper for easy removal. In a medium bowl, whisk together the 2.5 cups all-purpose flour, 2 tsp baking powder, 0.5 tsp salt, and the 1 tbsp ground cinnamon, 0.5 tsp ground cloves, 0.5 tsp ground fennel seeds, and 0.5 tsp ground ginger. Sift the mixture to remove any lumps—this ensures a light, airy texture.

In a separate large bowl, cream the 1 cup unsalted butter and 2 cups granulated sugar together until light and fluffy, about 3-4 minutes using an electric mixer. Add the 0.5 cup light brown sugar and mix until fully combined. The mixture should be pale and thick, nearly doubling in volume. This creaming step is crucial for a tender cake.

Add the 2 whole large eggs, one at a time, mixing well after each addition. Stir in the 1 tbsp pure vanilla extract and the crushed 1 whole star anise pod (lightly crush the pod between your fingers to release the seeds). Gradually pour in the 1 cup whole milk while mixing on low speed. Finally, fold in the dry ingredients until just combined—don't overmix, or the cake will become dense.

2

Bake the Layers to Perfect Doneness

Divide the batter evenly among the prepared cake pans, filling each about two-thirds full. Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean and the tops spring back when gently pressed. Rotate the pans halfway through baking for even browning.

Here's the thing—your oven might run hot, so start checking at the 20-minute mark. The cake layers should be golden brown on top but still slightly moist in the center. If the edges brown too quickly, loosely cover them with aluminum foil. Let the cakes cool in the pans for 10 minutes before transferring to a wire rack to cool completely. This gradual cooling prevents cracking.

3

Make the Cream Cheese Frosting Swirls

While the cakes cool, prepare the frosting by beating the 8 oz cream cheese and 3 cups powdered sugar together in a large mixing bowl until smooth and creamy, about 2-3 minutes. Add the 0.5 cup cold heavy cream and mix on high speed until light and fluffy—this should take another 1-2 minutes. The frosting should hold its shape when piped but still be spreadable.

For the swirls, divide the frosting into three equal portions. Spread one portion evenly over the first cooled cake layer, leaving a ½-inch border around the edges. Repeat with the remaining two layers. The key here is to work quickly—if the frosting starts to melt or soften, chill it in the refrigerator for 10 minutes to firm up slightly.

4

Assemble and Chill the Cake

Place the first cake layer on a serving plate and spread a thin layer of frosting over the top. Add the second layer, then pipe or spread a generous amount of frosting around the edges, creating a dam to hold the filling. Place the third layer on top and spread the remaining frosting evenly over the entire cake, creating a smooth finish.

To create the signature swirls, use a long serrated knife or offset spatula to cut through the frosting from the center to the edge, rotating the cake slightly with each cut. This technique ensures clean, even swirls that showcase the creamy filling. Once assembled, refrigerate the cake for at least 2 hours (or up to 24 hours) to allow the frosting to set and the flavors to meld. This chilling step is non-negotiable—it guarantees a stable, professional-looking finish.

5

Serve and Enjoy

Slice the cake into 12 even wedges using a sharp, warm knife (dip the knife in hot water and wipe dry between cuts for clean slices). The warm spices will infuse every bite with a cozy, aromatic warmth, while the cream cheese frosting adds a rich, tangy contrast. Serve at room temperature for the best texture—this cake tastes even better the next day as the flavors deepen.

Here's the moment you've been waiting for: the first bite delivers a perfect balance of tender, moist cake with layers of warm spices and velvety frosting. The star anise and cloves add a subtle depth that pairs beautifully with the sweetness, making this cake a showstopper for any occasion.

👨‍🍳

Pro Tips For Making 5 Spice Cake

  • CREAM THE BUTTER SLOWLY: Mix the brown sugar and butter first—let the brown sugar dissolve completely into the butter before adding anything else. I learned this the hard way when my cake turned out dense because the sugar clumped instead of integrating smoothly.
  • USE ROOM-TEMP EGG WHITES: Take the egg whites out of the fridge 30 minutes before whipping them—cold whites won’t hold air as well, and that’s how your cake loses its lift. Trust me, it’s worth the wait.
  • DON’T OVERMIX THE BATTER: Stop folding in the dry ingredients as soon as they’re just combined—no streaks, no extra stirring. Overmixing develops gluten, and your cake will turn out tough instead of tender.
  • LET THE BUTTER COOL SLIGHTLY: If your kitchen’s warm, let the melted butter cool for 10 minutes before mixing it with the wet ingredients—otherwise, the eggs will scramble before you even get to the oven. (Yes, I’ve seen it happen.)

Best sauces and condiments for 5 spice cake

Spiced Caramel Drizzle

Elevate your cake with a spiced caramel drizzle made by simmering 1 cup granulated sugar and ½ cup heavy cream until golden amber. Stir in 1 tsp vanilla extract and ½ tsp ground cinnamon, then drizzle over the assembled cake before chilling. This adds a glossy finish and deepens the warm spice notes. 🌟

Citrus Glaze Contrast

Brighten the richness with a lemon-orange glaze—mix 1 cup powdered sugar, 2 tbsp fresh lemon juice, and 1 tbsp orange zest. Thin with 1 tsp water if needed, then drizzle over the cake after slicing. The citrus cuts through the spice, creating a refreshing balance that’s perfect for holiday gatherings.

Chai-Infused Cream Cheese

For a chai twist, steep 1 chai tea bag in 2 tbsp hot milk for 5 minutes, then strain and mix into the cream cheese frosting. The black tea and spices (cardamom, ginger) complement the cake’s flavors beautifully. This works especially well if you’re serving it with spiced chai tea for a cohesive experience. ✨

Salted Honey Drizzle

Add a sweet-salty contrast with a honey drizzle: heat ½ cup honey until runny, stir in ½ tsp flaky sea salt, and drizzle over the cake before serving. The salt enhances the spices while the honey adds a luxurious finish. This pairs wonderfully with a cup of strong coffee or spiced apple cider.

Caramelized Walnut Topping

For texture and crunch, toast 1 cup walnut halves in a dry skillet over medium heat for 5 minutes, then toss with 2 tbsp brown sugar and 1 tbsp melted butter. Sprinkle over the cake just before serving. The nutty depth and caramelized sweetness make every bite more decadent.

Spiced Whipped Cream

Whip 1 cup heavy cream with 2 tbsp powdered sugar and ½ tsp each ground cinnamon, ginger, and cardamom. Pipe swirls onto each slice for a light, airy contrast to the dense cake. This is ideal for serving at room temperature, as the whipped cream stays stable for 2-3 hours. 💛

Nutrition facts

Servings 12
Amount Per Serving
Calories 420kcal
% Daily Value *
Total Fat 24g31%
Saturated Fat 15g75%
Cholesterol 105mg35%
Sodium 380mg17%
Total Carbohydrate 52g19%
Dietary Fiber 1g4%
Sugars 42g
Protein 4g8%
* 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-spice cake without star anise?

Yes! If you can't find star anise, substitute with ¼ teaspoon anise extract or ½ teaspoon ground anise for a similar flavor profile. For a simpler swap, add an extra ¼ teaspoon cinnamon—it won't be identical, but the cake will still taste delicious. The key is balancing the warmth of the spices, so adjust ginger or fennel slightly if needed.

2

How do I prevent my cake layers from cracking?

Cracking happens when layers cool too quickly or are overmixed. To avoid it, let the cakes cool in their pans for 10 minutes before transferring to a wire rack, and never overmix the batter—just combine until just smooth. Also, avoid opening the oven door too early, and don’t overbake the layers. A toothpick should come out clean, but the center should still feel slightly springy.

3

Can I use this recipe for cupcakes instead of a layer cake?

Reduce the batter to fill 12-15 cupcake liners (about ⅔ cup per liner) and bake at 350°F for 18-20 minutes. The same spice blend works perfectly, and you can top with a dollop of the cream cheese frosting or a spiced caramel drizzle. For extra flair, add a pinch of cinnamon or crushed pistachios on top before baking.

4

Why does my frosting look grainy?

Grainy frosting usually means the cream cheese wasn’t softened enough or the powdered sugar wasn’t sifted. Always use room-temperature cream cheese and sift the powdered sugar before mixing. If it’s already grainy, blend it briefly in a food processor or strain through a fine-mesh sieve. For a smoother texture, chill the frosting for 15 minutes before using.

5

How can I make this cake gluten-free?

Replace the 2.5 cups all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob’s Red Mill or King Arthur). For best results, add ½ teaspoon xanthan gum to help bind the layers. The texture will be slightly denser, but the spice flavors will still shine. Keep an eye on baking time—gluten-free cakes often need 2-3 extra minutes in the oven.

★★★★★5.0(10 reviews)
Categories Desserts