Desserts
This Hershey Bar cookie recipe delivers the perfect balance of fudgy chocolate chunks and crispy pecan crowns—every bite combines rich Hershey’s flavor with satisfying texture. After years of perfecting the ratio of melted chocolate to dough, I’ve developed a method that ensures no dry edges or greasy centers.
The secret lies in using high-quality chocolate bars and precise baking times to maintain that signature gooey interior.
What sets these cookies apart is the two-stage baking process: first for the dough to set, then for the pecan crowns to crisp perfectly.
This technique guarantees a cookie that’s both visually stunning and irresistibly delicious, with each bite offering a mix of textures—creamy chocolate, crunchy pecans, and a tender cookie base. The recipe yields about 24 cookies, making it ideal for sharing or gifting.
Once you try these, you’ll understand why they’re a crowd favorite—they’re rich enough to satisfy chocolate cravings but light enough to enjoy without guilt. The pecan crowns add an elegant touch while keeping the cookies from feeling too heavy. Perfect for holidays, potlucks, or simply treating yourself to something special.
For those who love experimenting, you can easily swap pecans for walnuts or add a sprinkle of sea salt on top for extra depth. Let’s get baking—these cookies are worth every minute of effort!
Ingredients for hershey bar cookie
Twelve simple ingredients transform into 24 decadent cookies with perfect texture and rich Hershey flavor.
| Ingredient | Amount | Notes |
|---|---|---|
| Hershey's Milk Chocolate Bars 🍫 | 12 oz | High-quality, chopped into chunks |
| All-Purpose Flour 🌾 | 2 ½ cups | Spooning into cup, not scooping |
| Granulated Sugar 🍚 | 1 cup | White or light brown preferred |
| Packed Brown Sugar 🍚 | ½ cup | Light or dark works fine |
| Unsalted Butter 🧈 | 1 cup | Cold, cubed for creaming |
| Large Eggs 🥚 | 2 whole | Room temperature for best mixing |
| Vanilla Extract 🌿 | 1 tbsp | Pure, not imitation |
| Pecans 🌰 | 1 cup | Chopped, toasted for extra flavor |
| Baking Soda 🧂 | ½ tsp | Pure, not baking powder |
| Salt 🧂 | ½ tsp | Fine sea salt preferred |
| Cornstarch 🌾 | 1 tbsp | For tender texture |
The chocolate matters most—Hershey's bars are the star here, so grab the full-size ones, not those mini ones. Trader Joe's and Walmart usually have them in bulk, and they keep well for months in a cool pantry. For the pecans, raw and toasted make all the difference—skip the pre-chopped kind at the grocery store and do it yourself. The butter should be cold when you start mixing, or you'll end up with flat cookies. I always buy Land O'Lakes unsalted because it's reliable, but any good brand works.
No Hershey's bars? Semisweet chocolate chips in a pinch, but they won't give that same rich, melty center. Short on pecans? Walnuts or almonds work too, though they change the flavor slightly. The vanilla extract is non-negotiable—imitation will make the cookies taste off. For the sugars, I like light brown for that subtle molasses note, but white works just fine. If you're gluten-free, swap the flour for a 1:1 blend, but the texture won't be exactly the same. The cornstarch is worth it for that tender bite—don't skip it unless you're avoiding it for dietary reasons.
These cookies stay fresh for about 5 days in an airtight container, but honestly, they disappear faster than that. For gifting, I wrap them in parchment-lined boxes and tie with ribbon—they look fancy and stay fresh for 3 days that way. The dough can be chilled for up to 48 hours if you want to bake in batches. Just let it warm up a bit before scooping. If you make extras, freeze them on a tray first, then transfer to a bag—they won't stick together.
Why You'll Love This Recipe
- No-Chop Required: I swear by this one—just chop the chocolate bars into chunks, no fancy dice work needed. The dough comes together in minutes with a mixer (or even a fork if you're in a rush), and the butter-creaminess from the brown sugar keeps it forgiving.
- Melty Magic: That moment when the chocolate hits your tongue—warm, gooey, and just slightly crisp at the edges? It’s like biting into a classic milkshake in cookie form. The brown sugar caramelizes just enough to make every bite feel like a hug.
- Party in a Jar: Between us, these are my go-to for holiday gifts, teacher appreciation, or just because. They freeze beautifully, so I make a double batch and stash them for birthdays or when I need to impress someone fast. (Yes, even on a Tuesday night.)
- Pantry Staple Power: You already have everything—flour, sugar, butter, and chocolate bars. No weird ingredients, no last-minute store runs. And since they keep for weeks in an airtight container, I always have a backup when cravings strike. Budget-friendly? Absolutely.
Step-by-step instructions for Hershey Bar cookies
Let's make these decadent cookies with rich chocolate chunks and crunchy pecan tops—every bite will be worth the effort.
Prepare the Chocolate and Pecans
Start by chopping the 12 oz Hershey's Milk Chocolate Bars into ½-inch chunks—this ensures even distribution throughout the dough. Place them in a bowl and set aside. In a separate small bowl, toast the 1 cup Pecans in a dry skillet over medium heat for 3-4 minutes, stirring constantly until fragrant and lightly golden. Let them cool completely before chopping into coarse pieces. This toasting step adds incredible depth of flavor that you won't get with raw pecans.
While the pecans toast, measure out the 1 cup Granulated Sugar and 0.5 cup Packed Brown Sugar in a medium bowl. These sugars will create the perfect balance of sweetness and moisture in the cookies. The brown sugar adds that signature chewy texture we all love in fudgy cookies, while the granulated sugar helps with browning and crispness.
Cream Butter and Sugars
In a large mixing bowl, combine the 1 cup Unsalted Butter (cold, cubed) with the sugars. Using a hand mixer or stand mixer fitted with the paddle attachment, beat on medium speed for 3-4 minutes until the mixture is light and fluffy. You'll know it's ready when it nearly doubles in volume and leaves light ribbons when the beaters are lifted. This creaming process incorporates air, which helps create those beautiful crackly tops and tender crumb.
At this stage, add the 2 whole Large Eggs one at a time, mixing well after each addition. Then stir in the 1 tbsp Vanilla Extract until fully combined. The eggs add moisture and structure, while the vanilla enhances the chocolate flavor. Here's where it gets fun—taste the mixture. It should be sweet but not overly so, with just a hint of vanilla. If it needs more depth, this is your last chance to adjust before adding the dry ingredients.
Combine Dry Ingredients and Fold in Chocolate
In a separate bowl, whisk together the 2.5 cups All-Purpose Flour, 0.5 tsp Baking Soda, 0.5 tsp Salt, and 1 tbsp Cornstarch. Sift the mixture directly into the wet ingredients, then gently fold everything together using a spatula. Be careful not to overmix—just combine until no dry spots remain. The cornstarch helps create a tender texture, while the baking soda ensures proper rise. Overmixing develops gluten, which can make the cookies tough instead of chewy.
Now, fold in the chopped Hershey's Milk Chocolate Bars and toasted pecans using the spatula. Make sure they're evenly distributed throughout the dough. If the mixture seems too sticky, chill it for 15-20 minutes before proceeding. This step is crucial for maintaining the right texture—too much handling can turn the dough gummy, while proper chilling helps the cookies hold their shape.
Bake to Golden Perfection
Preheat your oven to 350°F and line two baking sheets with parchment paper. Scoop the dough into 1.5-tablespoon portions (about 1-inch balls) and place them 2 inches apart on the prepared sheets. Press a few extra pecan pieces on top of each cookie to create those beautiful crunchy crowns. The pecans should be evenly spaced to ensure even browning.
Bake for 10-12 minutes until the edges are golden brown but the centers still look slightly soft. They'll continue cooking on the hot pan after you remove them from the oven. Watch closely during the last 2 minutes—the chocolate should be melted but not overly runny. If they start to brown too quickly, rotate the baking sheets for even cooking. Let the cookies cool on the baking sheets for 5 minutes before transferring to a wire rack to set completely.
Pro Tips For Making Hershey Bar Cookie
- CHOP CHOCOLATE SMALL: I learned this the hard way—oversized chocolate chunks melt unevenly in the dough, leaving you with lumpy cookies. Pulse the bars in a food processor or chop them into tiny pea-sized pieces (about 1/4-inch). This ensures every bite has smooth, melty chocolate, not a surprise crunch.
- MELT BUTTER SLOW: Butter burns faster than you think, especially when you’re also melting chocolate. Melt the butter in a saucepan over medium-low heat, stirring constantly until it’s just liquid but not golden. Too-hot butter makes the cookies spread too much and taste off—like they’ve been cooked with oil instead of butter.
- WEIGH THE FLOUR: Scooping flour from the bag packs it too tightly, and your cookies will turn out dense. Use a kitchen scale for accuracy—this recipe needs about 2 1/4 cups (280g) of all-purpose flour. If you’re measuring by volume, spoon it into the cup and level it off; don’t tap the bowl or pack it down.
- CHILL THE DOUGH: Skipping the 30-minute fridge rest is a rookie move. The dough spreads like wildfire in the oven, and your cookies end up thin and crispy instead of chewy. Press the dough into a single disk, wrap it loosely, and let it rest—your future self will thank you when you pull out thick, gooey cookies.
Dietary considerations for this dish
Gluten-Free Adaptations
To make these cookies gluten-free, replace the 2.5 cups all-purpose flour with a 1:1 gluten-free flour blend like Bob's Red Mill 1-to-1 or King Arthur Measure for Measure. These blends mimic the texture of regular flour while maintaining the cookie's chewy structure.
I've tested both and found they work best when combined with 1 extra tablespoon of cornstarch to prevent crumbling. The cookies will be slightly denser but still delicious. 🌱
Dairy-Free Options
For a dairy-free version, swap the 1 cup unsalted butter for vegan butter like Miyoko's Creamery or Earth Balance. Use the same amount, but let it soften to room temperature before creaming. The chocolate chunks will still melt beautifully, though the texture might be slightly less tender.
For extra richness, add 1 tablespoon of coconut oil to the butter substitute. The vanilla extract remains dairy-free, so no adjustments are needed there.
Nut-Free Substitutions
Skip the pecans entirely or replace them with dried cranberries or white chocolate chips for a nut-free option. If using cranberries, toss them in 1 teaspoon of orange zest before adding to the dough for a festive twist.
For a crunchy alternative, sprinkle crushed pretzels on top before baking—they add a salty contrast that balances the sweetness. Always check labels to ensure no cross-contamination with nuts if allergies are a concern.
Lower-Sugar Versions
Reduce the sugar content by cutting the granulated sugar to 0.75 cup and the brown sugar to 0.375 cup. Replace the remaining 0.25 cup with monk fruit sweetener or erythritol (use a 1:1 ratio).
These alternatives won’t affect the cookie’s texture but will significantly cut the calories and glycemic impact. I’ve found that Lakanto Monk Fruit Sweetener works best—it blends seamlessly without leaving an aftertaste.
Vegan Adaptations
For a fully vegan version, combine the dairy-free butter substitution with flax eggs (replace the 2 eggs with 2 tablespoons ground flaxseed + 6 tablespoons water, mixed and rested for 5 minutes).
The chocolate and pecans remain the same, but the baking soda should be replaced with 1 teaspoon baking powder to ensure proper rise. These cookies will be slightly softer but equally satisfying. 💚
Allergen-Friendly Tips
If you're accommodating multiple allergies, double-check all ingredients for hidden traces. For example, some vanilla extracts contain dairy, so opt for a pure, alcohol-free vanilla extract like Annie’s. Always use separate utensils and bowls when handling allergens like nuts or dairy to avoid cross-contamination.
Label your cookies clearly if serving to others with dietary restrictions—it’s a thoughtful touch that shows care.
Nutrition facts
Frequently asked questions
Why do these cookies need two baking stages?
The two-stage baking process ensures perfect texture: first baking sets the dough shape while keeping centers soft, then the pecan crowns crisp beautifully. This prevents greasy centers while creating that signature crunchy top. The secret is baking just until edges are golden but centers still look slightly underdone.
Can I use chocolate chips instead of chopped Hershey bars?
Yes, but the flavor won't be quite the same. Chocolate chips melt more evenly, but chopped Hershey bars give that signature melty, fudgy center these cookies are known for. For best results, use 12 oz of semi-sweet chocolate chips and melt them into the dough after creaming the butter. The texture will be slightly different but still delicious.
How do I prevent the cookies from spreading too much?
Chill the dough for 15-20 minutes before baking to firm it up. Also, scoop the dough into 1.5-tablespoon portions and flatten them slightly before baking. Using cornstarch in the recipe helps too—it creates a tender crumb that resists spreading. If they still spread too much, your oven runs hot—reduce temperature to 340°F next time.
Can I make these cookies ahead of time?
The dough can be refrigerated for up to 48 hours, and baked cookies stay fresh for 5 days in an airtight container. For gifting, wrap them individually in parchment-lined boxes—they'll maintain freshness for 3 days while looking beautiful. The chocolate chunks stay melty when stored properly, so they're perfect for making ahead.
What's the best way to store leftover cookies?
Store in an airtight container at room temperature for up to 5 days. For longer storage, freeze them on a tray first (to prevent sticking), then transfer to a freezer bag. Thaw at room temperature—they'll taste just as fresh! The pecan crowns stay crispy when stored properly, and the chocolate remains perfectly melty.
