Pumpkin Bars

These easy pumpkin bars are super moist, perfectly spiced, and slathered in tangy cream cheese frosting. What more could you want in a fall treat?

pumpkin bars recipe

If you’re looking for a fun, festive, and sweet-but-not-too-sweet treat to make for Halloween, this easy pumpkin bars recipe is just the thing for you! It’s based on the pumpkin bread recipe that I make every fall. Like the bread, these bars are moist, tender, and filled with pumpkin spice flavor. UNlike the bread, they’re topped in a rich, tangy cream cheese frosting, which really highlights the warm spices inside them. On cool fall afternoons, they’re the perfect treat to pair with a coffee or tea. But heads up: these pumpkin bars are seriously addictive. Eat one, and you’ll have finished a second (or third) before you know it!

Pumpkin Bars Recipe ingredients

Easy Pumpkin Bars Recipe Ingredients

Here’s what you’ll need to make this easy pumpkin bars recipe:

  • Ground flaxseed and water act as an egg replacer in this recipe – they thicken the batter and help it rise.
  • All-purpose flour and almond flour make these pumpkin bars super moist and tender. I love using this combo in baking – find it in my blueberry muffins and banana bread, too!
  • Pumpkin pie spice fills these bars with warm autumn flavor. I like to use this homemade pumpkin spice blend, but if you prefer, you could substitute 2 teaspoons cinnamon, 1/2 teaspoon nutmeg, and 1/2 teaspoon cardamom.
  • Baking powder and baking soda help them rise.
  • Coconut oil adds moisture and richness.
  • Maple syrup sweetens them up.
  • Vanilla extract deepens the flavor.
  • Pumpkin puree adds essential pumpkin flavor and moisture. Find it in a can, or make your own with this recipe! If you have leftover puree, use it to make pumpkin pancakes or French toast.
  • And a dash of salt highlights the sweet, spiced flavor. Yum!

Find the complete recipe with measurements below.

Spreading batter in a baking pan

Combine the wet ingredients in one bowl and the dry ingredients in another. Then, pour the wet pumpkin mixture into the bowl of dry ingredients and mix until just combined. Spread the batter into a baking pan and bake in a preheated oven at 350° for about 20 minutes, or until a toothpick inserted comes out clean.

Now for the hard part: letting the bars cool! It’s tempting to slice them or frost them right away, but they must cool to room temperature first. If they’re still warm, the bars will crumble, and the frosting will melt!

Spreading cream cheese frosting on pumpkin bars

Pumpkin Bars Recipe Variations

When it comes to topping these bars, you have a few options. They’re fantastic with the luscious frosting on its own, but you can also sprinkle a little something else on top. I love chocolate with any pumpkin dessert, so I add mini chocolate chips. Chopped pecans would be great here too. Have fun customizing the topping to suit your tastes!

Leftover frosting? Slather it on my carrot cake (see here for a vegan version).

Pumpkin bars with cream cheese frosting

Because I use part almond flour in this pumpkin bars recipe, it’s a natural candidate for a gluten-free variation. To make this recipe gluten-free, replace the all-purpose flour with Bob’s Red Mill Gluten-Free All-Purpose Baking Flour.

Happy baking! 🙂

Easy pumpkin bars recipe

More Favorite Fall Desserts

If you love these pumpkin bars with cream cheese frosting, try one of these delicious fall desserts next:

pumpkin bars

Pumpkin Bars

rate this recipe:
4.5 from 18 votes
Prep Time: 20 mins
Cook Time: 20 mins
Total Time: 40 mins
Serves 16
These pumpkin bars with cream cheese frosting are the ultimate fall treat! They're super moist (almost gooey!) and filled with pumpkin spice flavor. I recommend serving these bars with the frosting. If you prefer a lighter treat, these pumpkin muffins are a great choice.



  • Preheat the oven to 350°F and lightly grease an 8x8-inch baking dish.
  • In a small bowl, combine the flaxseed and the water and set aside for 5 minutes to thicken.
  • In a large bowl, combine the all-purpose flour, almond flour, pumpkin pie spice, baking powder, baking soda, and salt.
  • In a medium bowl, whisk together the pumpkin, coconut oil, maple syrup, vanilla, and the flaxseed mixture.
  • Pour the wet ingredients into the bowl of dry ingredients and stir until just combined. Spread into the baking dish (the batter will be thick) and bake for 25 to 30 minutes or until a toothpick comes out clean. Let the cake cool completely before frosting or slicing.
  • While the cake cools, make the frosting: In a large bowl, beat the cream cheese and butter with an electric mixer until smooth. Add the vanilla and powdered sugar, and mix until smooth.


Note: if you're not vegan, you can use regular cream cheese and regular butter.
Make this recipe gluten free by replacing the all-purpose flour with Bob’s Red Mill Gluten-Free All-Purpose Baking Flour.



