Desserts

Apple Walnut Cake Recipe

This apple walnut cake has a tender, warmly spiced crumb, juicy apple pieces, and toasted walnuts throughout. It mixes by hand and bakes in one square pan for an easy dessert or afternoon treat.

Apple Walnut Cake Recipe

Overview

This apple walnut cake combines tender apples, cinnamon, brown sugar, and toasted walnuts in a soft, moist crumb. The apples become tender as the cake bakes, while the walnuts add a lightly crisp, buttery contrast.

Use a firm, flavorful apple such as Honeycrisp, Braeburn, Pink Lady, Granny Smith, or a combination. The batter is mixed by hand, and the cake is baked in a 9-inch square pan, making it easy to slice and serve without layering or frosting.

Ingredients

  • 1 1/2 cups (188 g) all-purpose flour
  • 1 teaspoon baking powder
  • 1/2 teaspoon baking soda
  • 1/2 teaspoon fine salt
  • 1 1/2 teaspoons ground cinnamon
  • 1/4 teaspoon ground nutmeg, optional
  • 1/2 cup (113 g) unsalted butter, melted and cooled for 5 minutes
  • 3/4 cup (150 g) packed light brown sugar
  • 1/4 cup (50 g) granulated sugar
  • 2 large eggs, at room temperature
  • 1 teaspoon vanilla extract
  • 1/2 cup (120 g) plain yogurt or sour cream
  • 2 medium apples, about 12 ounces (340 g) before peeling
  • 3/4 cup (85 g) walnut halves or pieces, toasted and roughly chopped
  • Optional: powdered sugar, for dusting

How to make it

  1. Prepare the pan and oven. Heat the oven to 350°F (175°C). Grease a 9-inch square metal baking pan and line the bottom with parchment paper, leaving a little overhang on two sides. The parchment makes the cooled cake easier to lift out.

  2. Toast the walnuts. Spread the walnuts on a small baking sheet and toast them in the heating oven for 6 to 8 minutes, stirring once, until they smell nutty and look slightly darker. Let them cool, then chop them into pieces about 1/4 to 1/2 inch wide. Watch closely near the end because walnuts can go from toasted to burnt quickly.

  3. Mix the dry ingredients. In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg. Breaking up any small lumps now helps the batter mix evenly later.

  4. Prepare the apples. Peel the apples, cut them into quarters, and remove the cores. Cut them into pieces about 1/2 inch thick. Smaller pieces soften fully in the cake without making the batter difficult to spread. Set aside 2 tablespoons of the chopped walnuts for the top, if desired.

  5. Mix the wet ingredients. In a large bowl, whisk the melted butter, brown sugar, and granulated sugar until smooth. Add the eggs one at a time, whisking well after each addition, then whisk in the vanilla and yogurt or sour cream. The mixture may look slightly thick and glossy.

  6. Combine the batter. Add the dry ingredients to the wet mixture and fold with a spatula just until no broad streaks of flour remain. Do not beat the batter; a few small lumps are fine. Fold in the chopped apples and the remaining walnuts until evenly distributed.

  7. Fill the pan. Scrape the batter into the prepared pan and spread it into the corners. Sprinkle the reserved walnuts over the surface. The batter will be fairly thick, so smooth it gently rather than pressing the apples down.

  8. Bake. Bake for 40 to 48 minutes, rotating the pan once after 25 minutes if your oven has hot spots. The cake is ready when the center springs back lightly when pressed, the edges are beginning to pull away from the pan, and a toothpick inserted into a section of cake—not directly through an apple piece—comes out with a few moist crumbs. A clean, dry toothpick is not necessary; overbaking can make the crumb dry.

  9. Cool before slicing. Set the pan on a wire rack and cool for at least 25 minutes. Use the parchment to lift out the cake, then cool it to room temperature before dusting with powdered sugar and slicing. Cutting while very hot can make the apple pieces drag through the crumb.

Expert tips

  • Choose the right apples: Firm apples hold their shape and provide a pleasant bite. Very soft apples can release more liquid and make the center heavy.
  • Measure flour accurately: Fluff the flour, spoon it into a measuring cup, and level it, or use the gram measurement. Packing in extra flour is a common cause of dense cake.
  • Do not skip cooling the butter: Hot butter can partially cook the eggs and make the batter greasy. It should feel warm, not hot, before mixing.
  • If using a glass pan: Reduce the oven temperature to 325°F (165°C) and expect the cake to need a few extra minutes. Check the center with the same visual and toothpick cues.
  • For a less sweet cake: Reduce the granulated sugar to 2 tablespoons. Do not remove all the brown sugar, which contributes moisture and structure.
  • If the top browns too quickly: Loosely cover the pan with foil during the final 10 to 15 minutes, keeping the foil above the batter so it does not stick.
  • If the center is wet: The pan may be smaller, the apples may be especially juicy, or the cake may simply need more time. Return it to the oven in 5-minute increments until the center springs back and the toothpick shows moist crumbs rather than wet batter.

Serving and storage

Serve the cake slightly warm or at room temperature, plain or with a light dusting of powdered sugar. It is also good with a spoonful of whipped cream or vanilla ice cream.

Store the completely cooled cake in an airtight container at room temperature for up to 2 days. Because it contains fresh apples and yogurt or sour cream, refrigerate it for up to 5 days if your kitchen is warm or if you want to keep it longer. Bring chilled slices toward room temperature before serving for a softer crumb.

To freeze it, wrap individual slices tightly and place them in a freezer-safe bag or container for up to 2 months. Thaw wrapped slices in the refrigerator overnight or at room temperature for a few hours.

Frequently asked questions

What are the best apples for apple walnut cake?

Firm apples such as Honeycrisp, Braeburn, Pink Lady, and Granny Smith work well because they retain some texture while baking. You can use one variety or combine a tart apple with a sweeter one.

Can I use chopped walnuts without toasting them?

Yes, but toasting adds a more pronounced nutty flavor and a crisper texture. If you skip toasting, add the walnuts directly to the batter and keep the measured amount the same.

Why did my apple walnut cake sink in the middle?

The cake may have been underbaked, the batter may have been overmixed, or the apples may have released substantial moisture. Bake until the center springs back lightly and test in a section without an apple piece.

Can I make this cake with oil instead of butter?

Yes. Replace the melted butter with 1/2 cup (120 ml) neutral oil, such as canola or sunflower oil. The cake will be moist but will have less buttery flavor and a slightly softer texture.

Can I bake this recipe in a round pan?

Use a 9-inch round pan with at least 2-inch sides. Begin checking at 38 minutes. Avoid a smaller pan because the thicker batter will take longer to bake and may leave the center underdone.

More from FoodNotes