Bar Cookie Examples: 12 Types and How They Bake
In this article
Bar cookies are baked in a single pan and cut into squares or rectangles after cooling; common examples include brownies, blondies, lemon bars, seven-layer bars, peanut butter bars, and raspberry oat crumble bars. The category is defined by the pan method, not the flavor, so almost any soft dough or batter that sets firm enough to slice qualifies. Below are the main families, the pan sizes and bake times that go with them, and the doneness cues that separate a clean cut from a crumbled mess.
What Counts as a Bar Cookie
A bar cookie is any sweet baked in a rectangular pan and portioned by cutting rather than scooping. The dough or batter is spread or pressed into the pan, baked as one slab, cooled, and sliced into 16 to 24 pieces from a 9-by-13-inch pan or 9 to 12 pieces from an 8-inch square pan. The defining trait is structure: the finished slab must hold a cut edge. That is why brownie batter is spread, shortbread is pressed, and crumb toppings are layered rather than stirred in.
Two sub-methods produce most examples. Spread bars use a pourable batter (brownies, lemon bars, pumpkin bars) and rely on eggs, starch, or a high fat-to-flour ratio to set. Pressed bars use a stiff dough or crumb mixture (shortbread, jam bars, pecan bars) that is packed into the pan and holds its shape without a leavener. If a recipe calls for a springform pan or a muffin tin, it is not a bar cookie.
Brownies and Blondies: The Chocolate and Vanilla Base
Brownies are the most recognizable bar cookie: melted chocolate or cocoa, butter, sugar, eggs, and a small amount of flour, baked in a 9-by-13-inch pan at 350°F (175°C) for 25 to 35 minutes. Fudgy brownies use more butter and less flour; cakey brownies add baking powder and extra flour. A toothpick inserted 2 inches from the edge should come out with moist crumbs, not wet batter, and the center should register 200°F to 205°F (93°C to 96°C) on an instant-read thermometer for a fudgy texture.
Blondies swap cocoa for brown sugar and vanilla, giving a butterscotch flavor with the same pan method. They brown faster than brownies because there is no dark cocoa to hide browning, so check at 22 minutes in a dark metal pan. Both benefit from lining the pan with parchment overhanging two sides, which lets you lift the slab out and cut straight lines.
Citrus and Custard Bars: Lemon, Lime, and Key Lime
Lemon bars are a two-part bar: a shortbread crust pressed into an 8-inch square pan and baked at 350°F (175°C) for 20 minutes, then a cooked lemon custard poured over the hot crust and baked another 18 to 22 minutes. The filling sets when it reaches 170°F (77°C) and no longer sloshes when the pan is nudged. Lime bars and key lime bars follow the same ratio: about 1/2 cup citrus juice and 1 tablespoon zest per 1 cup of sugar, with 3 to 4 eggs and 2 to 3 tablespoons of flour for structure.
These bars must cool completely at room temperature, then chill at least 2 hours before cutting, or the custard will smear. Dust with powdered sugar just before serving; sugar applied too early dissolves into the surface.
Layered and Crumb Bars: Seven-Layer, Jam, and Oat
Seven-layer bars (also called magic bars) are built in a 9-by-13-inch pan: melted butter, graham cracker crumbs, chocolate chips, butterscotch chips, shredded coconut, chopped nuts, and sweetened condensed milk, baked at 350°F (175°C) for 25 to 30 minutes until the coconut is golden. The condensed milk is the binder; without it the layers fall apart when cut.
Jam crumb bars use a 3:2:1 crumb ratio by volume of flour, butter, and sugar, with half the mixture pressed into the pan, a thin layer of jam spread over it (about 1 cup per 9-by-13-inch pan), and the rest crumbled on top. Bake at 375°F (190°C) for 30 to 35 minutes. Raspberry, apricot, and fig jams with a firm set work best; runny preserves soak the bottom crust.
Nut and Caramel Bars: Pecan, Turtle, and Peanut Butter
Pecan bars press a shortbread crust into a 9-by-13-inch pan, bake it 15 minutes at 350°F (175°C), then pour over a caramel-egg mixture and return to the oven for 25 to 30 minutes. The filling is done at 200°F (93°C) and should jiggle only slightly in the center. Turtle bars add chocolate and caramel drizzle after baking, not before, so the chocolate does not burn.
Peanut butter bars usually combine a graham cracker or cookie crumb base with a peanut butter and powdered sugar filling, topped with melted chocolate. No baking is required for the filling; the base may be baked 10 minutes at 350°F (175°C) or simply chilled. These are among the fastest bar cookies to make because the stovetop or microwave does most of the work.
Pan Sizes, Yields, and Cutting
Pan size changes both bake time and yield, so match the pan the recipe names or adjust the time. A 9-by-13-inch pan holds about 12 cups of batter and yields 24 two-inch squares; an 8-inch square pan holds about 6 cups and yields 16 two-inch squares. A glass pan bakes faster and browns more on the bottom, so lower the oven temperature by 25°F (15°C) and check 5 minutes early.
| Bar type | Pan size | Oven temperature | Bake time | Doneness cue |
|---|---|---|---|---|
| Fudgy brownies | 9×13 in | 350°F / 175°C | 25–30 min | 200–205°F center, moist crumbs |
| Blondies | 9×13 in | 350°F / 175°C | 22–28 min | Set edges, soft center |
| Lemon bars | 8×8 in | 350°F / 175°C | 20 min crust + 18–22 min filling | Filling reaches 170°F / 77°C |
| Seven-layer bars | 9×13 in | 350°F / 175°C | 25–30 min | Coconut golden, edges pull from pan |
| Jam crumb bars | 9×13 in | 375°F / 190°C | 30–35 min | Topping browned, jam bubbles at edges |
| Pecan bars | 9×13 in | 350°F / 175°C | 15 min crust + 25–30 min filling | Filling 200°F / 93°C, slight jiggle |
Cut bars with a long, thin knife wiped clean between passes, or use a bench scraper for straight edges. Chill the slab 1 to 2 hours first; room-temperature bars compress under the knife and tear. For very sticky tops, dip the knife in hot water and dry it before each cut.
Storage and Make-Ahead Timing
Most bar cookies keep 3 to 4 days in an airtight container at room temperature, layered with parchment between rows. Custard-based bars such as lemon bars should be refrigerated and eaten within 3 days; nut and caramel bars keep up to 1 week refrigerated. For freezing, cut the cooled slab into squares, wrap individually or layer in a freezer container with parchment, and freeze up to 3 months. Thaw at room temperature for 1 to 2 hours before serving.
Bar cookies are also the best choice for shipping and potlucks because they travel as a slab and can be cut on site. Bake them the day before, cool completely, and store the uncut slab covered at room temperature overnight; cut just before serving so the edges stay sharp. If a recipe includes a cream cheese or custard layer, keep the slab refrigerated during transport and do not leave it out more than 2 hours.