Frosted sugar cookie bars are a soft, chewy vanilla cookie baked in one pan and topped with a simple buttercream, giving you the flavor of a decorated sugar cookie without rolling or cutting individual shapes. The texture depends on two things: a dough with more fat and less flour than a cutout cookie, and a short bake that stops while the center is still just set. They suit a potluck, a bake sale, a lunchbox treat, or a holiday tray where you want the look of frosted cookies with far less work.
What Makes Sugar Cookie Bars Soft Instead of Dry?
The ratio that matters is fat to flour. This recipe uses 1 cup (227 g) butter to 2¾ cups (330 g) all-purpose flour, plus 1 large egg and 2 tablespoons (30 ml) milk. That is more butter and liquid than a rolled cookie dough, which is what keeps the bars tender. The dough will look soft and slightly sticky; that is correct. If you add extra flour to make it easier to handle, the baked bars turn dry and crumbly. Use a light hand when measuring flour: spoon it into the cup and level it off rather than scooping directly from the bag, which can pack in 20 to 30 g extra per cup.
Bake at 350°F (175°C) for 22 to 25 minutes, until the edges are light golden and the center looks just set but still pale. A toothpick inserted in the center should come out with a few moist crumbs, not clean. The bars continue to set as they cool in the pan. Overbaking by even 3 to 4 minutes is the most common reason they come out dry.
Ingredients for Frosted Sugar Cookie Bars
For the bars
- 1 cup (227 g) unsalted butter, softened
- 1¼ cups (250 g) granulated sugar
- 1 large egg, room temperature
- 2 teaspoons (10 ml) vanilla extract
- ½ teaspoon (3 g) salt
- ½ teaspoon (2 g) baking powder
- 2¾ cups (330 g) all-purpose flour
- 2 tablespoons (30 ml) whole milk
For the frosting
- ½ cup (113 g) unsalted butter, softened
- 2 cups (240 g) powdered sugar
- 2 tablespoons (30 ml) whole milk, plus more as needed
- 1 teaspoon (5 ml) vanilla extract
- Pinch of salt
- Gel food coloring, optional
- Sprinkles, optional
How Do You Make Frosted Sugar Cookie Bars Step by Step?
- Heat the oven to 350°F (175°C). Line a 9×13-inch (23×33 cm) baking pan with parchment paper, leaving an overhang on two sides, or grease the pan lightly.
- In a large bowl, beat 1 cup (227 g) softened butter and 1¼ cups (250 g) granulated sugar with an electric mixer on medium speed for 2 to 3 minutes, until lightened in color.
- Beat in the egg, 2 teaspoons (10 ml) vanilla, and ½ teaspoon (3 g) salt until combined, scraping the bowl once.
- In a separate bowl, whisk 2¾ cups (330 g) flour and ½ teaspoon (2 g) baking powder.
- Add the flour mixture to the butter mixture in two additions, alternating with 2 tablespoons (30 ml) milk, mixing on low speed just until no dry streaks remain. Do not overmix.
- Scrape the dough into the prepared pan. Press it into an even layer with a spatula or lightly floured hands. The dough is soft, so work gently.
- Bake at 350°F (175°C) for 22 to 25 minutes, until the edges are light golden and the center is just set. A toothpick in the center should come out with a few moist crumbs.
- Cool completely in the pan on a wire rack, about 45 minutes. Do not frost while warm or the buttercream will melt and slide.
- For the frosting, beat ½ cup (113 g) softened butter with 2 cups (240 g) powdered sugar, 2 tablespoons (30 ml) milk, 1 teaspoon (5 ml) vanilla, and a pinch of salt on low speed until combined, then on medium speed for 1 to 2 minutes, until fluffy. Add more milk 1 teaspoon at a time if it is too thick to spread; add more powdered sugar 1 tablespoon at a time if it is too thin.
- Spread the frosting over the cooled bars. Add gel coloring to the frosting before spreading if you like, and scatter sprinkles on top while the frosting is still tacky.
- Lift the bars out using the parchment overhang and cut into 24 squares with a sharp knife, wiping the blade between cuts for clean edges.
Why Did My Sugar Cookie Bars Come Out Dry, Dense, or Runny?
Dry or crumbly bars
Too much flour or too long in the oven. Measure flour by spooning it into the cup and leveling it, and pull the pan when the center is just set, even if it looks slightly underdone. If the bars are already dry, brush the top with 1 to 2 tablespoons (15 to 30 ml) milk while still warm, then frost once cool; the milk softens the crumb slightly.
Dense or tough bars
Overmixing after the flour goes in develops gluten. Mix on low speed only until the flour disappears. Butter that is too warm also makes the dough greasy and the baked bar dense; softened butter should hold a slight indentation when pressed but not look melted.
Frosting too runny or too stiff
Buttercream is a balance of fat, sugar, and liquid. If it slides, chill the bowl for 10 minutes and beat in 1 tablespoon (8 g) powdered sugar at a time. If it tears the surface of the bars when spreading, it is too stiff; beat in milk 1 teaspoon at a time. Frost the bars only when they are completely cool.
Bars sticking to the pan
Use parchment with an overhang, or grease the pan and line the bottom with a rectangle of parchment. Let the bars cool fully before lifting; warm bars break at the edges.
How Do You Serve and Store Frosted Sugar Cookie Bars?
Cut into 24 squares, these bars fit a 9×13-inch pan and serve a crowd. They go well on a cookout table next to fruit salad, on a holiday cookie tray, or in lunchboxes. For a two-tone look, tint half the frosting and spread it in swirls with a butter knife. A few drops of almond extract (¼ teaspoon, 1 ml) in the frosting gives a flavor close to bakery sugar cookies; add it in place of some of the vanilla, not alongside it, so the flavor stays balanced.
Store frosted bars in an airtight container in the refrigerator for up to 4 days. Let them sit at room temperature for 15 to 20 minutes before serving so the frosting softens. Unfrosted bars keep at room temperature for 2 days or in the refrigerator for 4 days. To freeze, wrap unfrosted bars tightly and freeze for up to 3 months; thaw in the refrigerator overnight, then frost. Frosted bars freeze for up to 2 months, but the frosting may weep slightly on thaw; blot it with a paper towel. Discard any bars left out at room temperature for more than 2 hours.
What Can You Swap in Frosted Sugar Cookie Bars?
For a dairy-free version, replace the butter with 1 cup (227 g) plant-based butter sticks and the milk with oat or soy milk; the bars spread a little more and the frosting is slightly softer. For a gluten-free version, use 2¾ cups (330 g) of a 1-to-1 gluten-free flour blend that contains xanthan gum; the bars are more fragile and benefit from a full 45-minute cool in the pan. Salted butter can replace unsalted butter; omit the added salt in the dough and frosting. If you have only granulated sugar for the frosting, pulse it in a food processor for 30 to 60 seconds until fine, then use it cup for cup; the frosting will be slightly grainy. Brown sugar can replace up to half the granulated sugar in the bars for a deeper flavor, but the bars will be softer and more moist.
Related
- Heavenly Cherry Cheesecake Cake Roll Recipe
- 2-Ingredient Watermelon Gelato (No Churn)
- Easy Halloween Fudge Recipe With Orange and Purple
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).