Food

How Long to Bake Cookie Bars

By Hayride Live · Updated · 3 min read

Most cookie bars bake in 20 to 30 minutes at 350°F (175°C), until the edges are firm and the center looks set but still soft. The single biggest mistake is overbaking them because the center does not look as firm as a fully baked cookie; they continue to firm up as they cool in the pan.

A 9×13-inch (23×33 cm) pan is the standard for most bar cookie recipes, producing a thickness of about 1 to 1.5 inches (2.5 to 4 cm). A smaller, thicker pan requires a longer bake time, while a larger, thinner pan bakes faster and risks drying out the edges before the center is done.

Baking Time by Pan Size and Style

The bake time depends almost entirely on the depth of the batter in the pan. A thin layer bakes in 15 to 20 minutes, while a deep-dish bar can take up to 35 minutes. The oven temperature stays the same for most recipes, but the time must adjust to the thickness.

Pan Size Estimated Thickness Bake Time at 350°F (175°C)
9×13 inch (23×33 cm) Standard (about 1 inch / 2.5 cm) 22–28 minutes
8×8 inch or 9×9 inch (20×20 or 23×23 cm) Thick (about 1.5 inches / 4 cm) 28–35 minutes
Jelly roll pan (15×10 inch / 38×25 cm) Thin (about 0.5 inch / 1.25 cm) 15–20 minutes

These times are guidelines; the visual cue of set edges is the most reliable indicator of doneness. If the edges are browning too quickly but the center is still raw, tent a piece of aluminum foil loosely over the top for the last 10 minutes of baking.

Visual Cues for Doneness

Relying on a timer alone leads to dry bars, because ovens vary in calibration and batter temperatures differ. The edges should appear matte, firm, and slightly pulled away from the sides of the pan. The center should look dull rather than shiny, but it should still have a slight wobble when you gently shake the pan; it should not ripple like liquid.

A toothpick test works differently for bars than for cakes. Insert a wooden toothpick into the center; it should come out with a few moist crumbs attached, not wet batter. If it comes out completely clean, the bars are likely overbaked and will be dry once cooled. For very fudgy brownie-style bars, the toothpick should come out with some wet crumbs, as they set up significantly during cooling.

Cooling and Cutting Times

Cookie bars must cool completely in the pan before cutting, which takes about 1 to 2 hours at room temperature. Cutting them while warm causes the structure to crumble and the squares to lose their shape. The starches and fats need time to re-solidify to hold the clean lines.

To speed up cooling without ruining the texture, place the whole pan on a wire rack after the first 20 minutes of cooling on the counter. Do not put the pan directly into the refrigerator or freezer to set it faster, as this can cause the edges to become soggy from condensation. Once fully cooled to room temperature, you can lift the bars out using the parchment overhang and cut them with a sharp knife, wiping the blade clean between each slice.

Storage Limits for Baked Bars

Store cooled cookie bars in an airtight container at room temperature for up to 1 week, placing parchment or wax paper between layers to prevent sticking. If the bars contain cream cheese, custard, or fruit filling, they must be stored in the refrigerator and are best eaten within 3 to 4 days.

For longer storage, wrap individual bars tightly in plastic wrap and place them in a freezer bag or airtight container for up to 3 months. Thaw them at room temperature for about 30 minutes before serving. Do not store bars with fresh fruit or high-moisture fillings at room temperature, as they can develop mold quickly.

Adjusting Recipes for Different Pans

If a recipe calls for a 9×13-inch (23×33 cm) pan and you only have an 8×8-inch (20×20 cm) pan, the batter will be deeper, and you must increase the bake time. Expect to add 5 to 10 minutes to the total time and check for the visual cues rather than relying on the original timer. The reverse is also true: moving from a smaller pan to a larger one reduces the bake time by about 5 minutes.

Do not increase the oven temperature to compensate for a thicker batter, as this will burn the edges before the center cooks. Keep the temperature at 350°F (175°C) and extend the time, checking every 2 minutes after the original recipe’s stated minimum time.

Spotted a mistake? Tell us and we will correct it. How we write and check articles.