Skip to main content
Zimt

Home baking recipes and cinnamon favourites

Pumpkin Raisin Bars with Cream Cheese Frosting

Pumpkin raisin bars with cream cheese frosting are a soft, warmly spiced sheet-pan bake — closer to a moist carrot cake than to a pumpkin pie — cut into squares and topped with a tangy frosting that balances the sweetness. The whole thing comes together in about 20 minutes of hands-on work and one mixing bowl, and it travels and freezes well, which makes it a good choice for potlucks, lunchboxes and holiday trays. Before you start, read these three things: (1) use plain canned pumpkin purée, not pumpkin pie filling, which already contains sugar and spices and will throw off the texture; (2) use block cream cheese, not the spreadable tub kind, or the frosting will be soupy; and (3) let the bars cool completely before frosting them, because warm bars melt icing into a puddle.

What You'll Need

  • Equipment: 9×13-inch (23×33 cm) metal baking pan, parchment paper, two mixing bowls, electric hand or stand mixer, whisk, rubber spatula, wire rack, sharp knife
  • For the bars: 1 cup (125 g) all-purpose flour, 1 tsp baking powder, ½ tsp baking soda, ½ tsp fine salt, 1½ tsp ground cinnamon, ½ tsp ground ginger, ¼ tsp ground nutmeg, ¼ tsp ground cloves (optional), 1 cup (200 g) granulated sugar, ½ cup (100 g) packed light brown sugar, 2 large eggs, 1 cup (240 g) plain canned pumpkin purée, ½ cup (120 ml) neutral oil such as canola or vegetable, 1 tsp vanilla extract, 1 cup (150 g) raisins
  • For the frosting: 8 oz (225 g) block cream cheese, softened, 4 tbsp (55 g) unsalted butter, softened, 1½ to 2 cups (180–240 g) powdered sugar, sifted, 1 tsp vanilla extract, pinch of salt

Raisin note: standard Thompson raisins work fine; if they are very dry and hard, soak them in hot water for 10 minutes and drain them well, or the bars will have chewy, tough spots.

Step-by-Step

  1. Prep the oven and pan. Heat the oven to 350°F (175°C) with a rack in the middle. Line the 9×13-inch pan with parchment so it overhangs two opposite sides; this lets you lift out the whole slab for clean cutting. Lightly grease the bare metal ends.
  2. Mix the dry ingredients. In a medium bowl, whisk together the flour, baking powder, baking soda, salt and all the spices until evenly combined. Set aside.
  3. Toss the raisins in flour. Scoop about 1 tablespoon of the dry mixture into a small bowl and stir the raisins through it. This coating keeps them from sinking to the bottom of the bars.
  4. Whisk the wet ingredients. In the large bowl, whisk the granulated sugar, brown sugar and eggs until smooth and slightly pale. Add the pumpkin purée, oil and vanilla and whisk until uniform — it should look glossy, not curdled.
  5. Fold the batter together. Add the dry ingredients to the wet in two additions, folding gently with a rubber spatula just until no streaks of flour remain. Stop there; over-mixing develops gluten and makes the bars tough. Fold in the floured raisins.
  6. Bake. Scrape the batter into the pan and spread it level with the spatula. Bake 25–30 minutes, until the edges pull away slightly from the pan and the center springs back when lightly pressed. A toothpick inserted in the middle should come out with a few moist crumbs, not wet batter.
  7. Cool completely. Let the pan sit on a wire rack 15 minutes, then lift out the slab by the parchment and cool on the rack at least 45 more minutes, until fully room temperature. Do not rush this step.
  8. Make the frosting. Beat the softened cream cheese and butter on medium speed for 1–2 minutes until smooth with no lumps. Add the vanilla and salt, then the powdered sugar ½ cup at a time, beating on low after each addition. Beat on medium for 30 seconds at the end until fluffy. Taste and adjust.
  9. Frost and cut. Spread the frosting over the cooled slab with an offset spatula, leaving a ½-inch border if you like a defined edge. For neat squares, chill the frosted slab 30 minutes, then cut with a long knife wiped clean between cuts.

Common Mistakes

