Side Dishes
This sweet potato cookie bar recipe transforms humble sweet potatoes into a spiced, chewy delight that tastes like dessert but serves as a hearty side dish.
The secret lies in blending roasted sweet potato puree with classic cookie ingredients—creating a texture that’s soft in the center and crisp at the edges, with warm cinnamon and nutmeg notes that balance the earthy sweetness.
The process is straightforward: roast sweet potatoes until tender, blend them into a smooth puree, then mix with butter, sugar, and spices before baking in a single sheet pan. At 350°F, these bars develop a golden crust while staying fudgy inside, making them perfect for holidays or potlucks.
The flavor profile is a sophisticated twist on traditional cookies—sweet, spiced, and subtly nutty.
What makes these cookie bars special is their versatility. They’re sturdy enough to cut into squares but tender enough to fold into sandwiches or crumble over ice cream.
Top with a sprinkle of sea salt or dark chocolate drizzle for extra depth. Once you try them, you’ll never buy store-bought sweet potato treats again—they’re that good.
Ready in about 45 minutes (including prep and baking), these bars are ideal for meal prep or last-minute gatherings. The recipe scales easily, so double the batch for parties. Here’s how to make them perfectly every time.
Ingredients for sweet potato cookie bar
Sweet potatoes, butter, and warm spices—this bar recipe transforms humble ingredients into decadent squares.
| Ingredient | Amount | Notes |
|---|---|---|
| Large Sweet Potatoes 🍠 | 2 lbs | Organic preferred, skin-on for roasting |
| Unsalted Butter 🧈 | 1 cup | Cold, cut into tablespoons |
| Granulated Sugar 🍚 | 1 ½ cups | Light brown sugar for depth |
| Packed Brown Sugar 🍚 | ½ cup | For moist texture |
| Large Eggs 🥚 | 2 whole | Room temperature for blending |
| Vanilla Extract 🌿 | 2 tsp | Pure, not imitation |
| Ground Cinnamon 🌶️ | 2 tsp | Freshly ground preferred |
| Ground Nutmeg 🌶️ | 1 tsp | Freshly grated nutmeg |
| Ground Ginger 🌶️ | 1 tsp | Warm, not spicy |
| All-Purpose Flour 🌾 | 2 cups | Sifted for even texture |
| Baking Soda 🧂 | 1 tsp | For lift and crispness |
| Sea Salt 🧂 | ½ tsp | Fine grain for sprinkling |
| Dark Chocolate Chips 🍫 | 1 cup | 70% cocoa for contrast |
| Chopped Walnuts 🥜 | ½ cup | Toasted for nuttiness |
Sweet potatoes are the star here. Organic sweet potatoes from the produce section have the best flavor, but any firm, unblemished ones work. Roast them whole until tender—Costco or Trader Joe's often carry the largest varieties. For extra flavor, don't peel them until after roasting. The butter should be cold when you measure it—soft butter can make the bars greasy. If you're short on time, pre-made sweet potato puree from the canned goods aisle works, though homemade gives the best texture. The spices? Penzeys or Spicewalla for the highest quality, but regular grocery store brands are fine if they're fresh.
No vanilla extract? Vanilla bean paste or even a scraped vanilla bean works in a pinch. Substituting brown sugar? Use white sugar plus 1 tsp molasses for that caramel depth. For nut-free bars, skip the walnuts and add extra chocolate chips or dried cranberries. The chocolate chips can be swapped for white chocolate or butterscotch chips if you prefer a sweeter profile. If you're making these ahead, freeze the dough for up to 3 months—just let it thaw before baking. The baking soda is crucial here—it's what gives these bars that perfect crisp edge while keeping the center chewy.
These bars keep beautifully at room temperature for 5 days in an airtight container, though they're best within 3 days. For longer storage, wrap tightly in plastic wrap and freeze for up to 3 months. The flavor actually improves overnight as the spices meld. I like to portion them into 16 squares for easy serving, but they're great cut into smaller rectangles too. Leftovers? Crumble them over ice cream or fold into peanut butter sandwiches. The chocolate and walnuts add texture contrast—don't skip them unless you're making a nut-free version.
Why You'll Love This Recipe
- No Peel Required: I’ll be real—roasting sweet potatoes whole means zero chopping, zero mess. Just score, bake, and mash while you sip coffee. That’s my kind of lazy Sunday morning.
- Buttery Sweet Magic: The combo of brown sugar and butter in the dough? It’s like dessert hugged a cookie. The sweet potato adds natural moisture, so every bite is chewy, rich, and just sweet enough—no weird aftertaste.
- Snack Attack Ready: Between us, these bars are my go-to for lunchboxes, gym bags, or when I’m too tired to bake. They hold up for days in the fridge, and honestly? Kids (and adults) will fight over them faster than you can say “second helping.”
- Pantry Staple Hack: You’re using ingredients you already have—sugar, butter, eggs—and sweet potatoes stretch further than you’d think. I’ve fed a crowd with one big batch, and the cost? A fraction of store-bought treats. Plus, they freeze like a dream.
Step-by-step instructions for sweet potato cookie bars
Here's how to create perfectly chewy bars with a spiced sweet potato base.
Roast and Mash the Sweet Potatoes
Preheat your oven to 400°F and line a baking sheet with parchment paper. Pierce the 2 lbs large sweet potatoes with a fork in several places, then place them directly on the baking sheet. Roast for 45-50 minutes until the skin is crisp and the flesh is tender when pierced with a knife.
Let the sweet potatoes cool for 10 minutes before peeling off the skin and transferring the flesh to a food processor. Mash until completely smooth, scraping down the sides as needed. The texture should be completely free of lumps—this ensures your bars will be tender and uniform. I like to press the mash through a fine-mesh sieve for extra smoothness if any lumps remain.
Cream Butter and Sugars
In a large mixing bowl, combine the 1 cup unsalted butter (cut into tablespoons), 1.5 cups granulated sugar, and 0.5 cup packed brown sugar. Using an electric mixer on medium-high speed, beat for 3-4 minutes until the mixture is light and fluffy, with no graininess remaining.
This step is crucial for creating the right texture—you want to incorporate air into the butter and sugar mixture. Stop occasionally to scrape down the sides of the bowl with a rubber spatula to ensure even mixing. The mixture should be pale and nearly double in volume when finished, creating the perfect foundation for your bars.
Add Eggs and Flavorings
Add the 2 whole large eggs (room temperature) one at a time, mixing on low speed after each addition until fully incorporated. Then add the 2 tsp vanilla extract, 2 tsp ground cinnamon, 1 tsp ground nutmeg, 1 tsp ground ginger, and 0.5 tsp sea salt. Mix on low speed for 1 minute until the spices are evenly distributed.
Next, gradually add the 2 cups all-purpose flour and 1 tsp baking soda while mixing on low speed until just combined. Be careful not to overmix—the dough should come together but still appear slightly shaggy. This is where the magic happens, as the spices and baking soda will create that perfect spiced sweetness and lift in your bars.
Combine with Sweet Potato Mash
Add the mashed sweet potatoes to the mixing bowl and combine on low speed until fully incorporated. The dough will be thick and sticky, but don't be tempted to add extra flour—this is what gives the bars their signature chewy texture. Fold in the 1 cup dark chocolate chips and 0.5 cup chopped walnuts using a silicone spatula, making sure they're evenly distributed throughout the dough.
Here's the thing—this dough is thick, but that's exactly what we want. It ensures the bars hold their shape when baking and develop that perfect chewy texture. If you're worried about it being too sticky, don't fret. The sweet potatoes and butter combination creates the ideal consistency for these bars.
Bake to Golden Perfection
Preheat your oven to 350°F and line a 9x13-inch baking pan with parchment paper, leaving an overhang on the sides for easy removal. Spread the dough evenly into the prepared pan, using a spatula to smooth the top. Bake for 25-30 minutes until the edges are golden brown and a toothpick inserted in the center comes out with a few moist crumbs (not wet batter).
Let the bars cool in the pan for 15 minutes before transferring to a wire rack to cool completely. This resting period allows the bars to set properly and develop their full flavor. Once cooled, use the parchment overhang to lift the bars out of the pan in one piece. Cut into 16 bars using a sharp knife or pizza cutter, and serve at room temperature for the best texture.
Pro Tips For Making Sweet Potato Cookie Bar
- Boil Until Fork-Tender: Sweet potatoes straight from the oven? No—peel and boil them until they’re so soft a fork slides in like butter. Overcooked? No such thing here. I learned this the hard way when my first batch turned out dense and sad because I rushed the boiling.
- Cool Before Mashing: Hot sweet potatoes + eggs = scrambled mess. Let them sit for at least 10 minutes after boiling before mashing—your batter will be smoother, and you won’t end up with a lumpy, gluey disaster. (Yes, I’ve done it. Twice.)
- Don’t Overmix the Batter: Once you fold in the eggs and sugars, mix just until combined—maybe 10 strokes max. Overmixing makes these bars tough instead of tender. I used to go at it like I was kneading dough, and the texture suffered.
- Use Room-Temp Eggs: Cold eggs make the batter fight you. Crack them into a bowl and let them sit for 15 minutes before mixing—this guarantees a smoother, more even texture. (Your future self will notice the difference.)
Dietary considerations for this recipe
Gluten-Free Adaptation
Swap the 2 cups all-purpose flour for a 1:1 gluten-free baking flour blend like Bob’s Red Mill or King Arthur. These blends mimic the texture of traditional flour, though you may need to add 1 extra tablespoon of gluten-free flour to account for dryness.
For best results, use a xanthan gum-included blend—it helps bind the bars just like gluten would. 🌾
Vegan-Friendly Swaps
Replace the 1 cup unsalted butter with ½ cup coconut oil or vegan butter like Earth Balance. For eggs, use 2 flax eggs (2 tbsp ground flaxseed + 6 tbsp water, mixed and rested for 5 minutes).
The baking soda will still work, but add 1 tsp apple cider vinegar to help with lift. Dark chocolate chips can stay, but check for vegan brands like Enjoy Life. 🥥
Lower Sugar Options
Reduce the 1.5 cups granulated sugar and 0.5 cup brown sugar to 1 cup total (split between the two). Add ¼ cup unsweetened applesauce to maintain moisture without extra sugar. For extra sweetness, boost the vanilla extract to 1 tbsp and add ½ tsp cinnamon for warmth.
The sweet potatoes already contribute natural sweetness, so this keeps the bars balanced. 🍎
Nut-Free Version
Omit the 0.5 cup chopped walnuts and replace them with ½ cup dried cranberries or white chocolate chips for texture. If you want crunch, toast ½ cup pepitas (pumpkin seeds) lightly in the oven for 5 minutes at 350°F before adding.
The chocolate chips remain a must—they add richness that nuts can’t replicate. 🌰
Diabetic-Friendly Adjustments
Cut the sugar in half (use 0.75 cups total) and replace 1 cup of the sweet potato puree with 1 cup unsweetened pumpkin puree. Add 1 tbsp cinnamon (it helps balance sweetness) and 1 tsp vanilla bean paste for depth.
Test the dough’s sweetness before baking—adjust with monk fruit sweetener if needed. These bars will still taste rich but with fewer carbs. 🍠
Nutrition facts
Frequently asked questions
Can I use canned sweet potato puree instead of roasting fresh? Yes, you can! For convenience, use 1.5 cups unsweetened canned sweet potato puree (not pie filling) instead of roasting. Just
Why did my cookie bars turn out too dry?
Overbaking is the most common cause. These bars are done when a toothpick comes out with moist crumbs, not wet batter. If yours turned dry, check your oven temperature with an oven thermometer—many run hot. Also, ensure you didn't add extra flour when combining ingredients. The sweet potato puree should be the only moisture adjustment needed.
How do I store these bars to keep them fresh?
Store them in an airtight container at room temperature for up to 5 days. For longer storage, wrap tightly in plastic wrap and freeze for up to 3 months. The flavor actually improves overnight as the spices meld! To prevent sogginess, place parchment paper between layers if stacking.
Can I make these bars without nuts or chocolate?
For a nut-free version, replace the walnuts with ½ cup dried cranberries or toasted pumpkin seeds. Skip the chocolate chips or use white chocolate chips instead. The bars will still be delicious—just less rich. This works well for dietary restrictions or if you prefer a fruitier flavor profile.
How can I tell if my sweet potatoes are ripe enough for roasting?
Look for sweet potatoes that feel heavy for their size and have smooth, firm skin with no soft spots. The flesh should be vibrant orange—this indicates natural sweetness. Avoid potatoes with green spots (signs of toxins) or wrinkled skin. For maximum flavor, choose organic sweet potatoes when possible, as their skins are thinner and easier to peel.
