I wanted these Chocolate Peanut Butter Sandwich Cookies to have a generous layer of peanut butter filling, so I had to adjust the consistency a little to make it thick enough to stay between the cookies but still easy to spread. The soft chocolate cookies and creamy, slightly salty filling turned out to be such a good combination. They’re rich, delicious, and perfect when you’re craving something chocolatey.
If you enjoy baking cookies at home, you might also like my Easy Chocolate Chip Cookies, especially if you’re in the mood for a classic cookie.

Ingredients You’ll Need for These Cookies
Start with 1½ cups powdered sugar and add more gradually if the filling feels too soft. Only add the whipping cream or milk if the mixture is too thick to spread. Add it a teaspoon at a time rather than pouring in the full amount.
Chocolate Cookies
- 2¼ cups (281g) all-purpose flour
- ¾ cup (60g) unsweetened cocoa powder
- 2 teaspoons cornstarch
- 1 teaspoon baking soda
- ½ teaspoon salt
- 1 cup (226g) unsalted butter, softened
- 1 cup (210g) packed brown sugar
- 1 cup (200g) granulated sugar
- 2 teaspoons vanilla extract
- 2 large eggs
- 1½ cups (270g) dark or semi-sweet chocolate chips
Peanut Butter Filling
- ¾ cup (168g) unsalted butter, softened
- ¾ cup (195g) smooth peanut butter
- 1½–2 cups (165–220g) powdered sugar
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- 2–3 tablespoons whipping cream or milk, if needed

1. Mix the Dry Ingredients
For a rich chocolate flavor in every bite, make sure the cocoa is evenly mixed with the flour.
- Add 2¼ cups flour, ¾ cup cocoa powder, 2 teaspoons cornstarch, 1 teaspoon baking soda, and ½ teaspoon salt to a medium bowl.
- Whisk for about 30 seconds until the mixture looks even.
- Break up any cocoa lumps with your whisk or sift the mixture if needed.
Set the bowl aside. Mixing these ingredients first helps the cookies bake evenly without pockets of cocoa or baking soda.
2. Cream the Butter and Sugar
TIME: 2–3 MINUTES
Place the softened butter, brown sugar, and granulated sugar in a large mixing bowl. Beat with a hand mixer or stand mixer on medium speed for 2–3 minutes, stopping once or twice to scrape down the sides of the bowl.
The mixture should look lighter in color and fluffy, with no large lumps of butter. Proper creaming adds air to the dough, helping the cookies develop a soft texture. Make sure your butter is softened but not melted; melted butter can make the cookies spread too much.
3. Make the Cookie Dough
Add the vanilla extract, then beat in the eggs one at a time, mixing well after each addition. Scrape down the sides of the bowl to make sure everything is evenly combined.
Gradually add the dry ingredients, mixing on low speed just until no streaks of flour remain. Fold in the chocolate chips with a spatula, making sure they’re evenly distributed throughout the dough. Avoid overmixing, as this can make the cookies tough.
Chill the dough:
Cover the bowl and refrigerate for at least 2 hours. Chilling helps firm up the butter, making the dough easier to scoop and helping the cookies hold their shape during baking.
If you enjoy rich chocolate cookies, you can also try my Double Chocolate Chip Cookies for another chocolate-filled treat.

4. Bake the Cookies
First, preheat your oven to 350°F (177°C). Line your baking sheets with parchment paper so the cookies release easily after baking.
- Scoop the chilled dough into 1½-tablespoon portions.
- Arrange them on the prepared baking sheets, leaving about 2 inches between each cookie to allow room for spreading.
- Bake for 9–10 minutes.
- The edges should look set, while the centers may still appear slightly soft. That’s okay; they’ll continue setting as they cool.
Leave the cookies on the baking sheet for 5 minutes, then transfer them to a wire rack. Let them cool completely before adding the peanut butter filling. If the centers look a little under baked when you take them out, resist the urge to bake them longer, or they may turn out dry.
5. Prepare the Peanut Butter Filling
While the chocolate cookies cool, prepare the peanut butter filling. It should be creamy enough to spread but thick enough to hold its shape between the cookies.
- Beat the butter and peanut butter: Add the softened butter and smooth peanut butter to a large mixing bowl. Beat on medium speed until smooth and creamy.
- Add the powdered sugar: Mix in 1½ cups powdered sugar, vanilla extract, and salt. Start on low speed, then increase to medium until everything is combined.
- Adjust the consistency: If the filling feels too soft, gradually add more powdered sugar, up to the listed 2 cups. If it’s too thick to spread, add whipping cream or milk a teaspoon at a time until you reach the desired consistency.
Check the consistency:
The filling should be thick enough to hold its shape on a spoon while remaining soft enough to spread easily over the cookies. If it feels too soft, refrigerate it briefly before assembling the cookies.
If you’re a fan of peanut butter desserts, my Peanut Butter Cookies are another recipe worth trying.

