I find myself craving something warm and cozy as soon as the weather turns cool. When you’re craving a next-level comfort cake, there’s nothing quite like baking a rich cake recipe from scratch, especially one bursting with seasonal flavors. This Spiced Pear & Cardamom Swirl Cake is a warm, cozy indulgence, perfect for cool afternoons or a simple weekend dessert. Weโll take you through the process of creating a simple, tender vanilla batter swirled with a homemade spiced pear compote, and topped with an irresistible brown butter glaze. Forget pre-made mixes; this approach highlights how easy it is to achieve incredible flavor using simple pantry staples. The combination of cardamom and brown butter elevates this cake to a truly memorable treat.

Spiced Pear & Cardamom Swirl Cake Recipe from Scratch | The Perfect Fall Swirl
This simple cake recipe from scratch is designed for home cooks who want maximum flavor without complicated techniques. The key to its tender texture and deep flavor profile lies in using high-quality ingredients at the right temperature, and allowing the brown butter glaze to set completely for a perfect finish. This is a family-friendly favorite that’s great for meal prep or a healthy dessert option.
Ingredients
- Spiced Pear Compote:
- 3 medium pears (about 450 g / 1 lb): Use firm varieties like Bosc or Anjou so they hold their shape during cooking, not turning mushy. Peel, core, and dice them into 1 cm (0.4 inch) pieces for a good distribution in the swirl.
- 60 g (1/4 cup) light brown sugar, packed: Adds molasses flavor and depth to the compote; packed measurement ensures accuracy.
- 5 mL (1 teaspoon) ground cardamom, 2.5 mL (1/2 teaspoon) ground ginger, 2.5 mL (1/2 teaspoon) ground cinnamon: These spices create a warm, complex profile that pairs perfectly with the pears and vanilla.
- 15 mL (1 tablespoon) fresh lemon juice: Brightens the flavor and balances the sweetness; prevents browning of the pears during cooking.
- 30 mL (2 tablespoons) water: Helps create the compote liquid without overcooking the pears.
- Cake Batter:
- 300 g (2 1/4 cups) all-purpose flour: Use standard all-purpose flour for a light and tender crumb structure.
- 15 mL (1 tablespoon) baking powder: Provides lift to the cake; ensure it’s fresh for best results.
- 2.5 mL (1/2 teaspoon) salt: Enhances all flavors in the cake batter and balances sweetness.
- 5 mL (1 teaspoon) ground cardamom: Infuses the cake batter with a warm, floral spice note.
- 226 g (1 cup / 2 sticks) unsalted butter, softened: Must be truly at room temperature (around 68-70ยฐF) for proper creaming with sugar. I always cut the butter into small cubes if I’m short on time to help it soften evenly.
- 400 g (2 cups) granulated sugar: Provides sweetness and helps create the light structure of the cake.
- 4 large eggs, at room temperature: Ensures proper emulsification with the butter and sugar for a finer crumb.
- 240 mL (1 cup) whole milk, at room temperature: Provides moisture to the cake; room temperature prevents the batter from seizing.
- 10 mL (2 teaspoons) alcohol-free vanilla extract: Enhances overall flavor; ensure it’s alcohol-free to prevent a bitter aftertaste if desired.
- Brown Butter Cardamom Glaze:
- 56 g (1/4 cup / 1/2 stick) unsalted butter: This will be cooked down to create a nutty brown butter base for the glaze.
- 200 g (1 1/2 cups) powdered sugar, sifted: Sifting is crucial for preventing lumps and achieving a smooth, glossy glaze texture.
- 45 mL (3 tablespoons) whole milk, 2.5 mL (1/2 teaspoon) ground cardamom, 2.5 mL (1/2 teaspoon) alcohol-free vanilla extract: Provides the liquid and flavor components for the glaze; adjust milk volume for desired consistency.
- Zest of 1/2 lemon, finely grated (for garnish) and Pinch of ground cardamom (for garnish): Provides a bright finishing aroma and visual contrast for this rich cake recipe from scratch.
Optional (plan-ahead): If youโre shopping for the week, I put this into a 4-Week Meal Plan + Grocery Lists so dinnerโs already decided before your day gets busy.
Instructions
- Prepare the Spiced Pear Compote: In a medium saucepan, combine diced pears, brown sugar, 5 mL ground cardamom, ground ginger, ground cinnamon, lemon juice, and water. Bring to a simmer over medium heat, then reduce heat to low and cook for 10-15 minutes, stirring occasionally. Cook until pears are tender but still hold their shape and the liquid has thickened slightly. Remove from heat and let cool completely before adding to the batter.
- Preheat Oven and Prep Pan: Preheat your oven to 175ยฐC (350ยฐF). Grease and flour a 23×33 cm (9×13 inch) baking pan, or line with parchment paper leaving an overhang on the longer sides. This overhang makes it easy to lift the cake out of the pan after cooling.
- Combine Dry Ingredients: In a medium bowl, whisk together the all-purpose flour, baking powder, salt, and 5 mL ground cardamom. Ensure these dry ingredients are thoroughly mixed to prevent uneven leavening in the cake. Set aside.
- Cream Butter and Sugar: In a large bowl, using an electric mixer on medium speed, cream the softened unsalted butter and granulated sugar until light and fluffy, about 3-5 minutes. This creaming process incorporates air, which is essential for the cakeโs final light texture.
- Add Eggs: Beat in the eggs one at a time, mixing well after each addition and scraping down the sides of the bowl as needed. Wait until the previous egg is fully incorporated before adding the next one to maintain a consistent batter texture.
- Alternate Wet and Dry: In a small bowl, combine the milk and alcohol-free vanilla extract. With the mixer on low speed, gradually add one-third of the dry ingredients to the butter mixture, mixing until just combined. Then add half of the milk mixture, mixing until just combined. Repeat with another third of the dry ingredients, the remaining milk mixture, and finally the last third of the dry ingredients. Mix until just combined and smooth, taking care not to overmix, which can result in a tough cake, especially in a cake recipe from scratch.
- Assemble the Swirl Cake: Pour about two-thirds of the cake batter into the prepared baking pan and spread evenly. Drop spoonfuls of the cooled spiced pear compote over the batter. Dollop the remaining cake batter over the compote. Using a knife or skewer, gently swirl through the layers to create a marbled effect, ensuring some compote is visible at the top but not completely mixed in. My kids love helping with this step, so I find it works best if you keep the swirls minimal to keep a nice definition between the compote and the batter. This results in a better cross-section when you slice this easy cake recipe from scratch.
- Bake the Cake: Bake for 35-45 minutes, or until a wooden skewer inserted into the center comes out clean. The cake should be golden brown around the edges and lightly golden in the center.
- Cool Cake: Let the cake cool in the pan on a wire rack for 15 minutes before carefully lifting it out by the parchment paper overhang and transferring it to the wire rack to cool completely. The cake must be completely cool before glazing, or the glaze will melt and soak into the cake.
- Prepare the Brown Butter Cardamom Glaze: While the cake cools, melt 56 g (1/4 cup) unsalted butter in a small saucepan over medium heat. Continue cooking, swirling occasionally, until the butter turns a rich golden brown and smells nutty. Immediately pour into a heatproof bowl to stop further cooking. Add the sifted powdered sugar, milk, 2.5 mL ground cardamom, and 2.5 mL alcohol-free vanilla extract to the brown butter. Whisk until smooth and glossy. If too thick, add a tiny bit more milk; if too thin, add a bit more sifted powdered sugar.
- Glaze and Garnish: Once the cake is completely cool, pour the brown butter cardamom glaze over the top, letting it slowly drip down the sides. For plating, cut a generous slice of this homemade cake recipe from scratch and place it on a matte white or light-colored plate to highlight the cake’s warm tones and the glaze’s shine. Finish with a light dusting of ground cardamom and a sprinkle of finely grated lemon zest directly over the top of the glazed slice for visual brightness and aromatic contrast.
Tips for a Perfect Swirl and Tender Crumb
For the best results with any cake recipe from scratch, attention to detail in preparation makes all the difference. Keep these simple tips in mind to achieve a tender crumb and a beautifully defined swirl in your finished cake.
- Use Room Temperature Ingredients: Make sure your butter, eggs, and milk are truly at room temperature (around 68-70ยฐF / 20-21ยฐC) before you start mixing. This allows them to emulsify properly during the creaming process, creating a lighter, more consistent batter and a tender crumb.
- Don’t Overmix the Batter: When adding the wet and dry ingredients, mix only until the flour streaks disappear. Overmixing develops gluten in the flour, resulting in a dense, tough texture, especially when creating a cake recipe from scratch.
- Achieve the Ideal Swirl: For the best visual swirl, avoid mixing the compote completely into the batter. Drop the cooled compote in large, separate spoonfuls over the batter. Use a knife or skewer to gently cut through the layers once or twice for a subtle marble effect.
- Cool the Compote Completely: If the spiced pear compote is still warm when you add it to the batter, it will melt the surrounding cake batter and cause the swirl effect to disappear during baking. Ensure it is fully cooled before assembly.