Leave a comment:

Your email address will not be published. Required fields are marked *

Rate this recipe (after making it)

  1. Colleen

    can you use all almond flour so it is gluten free?

    • Jeanine Donofrio

      Hi Colleen, I haven’t tried it that way, so I can’t say for sure. I think it might be too dense and not cake-like without altering the other ingredients as well.

      • Wendy

        You might try replacing Bobs Red Mill All Purpose Gluten Free Flour Blend. It works really well for things like this. 😊

      • Ellen

        Hi, I made this gluten free by using the stated amount of almond flour and using Bob’s Rrd Mill gluten free for the other flour, and it was terrific!

        • Jeanine Donofrio

          Hi Ellen, thanks for sharing! I’m happy they worked out with Bob’s GF flour mixed in.

  2. Mari Barnes

    I love the photos, especially the ones in which you label the ingredients. Thanks for beautiful pictures and recipes!

    • Jeanine Donofrio

      thanks Marni!

  3. Natalie from workovereasy.com

    We unfortunately don’t really have pumpkin puree here in the UK, is it just what it sounds like (cooked blitzed pumpkin) if I had to make my own or is there something more to it? Thanks!

    – Natalie

    • Christine

      I used a baked sweet potato i had in the fridge and it turned out great!

    • Jaclyn

      In the UK any large Tesco or Sainsbury’s will stock it in the American section of the world food aisle, or you can buy online from Tesco, Sainsbury’s, Waitrose or Ocado.

      • Jeanine Donofrio

        thanks Jaclyn, that’s great to know!

  4. sabrina from newkitchenlife.com

    great recipe, fun to make too, also a great recipe to share, thank you for sharing it!

  5. Colin Matthews

    5 stars
    Hard to believe this is really vegan! It looks soo amazing.

  6. .abby.

    Would the consistency be thrown off if I used only all-purpose flour? I’ve never worked with almond flour before since we have nut allergies in the house.

    • Jeanine Donofrio

      Hi Abby, I would probably add more oil so that they don’t turn out too dry (since almond flour is fatty). I can’t say for sure without trying it myself, but I think 2 additional tablespoons coconut oil might do the trick.

  7. Leah from leahgauthier.com

    This is cake is super yummy. I made it gluten free by substituting the regular flour with Minimalist Baker’s diy gf flour mix. Came out perfect. Thank you so much!

    • Jeanine Donofrio

      I’m glad you loved it! Thanks for the gluten free tip!

  8. CSB

    If we’re an egg eating household, is it safe to assume I can sub in 4 eggs for the flax?

    • Jeanine Donofrio

      Hi, I would try 2 eggs… but know that I haven’t tested this with eggs so I’m not sure exactly how it will turn out. It’s not always a direct swap. Hope that helps!

  9. Ellen

    So good, but so hard to cut into 24 squares and eat just one! And why did I never think of making a vegan cream cheese frosting? Thanks!

    • Jeanine Donofrio

      Ha, ha, I’m glad you loved them!

  10. Terri

    I love your website and recipes! I’ve never used as many recipes from one site as I do from yours. I’m a fairly new follower, about 2 months now.
    This pumpkin snack cake sounds amazing.
    I sincerely hate to be one that can’t eat something in a recipe, but I seem to be allergic to all seeds (hemp, flax & sunflower are the worst). So weird and I’m not liking this at all. Nuts are fine.
    Is there a substitute for flax seed? I really want to make these snack cakes and will if I can find a way around the flax seeds.

    • Jeanine Donofrio

      Hi Terri, I’m so glad to hear that you’ve been loving the recipes! I haven’t tried making this with an egg, but I’m sure it can be done. I would probably try 1 egg with 2 tablespoons water (omitting the 1/4 cup flax and 1/4 cup of water). I can give it a try sometime later this week and let you know!

      • Terri

        Now that you mention it, it seems that I have heard you can sub an egg for flax seed and vice versa. Sorry I didn’t think of that. Thank you for the suggestion of adding 2 T of water with the egg also. I wouldn’t have thought of that. I’ll try it too and let you know!

        • Jeanine Donofrio

          Yep, exactly, the reason for the flax is to substitute the egg… it’s not always a 1:1 swap, although it’s usually easier to go from flax to egg than vise versa. Let me know how it goes!

  11. Laurina

    I made this cake the day the recipe showed up in my inbox. It was delicious. Light, not to sweet, easy to make and stayed fresh tasting for days. I didn’t have any canned pumpkin so substituted some winter squash purée I had cooked up earlier. Thank you for your great recipes.

    • Jeanine Donofrio

      Hi Laurina, I’m so happy to hear that it worked so well with the fresh squash puree! Thanks for the feedback 🙂

  12. Bridget

    This recipe is so good, Jeanine! I’ve already made it twice and have no plans to stop.

    • Jeanine Donofrio

      Ha ha, I love hearing that! Thanks for taking a sec to come let me know 🙂 xo

  13. Amy

    Planning to make this today, looks delicious. Can I sub whole wheat all-purpose four for the white or will that change the consistency?


    • Jeanine Donofrio

      Hi Amy, it’ll be a little bit more dense but I think it’ll still be tasty. I often like to use whole wheat pastry flour over regular whole wheat because it’s a bit lighter. Hope that helps!

      • Amy

        5 stars
        Didn’t have ww pastry flour, so used white all-purpose flour per the recipe, came out great! Easy and delicious.

        • Jeanine Donofrio

          ooh, yay, I’m so glad you loved it!

  14. Andy

    5 stars
    Came across your site recently and thought I’d give this recipe a try. Followed instructions to the letter and it worked a treat. Loving this site. keep up the good work.

    • Jeanine Donofrio

      Hi Andy – welcome!! I’m so glad you loved the recipe.

  15. Katie from simplybykate.com

    Love this recipe! I need to try this out.

  16. Kiara

    5 stars
    I’ve made this twice now, and it’s SO delicious! Cake is super moist, and the cashew maple frosting has the perfect balance of sweetness and acidity. Loved it, thanks for the amazing recipe!

    • Jeanine Donofrio

      Hi Kiara, I’m so so glad you loved the cake!

  17. Ashton

    5 stars
    This is one of the best cakes I’ve ever had. My husband and I make it almost every week right now. Thank you for the awesome recipe!

  18. Rae & Athene

    5 stars
    These were delicious! They were the perfect start-of-Autumn treat! 🙂

    • Jeanine Donofrio

      I’m so glad you loved them!

  19. Courtney

    5 stars
    I just made these and used butter instead of coconut oil and it worked perfect! I was almost gonna do a regular egg cause I was worried it would taste odd with flax but ended up going with the flax eggs and I loved the taste and texture with them! So moist!
    For the frosting I added a little pumpkin and spices and it was a little runny but the flavor was amazing!
    Thanks for the recipe! Just what I needed 🙂

  20. Doozy

    4 stars
    Should say 😍

    3.In a large bowl, combine the all-purpose flour, almond flour, Pumpkin pie spice, baking powder, baking soda, and salt.

    Very tasty with out frosting , simple pumpkin bars.

  21. Jacquie

    can i make this into bread by just baking in a loaf pan? i like the idea of using almond flour and this has less sugar than your pumpkin bread. Thank,

    • Jeanine Donofrio

      Hi Jacquie, not really, it’d be pretty flat which is why these work well as bars. The pumpkin bread recipe was developed to puff up more in a loaf pan so that it cooks all the way through.

  22. Linnie

    I love this recipe but hate only using part of the can of pumpkin. It always seems to go to waste besides my best intentions. Any suggestions on how I can change/scale this recipe?

    • Jeanine Donofrio

      Hi Linnie, you could double the recipe and use a 9×13 pan – you might have to bake it a little longer since the batter will be thicker in that size pan. Or you could make our pumpkin muffins, pumpkin waffles, or pumpkin french toast with the leftover.

      Hope that helps!

    • Lilyw

      Try stirring leftover pumpkin into oatmeal or other hot cereal with pumpkin pie spice, dried cranberries, and walnuts.

  23. Denise

    5 stars
    These are delicious! Light, moist and perfect for anytime of the day ~ I eat them without the glaze or cream cheese. Yum!

  24. Katie

    3 stars
    Thank you for these vegan bars! Gave these a shot this morning before settling into all the Zoom mtgs today. Delicious flavor, but didn’t get these to rise much, so were a little underbaked. What’s your recommendation to boost them a bit?

    • Jeanine Donofrio

      Hi Katie, these don’t rise much – it sounds like you could have baked them a little longer if they were underbaked.

  25. Lilyw

    3 stars
    Well gosh. These didn’t come out so super great for me. I baked 10 minutes longer and the cake was still doughy and underdone in texture. I frosted them anyway. They look just like the picture but… Can’t think why. I followed directions to a tee. They are okay. I like that the cake isn’t sweet. Just a funny texture.

  26. Isabella

    1 star
    Unfortunately, it came out extremely gooey.

  27. Bethany Wark

    5 stars
    This is my go to recipe to take to parties and for our Thanksgiving week to take to our family’s home. It bakes perfect each time I make it. Thank you so much for this recipe. My whole family loves it and we have small children.

A food blog with fresh, zesty recipes.
Photograph of Jeanine Donofrio and Jack Mathews in their kitchen

Hello, we're Jeanine and Jack.

We love to eat, travel, cook, and eat some more! We create & photograph vegetarian recipes from our home in Chicago, while our shiba pups eat the kale stems that fall on the kitchen floor.