6. Assemble the Sandwich Cookies
Now comes the fun part! Make sure the chocolate cookies are completely cool before adding the filling. Warm cookies can soften the peanut butter mixture and make it squeeze out when you sandwich them together.
- Arrange half of the cooled cookies on a clean work surface, with the flat sides facing up.
- Spread about 1–2 tablespoons of peanut butter filling over the flat side of each cookie. Leave a little space around the edges so the filling doesn’t spill out.
- Place the remaining cookies on top, flat side down, and gently press until the filling reaches the edges.
Let the assembled cookies sit for a few minutes so the filling settles. They’re now ready to serve! Store any leftovers in an airtight container to keep the cookies soft and the filling fresh.
For another chocolate sandwich cookie idea, take a look at my Chocolate Sandwich Cookies.
Frequently Asked Question
Can I make Chocolate Peanut Butter Sandwich Cookies ahead of time?
Yes. You can prepare the cookie dough up to 3 days in advance and keep it covered in the refrigerator. You can also bake the cookies a day ahead and assemble them with the peanut butter filling before serving.
Why did my chocolate cookies spread too much?
This usually happens when the dough isn’t chilled long enough or the butter is too soft. Refrigerating the dough for at least 2 hours helps the cookies hold their shape and bake up thick and chewy.
What is the best peanut butter for the filling?
Smooth, shelf-stable peanut butter works best because it creates a creamy, stable filling. Natural peanut butter tends to separate, which can make the filling oily and difficult to spread.
Can I freeze Chocolate Peanut Butter Sandwich Cookies?
Yes. Once assembled, place the cookies in a freezer-safe container and freeze for up to 3 months. Thaw them at room temperature for about 30 minutes before serving.
How do I keep the peanut butter filling from being too soft?
If the filling feels too soft, refrigerate it for 15–20 minutes before assembling the cookies. If needed, mix in a little more powdered sugar until it reaches a thicker consistency.
Can I use this chocolate cookie recipe without the filling?
Absolutely. These soft chocolate cookies taste delicious on their own or with a simple dusting of powdered sugar. You can also use them as a base for ice cream sandwiches or other homemade desserts.
Final Thoughts
If you love the classic combination of chocolate and peanut butter, these Chocolate Peanut Butter Sandwich Cookies are a recipe worth keeping on hand. They’re soft, rich, filled with a creamy peanut butter center, and easy enough to make for any occasion. Whether you’re baking for the holidays, sharing with friends, or treating yourself to a homemade dessert, these cookies are sure to disappear quickly. Give them a try, and don’t forget to leave a comment and rating to let me know how they turned out!

Chocolate Peanut Butter Sandwich Cookies
Ingredients
Chocolate Cookies
- 2¼ cups 281g all-purpose flour
- ¾ cup 60g unsweetened cocoa powder
- 2 teaspoons cornstarch
- 1 teaspoon baking soda
- ½ teaspoon salt
- 1 cup 226g unsalted butter, softened
- 1 cup 210g packed brown sugar
- 1 cup 200g granulated sugar
- 2 teaspoons vanilla extract
- 2 large eggs
- 1½ cups 270g dark or semi-sweet chocolate chips
Peanut Butter Filling
- ¾ cup 168g unsalted butter, softened
- ¾ cup 195g smooth peanut butter
- 1½ –2 cups 165–220g powdered sugar
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- 2 –3 tablespoons whipping cream or milk if needed
Instructions
- Whisk together the flour, cocoa powder, cornstarch, baking soda, and salt in a medium bowl.
- Beat the softened butter, brown sugar, and granulated sugar until light and fluffy, about 2–3 minutes.
- Add the vanilla extract and eggs, mixing well after each addition.
- Gradually mix the dry ingredients into the wet ingredients until just combined, then fold in the chocolate chips.
- Cover and chill the dough for at least 2 hours.
- Preheat the oven to 350°F (177°C). Scoop 1½-tablespoon portions onto parchment-lined baking sheets, spacing them 2 inches apart.
- Bake for 9–10 minutes. Cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.
- Beat the butter and peanut butter until smooth. Mix in the powdered sugar, vanilla, and salt. Add whipping cream or milk if needed until the filling is smooth and spreadable.
- Spread about 1–2 tablespoons of filling onto half of the cookies and top with the remaining cookies to create sandwich cookies.