The most frequent problems come from temperature and mixing. Cold cream cheese or cold butter will never beat smooth; it stays lumpy and forces you to over-beat, which warms the frosting until it slumps. Let both sit out 45–60 minutes before you start, or cube them and let them soften faster. Beating cream cheese too long on high speed pumps in air and breaks the structure, giving a grainy or runny result — keep it to medium speed and short bursts.

Second, using pumpkin pie filling instead of purée. Pie filling is sweetened and spiced, so the bars come out too sweet and the extra liquid makes them gummy. Third, under- or over-baking: pumpkin batters are dense and stay looking wet on top well past done, so rely on the spring-back test and the toothpick rather than the clock. Fourth, frosting warm bars, which is the single most common reason the icing ends up sliding off. Fifth, dumping in all the powdered sugar at once, which sends a cloud of sugar across the kitchen and leaves lumps that need heavy beating to dissolve.

Tips

For a more intense pumpkin flavor, blot the purée with paper towels to remove some water before measuring; canned pumpkin varies in moisture and drier purée gives a more concentrated taste. If you like extra texture, reserve a handful of raisins to scatter on top of the batter before baking, and consider folding ½ cup of chopped toasted walnuts or pecans into the batter with the raisins.

Use a metal pan, not glass, if you have both: glass holds heat longer and can over-brown the edges of a long bake like this. Weigh your flour if you own a scale; one cup scooped straight from the bag can weigh 150 g instead of 125 g, and that difference alone makes the bars dry. When testing for doneness, insert the toothpick near the center but off the exact middle, since the middle is the last spot to set.

The frosting can be made a day ahead and refrigerated; bring it back to cool room temperature and give it a quick stir before spreading. If you plan to transport the bars, keep them chilled until you leave, then keep them out of direct sun.

Troubleshooting

Bars came out dense and rubbery: the batter was over-mixed or the flour was over-measured. Next time fold only until the flour disappears and spoon-and-level the flour.

Bars are soggy in the middle: underbaked or too much liquid from the pumpkin. Return the pan to the oven for 5–8 minutes and re-test, covering the edges with foil if they are already dark.

Frosting is runny: the cream cheese or butter was too warm, or the bars were still warm. Chill the frosting 20–30 minutes and re-whip briefly; if it stays loose, beat in another ¼ cup sifted powdered sugar. Never add more liquid.

Frosting is lumpy: cold dairy, most likely. Let it stand at room temperature and beat again on medium; small lumps that persist are usually just unsoftened cream cheese and will spread out if you press the icing with the spatula.

Raisins all sank: they were not coated in flour, or the batter was too thin. Toss them in a spoonful of the dry mix next time.

Bars crumble when cut: they were cut cold or with a dull knife. Let them sit 10 minutes at room temperature and use a long, sharp blade in one firm downward stroke.

Frosting tastes too sweet or flat: add a pinch more salt and a few drops of lemon juice or extra vanilla; salt is what makes cream cheese frosting taste like cream cheese.

Frequently Asked Questions

Can I use fresh pumpkin instead of canned? Yes. Cook and purée a sugar pumpkin, then drain the purée in a fine-mesh strainer for 30 minutes so it matches the thickness of canned. Avoid carving pumpkins, which are watery and stringy.

Do I have to refrigerate the frosted bars? Yes. Because of the cream cheese and butter, store them covered in the refrigerator. They keep about 4 days; bring them out 20 minutes before serving for the best texture.

Can I freeze them? The unfrosted bars freeze well for up to 3 months, wrapped tightly. Frosted bars also freeze, but freeze them first on a tray until the icing is firm, then wrap; thaw overnight in the refrigerator.

Can I make these gluten-free? Use a 1:1 gluten-free baking blend that contains xanthan gum and expect a slightly softer crumb. Let the baked slab cool completely before cutting, as gluten-free bakes are more fragile while warm.

Can I bake this in a different pan? Yes, but the time changes. A 9×9-inch pan makes thicker bars and needs roughly 35–42 minutes; a 10×15-inch jelly roll pan makes thinner bars at about 18–22 minutes. Test with a toothpick either way. A Bundt or loaf pan is not a good substitute here.

What if I don't have all the spices? Cinnamon alone, or cinnamon plus a pinch of nutmeg, is enough. Do not substitute pumpkin pie spice blend cup-for-cup without tasting, since blends vary and some are heavy on cloves.

Read next