Food

How Long Do Bar Cookies Take to Bake?

By Hayride Live · Updated · 4 min read

Bar cookies typically take 20 to 30 minutes to bake at 350°F (175°C), depending on the thickness of your pan and the density of the batter. The most common mistake is pulling them out too early because they look set on top; bar cookies must be slightly soft in the center when you remove them from the oven, as they firm up significantly while cooling in the pan.

The exact time depends heavily on the type of dough you are using. A dense, heavy dough like a peanut butter or oatmeal bar will require more time than a light, airy shortbread or a cake-like lemon bar. If you are making a two-layer cookie where a topping is added after baking, the base layer usually takes about 15 to 20 minutes to set before you add the second layer.

Pick the Right Pan Size for Even Baking

The size of your baking pan determines how thick your batter will be, which directly changes the baking time. Most standard bar cookie recipes are designed for an 8×8 inch square pan or a 9×9 inch square pan. If you use a larger pan, such as a 9×13 inch rectangular pan, the batter will spread much thinner, causing the cookies to bake faster and potentially dry out if you follow the original recipe’s time exactly.

Conversely, if you double a recipe but keep it in a smaller pan, the layers become thicker. You will need to increase the baking time by roughly 5 to 10 minutes to ensure the center cooks through without burning the edges. Always grease your pan lightly or line it with parchment paper for easy removal once the bars have cooled completely.

Standard Pan Sizes and Adjustments

  • 8×8 inch pan: Standard thickness. Follow the recipe time of 20-30 minutes closely.
  • 9×9 inch pan: Slightly thinner. Check for doneness 2-3 minutes earlier than the recipe suggests.
  • 9×13 inch pan: Much thinner. Reduce baking time by 5-8 minutes to prevent over-baking.
  • Double batch in 9×13 pan: Thick batter. Increase baking time by 5-10 minutes.

Watch for the Visual Doneness Cues

Because ovens vary in accuracy, relying solely on the timer can lead to undercooked centers or burnt edges. Instead, watch for these specific visual cues that indicate the bars are ready to come out of the oven.

Golden Edges: Look at the perimeter of the pan. The edges should turn a light golden brown color. This indicates that the sugars have caramelized slightly and the structure has set around the outside.

Slight Jiggle: Gently shake the pan. The center should still have a slight jiggle to it. It should not look liquid or raw, but it should not be perfectly rigid either. The residual heat in the pan will continue to cook the center as the bars cool, solidifying the texture.

Toothpick Test: For denser bars like blondies or fruit-filled bars, insert a toothpick into the center. It should come out with a few moist crumbs attached, but not wet batter. If the toothpick comes out clean, the bars might be overbaked and could turn out dry.

Handle Cooling Correctly to Prevent Crumbling

One of the biggest challenges with bar cookies is cutting them cleanly. If you try to cut them while they are still warm, they will likely crumble or stick to the knife. You must let them cool completely in the pan on a wire rack.

For best results, allow the bars to cool for at least one hour. This gives the fats (butter or oil) and sugars enough time to re-solidify and lock the structure together. Once fully cooled, run a sharp knife around the edges to loosen them, then lift them out using the parchment paper liner if you used one. Cut into squares or rectangles only after removing them from the pan.

Storage and Safety Guidelines

Proper storage keeps your bar cookies fresh and safe to eat. Because most bar cookies contain butter and eggs, they are perishable items that require careful handling.

Room Temperature: Store baked and completely cooled bars in an airtight container at room temperature for up to 3 days. Keep them away from direct sunlight or heat sources.

Refrigeration: If your bars have a cream cheese frosting, fresh fruit filling, or dairy-based glaze, refrigerate them immediately. They will last for up to 5 days in the fridge. Let them sit at room temperature for 15 minutes before eating to soften the texture.

Freezing: You can freeze baked bar cookies for up to 3 months. Wrap individual bars or the whole slab tightly in plastic wrap and then in aluminum foil or a freezer-safe bag. Thaw overnight in the refrigerator or at room temperature for a few hours.

Safety Note: Never leave baked goods containing eggs or dairy out at room temperature for more than 2 hours. If the ambient temperature is above 90°F (32°C), reduce this time to 1 hour to prevent bacterial growth.

Why Are My Bar Cookies Dry?

Dryness usually results from overbaking. If your bars came out of the oven looking fully set and rigid, you likely left them in too long. Remember that carryover cooking happens; the bars will finish setting as they cool. Pull them out when they are just barely set in the middle.

Can I Use a Different Oven Temperature?

Most bar cookie recipes call for 350°F (175°C). If you bake at a higher temperature, the edges may burn before the center is done. If you bake at a lower temperature, the bars may spread too much and become greasy. Stick to the recommended temperature for the best texture.

How Do I Know If the Center Is Raw?

If the center looks pale and shiny, or if a toothpick comes out with wet, sticky batter, the bars need more time. Add 2-3 minutes to the baking time and check again. Undercooked centers can be soggy and difficult to cut.

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