Chocolate cake mix bar cookies are a shortcut dessert made from a box of chocolate cake mix, eggs, oil, and a few add-ins, baked in a pan and cut into squares. The key detail most people get wrong is adding too much liquid: a cake mix needs only 2 eggs and 1/3 cup of oil (not the 3 eggs and 1 cup of water the box calls for) to form a thick, chewy dough instead of a thin batter. This makes them sturdy enough to hold chocolate chips, nuts, or caramel without spreading into a flat mess.
What Ingredients Do I Need?
You likely have everything already. The base is one standard 15.25-ounce (432 g) box of chocolate cake mix, 2 large eggs, and 1/3 cup (80 ml) vegetable or canola oil. That’s the whole dough. From there, add 1 cup (175 g) of chocolate chips, or 1/2 cup (60 g) of chopped walnuts or pecans, or 1/2 cup (120 ml) of caramel sauce drizzled on top before baking. All of these work because the dough is thick enough to hold them.
If you want a richer flavor, use melted butter instead of oil—use the same 1/3 cup (80 g) and expect a slightly firmer, more buttery cookie. You can also swap the chocolate cake mix for devil’s food or German chocolate; both work the same way, though German chocolate gives a milder cocoa taste.
How Do I Make the Dough?
Preheat your oven to 350°F (175°C). Grease a 9×13-inch (23×33 cm) baking pan or line it with parchment paper. In a large bowl, stir the cake mix, eggs, and oil together with a spatula or wooden spoon until a soft, thick dough forms—about 1 minute. It will look like a stiff cookie dough, not a batter. If it seems too crumbly, add 1 tablespoon of milk at a time until it comes together, but don’t overmix or the bars will be tough.
Fold in your chosen add-ins—chocolate chips, nuts, or both. Press the dough evenly into the prepared pan. Use your hands or the back of a spatula; it will be thick and slightly sticky. If you’re adding caramel, drizzle it over the top after pressing the dough, then use a knife to swirl it gently into the surface.
How Long Do They Bake?
Bake at 350°F (175°C) for 20–25 minutes, until the edges are set and the top looks dry and slightly cracked. A toothpick inserted into the center should come out with a few moist crumbs, not wet batter. The center will still look soft when you pull them out; that’s fine—they firm up as they cool. Overbaking makes them dry and crumbly, so start checking at 18 minutes if your oven runs hot.
Let the bars cool in the pan on a wire rack for at least 30 minutes before cutting. If you cut them while hot, they’ll fall apart. For clean squares, chill the pan in the fridge for 15 minutes after cooling, then cut with a sharp knife.
Why Did My Bars Turn Out Dry or Too Cakey?
The most common issue is using the full cake-mix liquid amounts. If you add the 3 eggs and 1 cup of water from the box, you get a thin batter that bakes into a cake-like layer, not a chewy bar. Stick to 2 eggs and 1/3 cup oil. Another reason for dryness is overbaking—remove them as soon as the edges pull away from the pan and the center no longer looks wet.
If your bars came out too cakey anyway, you can still enjoy them as a soft sheet cake. If they’re dry, serve them warm with a scoop of ice cream or a drizzle of milk. For next time, reduce the bake time by 2–3 minutes and check earlier.
Can I Make Them in a Different Pan Size?
Yes, but the bake time changes. In a 9×9-inch (23×23 cm) square pan, the dough is thicker, so bake for 28–32 minutes. In a 9×13-inch (23×33 cm) pan, 20–25 minutes is right. If you use an 8×8-inch (20×20 cm) pan, bake for 30–35 minutes and expect very thick bars—you may need to press the dough thinner with your hands. Always check with a toothpick and look for the same doneness cues: edges set, top dry, center just barely firm.
You can also make these as drop cookies instead of bars. Scoop rounded tablespoons of dough onto a parchment-lined baking sheet, spacing them 2 inches (5 cm) apart, and bake for 10–12 minutes. They won’t spread much, so flatten them slightly with your palm before baking.
How Should I Store Them?
Store baked bars in an airtight container at room temperature for up to 4 days. They stay soft and chewy; if you stack them, put a sheet of wax paper between layers to keep them from sticking. For longer storage, freeze the cooled, cut bars in a single layer in a freezer-safe bag or container for up to 3 months. Thaw at room temperature for about 30 minutes, or warm each bar in the microwave for 10–15 seconds.
If you added caramel, keep them in the fridge if your kitchen is warm, because the caramel can soften and make the bars sticky. Refrigerated bars keep for about 5 days; let them come to room temperature before serving so they’re not hard.
Can I Add Peanut Butter or Other Mix-Ins?
Absolutely. Peanut butter is a great addition: mix 1/2 cup (130 g) of creamy peanut butter into the dough along with the eggs and oil. It will make the bars denser and richer, and you may need to add 1–2 tablespoons of milk to keep the dough workable. Other good options: 1/2 cup (85 g) of white chocolate chips, 1/2 cup (50 g) of toffee bits, or 1/2 cup (60 g) of dried cherries. For a mint version, add 1/2 teaspoon of peppermint extract and 1 cup of chocolate chips (the mint flavor will be subtle, so add more to taste).
If you want a salted caramel flavor, sprinkle 1/2 teaspoon of flaky sea salt over the top before baking. The salt balances the sweetness and adds a crunchy texture. Avoid adding too many wet ingredients like fruit puree or extra oil—they’ll turn the dough into batter and the bars won’t hold together.
Why Do I Need to Use a Cake Mix Instead of From Scratch?
Using a cake mix is the whole point of this recipe: it saves time and gives a consistent, soft texture without measuring flour, sugar, cocoa, and leavening. The mix already has the right balance of dry ingredients, so you only add eggs and oil. If you prefer from scratch, you can use a simple chocolate cookie dough base, but that takes longer and requires more ingredients. For a quick dessert that tastes like a cross between a brownie and a cookie, the cake mix shortcut is hard to beat.
One note: check the cake mix box for its size. Most are 15.25 ounces (432 g), but some are 13.25 ounces (375 g). If yours is smaller, reduce the eggs to 1 and the oil to 1/4 cup (60 ml) to keep the dough thick. If it’s larger (some are 18 ounces), use 3 eggs and 1/2 cup (120 ml) oil.
What Do I Do If the Dough Is Too Sticky to Press?
If the dough sticks to your hands, lightly oil your palms or dust them with a little powdered sugar. You can also press the dough into the pan using a piece of plastic wrap or parchment paper on top to keep it from sticking. If the dough is too dry and crumbly, add milk 1 tablespoon at a time until it clumps together. It should be soft but not wet—like a play-dough consistency. Once it’s pressed evenly, the bars will bake up evenly.
If you’re adding chips or nuts, fold them in gently; overworking the dough makes the bars tough. Also, don’t press the dough too firmly—just enough to fill the pan evenly. A light touch keeps them tender.
Can I Make These Ahead of Time?
Yes, they’re a great make-ahead dessert. Bake them up to 2 days ahead and keep them in an airtight container at room temperature. For a party, cut them into squares and arrange on a platter; they hold their shape well. You can also freeze the unbaked dough: press it into the pan, cover with plastic wrap, and freeze for up to 3 months. When ready to bake, thaw in the fridge overnight, then bake as directed, adding 5–7 minutes to the time because the dough is cold.
If you’re serving them at a potluck or picnic, they travel well—no frosting to melt or crumble. Just stack them in a container with paper towels between layers to absorb any extra moisture.
What’s the Best Way to Cut Them Cleanly?
Let the bars cool completely, then refrigerate for 15–20 minutes. Use a sharp chef’s knife and wipe it clean between cuts. For 24 bars, cut the 9×13-inch pan into 6 rows by 4 columns. For 16 bars, cut into 4 by 4. If you want smaller bite-size squares, cut into 8 by 6 for 48 pieces—great for a dessert table. Warm bars will crumble, so patience is key. If you’re in a hurry, use a plastic knife; it cuts through without dragging the dough.
For perfectly even edges, trim the outer 1/2 inch (1 cm) off each side before cutting—those edges are often darker and drier. But honestly, most people like the edges best, so you can leave them.
Spotted a mistake? Tell us and we will correct it. How we write and check articles.