Make-Ahead & Storage Tips
If you’re making this cake for a party or meal prep, here’s how to manage the timeline and keep it fresh.
- Make the Compote Ahead: The spiced pear compote can be prepared up to 3 days in advance and stored in an airtight container in the refrigerator. This simplifies the baking process on the day you plan to assemble the cake.
- Storage for a Moist Cake: Store leftover cake tightly covered at room temperature for up to 3 days. If you keep it in the refrigerator, it will extend the shelf life to 5 days, but allow it to come back to room temperature before serving for the best texture.
- Freezing Instructions: To freeze this cake, let it cool completely and slice it into individual servings. Wrap each slice tightly in plastic wrap, then place them in an airtight freezer bag for up to 3 months. Thaw individual servings overnight in the refrigerator or at room temperature for 1 hour.
FAQs
Can I use a different fruit instead of pears for this cake recipe from scratch?
Yes, you can substitute apples (like Granny Smith or Honeycrisp) for the pears. Follow the same compote instructions, cooking until tender. You can also use frozen berries without making a compote; just toss them with a tablespoon of all-purpose flour before folding them into the batter for a different type of cake recipe from scratch.
Why do I need to brown the butter for the glaze?
Browning the butter adds a rich, nutty, caramelized flavor to the glaze that deepens the overall taste profile of the cake. This extra step transforms a simple glaze into something special, enhancing the flavor of this family-friendly treat.
What should I do if my cake batter looks curdled?
If your butter and sugar mixture looks lumpy or separated when you add the eggs, it usually means the eggs were too cold. Continue mixing, adding a tablespoon of flour from the measured amount, and scrape down the sides; it will often come back together.
Can I use this recipe for a layer cake instead of a sheet cake?
You can divide the batter between two 9-inch round cake pans. However, the swirl effect may not be as prominent. Be sure to shorten the baking time to around 25-30 minutes and check for doneness.
What kind of pan should I use if I don’t have a 9×13 pan?
You can use a standard bundt pan, but be very careful when swirling the compote to avoid damaging the pan’s non-stick surface. Baking time may increase to 45-55 minutes, checking for doneness with a skewer. I always make sure to grease my bundt pan thoroughly with a shortening-flour mixture to prevent sticking.
Is this cake recipe easy to convert to gluten-free?
Yes, you can easily convert this cake recipe from scratch to be gluten-free by swapping the all-purpose flour for a good quality 1:1 gluten-free baking blend. The rest of the instructions remain exactly the same.
Conclusion
Baking a truly delicious cake recipe from scratch can be simple and immensely rewarding when you choose the right flavors and techniques. This Spiced Pear and Cardamom Swirl Cake offers a cozy, comforting experience that feels both familiar and special. Pin this recipe now and enjoy a slice this weekend!
Print
cake recipe from scratch
- Total Time: 70 minutes
- Yield: 12 servings 1x
- Diet: general
Description
This Spiced Pear and Cardamom Swirl Cake features a tender vanilla cake base swirled with homemade spiced pear compote and topped with a brown butter glaze, perfect for a cozy fall dessert. The recipe uses simple ingredients and techniques to deliver maximum flavor.
Ingredients
- For the Spiced Pear Compote:
- 3 medium pears (Bosc or Anjou), peeled, cored, and diced
- 0.25 cup light brown sugar, packed
- 1 teaspoon ground cardamom
- 0.5 teaspoon ground ginger
- 0.5 teaspoon ground cinnamon
- 1 tablespoon fresh lemon juice
- 2 tablespoons water
- For the Cake Batter:
- 2.25 cups all-purpose flour
- 1 tablespoon baking powder
- 0.5 teaspoon salt
- 1 teaspoon ground cardamom
- 1 cup unsalted butter, softened
- 2 cups granulated sugar
- 4 large eggs, room temperature
- 1 cup whole milk, room temperature
- 2 teaspoons alcohol-free vanilla extract
- For the Brown Butter Glaze:
- 0.25 cup unsalted butter
- 1.5 cups powdered sugar, sifted
- 3 tablespoons whole milk
- 0.5 teaspoon ground cardamom
- 0.5 teaspoon alcohol-free vanilla extract
- Zest of 0.5 lemon, finely grated (for garnish)
- Pinch of ground cardamom (for garnish)
Optional (plan-ahead): If youโre shopping for the week, I put this into a 4-Week Meal Plan + Grocery Lists so dinnerโs already decided before your day gets busy.
Instructions
- Prepare Pear Compote: In a medium saucepan, combine the diced pears, brown sugar, spices, lemon juice, and water. Simmer over medium-low heat for 10-15 minutes until pears are tender and the liquid thickens. Let cool completely before use.
- Preheat Oven and Prep Pan: Preheat the oven to 350ยฐF (175ยฐC). Prepare a 9×13 inch baking pan by greasing and flouring it or lining it with parchment paper.
- Combine Dry Ingredients: Whisk together the flour, baking powder, salt, and 1 teaspoon of cardamom in a bowl; set aside.
- Cream Butter and Sugar: In a large mixing bowl, beat the softened butter and granulated sugar with an electric mixer on medium speed for 3-5 minutes until light and fluffy.
- Add Eggs and Liquids: Beat in the eggs one at a time, mixing thoroughly after each addition. In a separate small bowl, combine the milk and vanilla extract.
- Alternate Wet and Dry: With the mixer on low speed, add one-third of the dry ingredient mixture to the butter mixture, followed by half of the milk mixture. Repeat the process, beginning and ending with the dry ingredients, mixing until just combined and smooth.
- Assemble Swirl Cake: Pour about two-thirds of the batter into the prepared pan and spread evenly. Drop spoonfuls of the cooled pear compote over the batter. Dollop the remaining cake batter on top. Gently swirl through the layers once or twice with a knife to create a marbled effect.
- Bake Cake: Bake for 35-45 minutes, or until a wooden skewer inserted into the center comes out clean. Let the cake cool in the pan for 15 minutes, then transfer it to a wire rack to cool completely before glazing.
- Prepare Brown Butter Glaze: While the cake cools, melt 0.25 cup butter in a small saucepan over medium heat until it turns golden brown and smells nutty. Pour into a heatproof bowl. Add the sifted powdered sugar, milk, 0.5 teaspoon cardamom, and 0.5 teaspoon vanilla extract to the brown butter. Whisk until smooth and glossy.
- Glaze and Garnish: Once the cake is completely cool, pour the glaze over the top. Garnish with a light dusting of ground cardamom and finely grated lemon zest before serving.
Notes
For a tender crumb and light texture, ensure all cold ingredients (butter, eggs, milk) are at room temperature before mixing. Avoid overmixing the batter after adding flour to prevent the cake from becoming tough. Make sure the spiced pear compote is completely cool before adding it to the batter to keep the swirl from melting away during baking.
- Prep Time: 30 minutes
- Cook Time: 40 minutes
- Category: dessert
- Method: baking
- Cuisine: american
Nutrition
- Serving Size: 1 slice
- Calories: 400 kcal
- Sugar: 40 g
- Sodium: 100 mg
- Fat: 20 g
- Saturated Fat: 12 g
- Unsaturated Fat: 8 g
- Trans Fat: 0 g
- Carbohydrates: 50 g
- Fiber: 1 g
- Protein: 4 g
- Cholesterol: 60 mg
FREE PRINTABLE RECIPE
Get the Printable Recipe PDF (Free)
Enter your email and weโll send you the ingredients + step-by-step instructions as a clean PDF you can save to your phone.
- โ Printable PDF (ingredients + steps)
- โ Save it to your phone (no long scrolling)
- โ Includes cook time + servings
- โ Easy to follow
FAQ
Whereโs the full recipe?
Itโs delivered as a printable PDF so you can save it and cook without scrolling.
I didnโt get the email.
Check Spam/Promotions and search your inbox for your site name. Then click Confirm to receive the PDF.