These colorful sugar cookie bars are a fun twist on classic sugar cookies, baked in a single pan so you get soft, chewy bars without rolling or cutting. The vibrant frosting and sprinkles make them perfect for birthdays, holidays, or any celebration, and the recipe is simple enough for beginner bakers. With a buttery cookie base and creamy frosting, these bars are as delicious as they are pretty.
Ingredients
- 1 cup (2 sticks) unsalted butter, softened
- 1 cup granulated sugar
- 1 large egg
- 1 teaspoon vanilla extract
- 1/2 teaspoon almond extract (optional)
- 2 cups all-purpose flour
- 1/2 teaspoon baking powder
- 1/4 teaspoon salt
- For the frosting:
- 1/2 cup (1 stick) unsalted butter, softened
- 2 cups powdered sugar
- 2 tablespoons milk (or heavy cream)
- 1/2 teaspoon vanilla extract
- Gel food coloring (red, blue, green, yellow, etc.)
- Sprinkles or colored sugar for topping
Instructions
- Preheat your oven to 375°F (190°C). Line a 9x13-inch baking pan with parchment paper, leaving some overhang on the sides for easy removal.
- In a large bowl, beat the softened butter and sugar together with an electric mixer on medium speed until light and fluffy, about 2 minutes. Add the egg, vanilla extract, and almond extract (if using), and beat until well combined.
- In a separate bowl, whisk together the flour, baking powder, and salt. Gradually add the dry ingredients to the wet mixture, mixing on low speed until just combined. Do not overmix.
- Press the dough evenly into the prepared pan. Use your hands or a spatula to smooth the top. The dough will be thick but should spread evenly.
- Bake for 18–22 minutes, or until the edges are lightly golden and the center is set. A toothpick inserted into the center should come out clean or with just a few moist crumbs. Do not overbake, or the bars will be dry.
- Let the bars cool completely in the pan on a wire rack, about 1 hour. This is essential before frosting.
- While the bars cool, make the frosting. Beat the softened butter in a medium bowl until smooth. Gradually add the powdered sugar, then the milk and vanilla, beating until creamy and spreadable. If the frosting is too thick, add a little more milk; if too thin, add more powdered sugar.
- Divide the frosting into separate bowls, one for each color you want. Add a few drops of gel food coloring to each bowl and stir until the color is uniform. Gel colors are more vibrant than liquid ones and won't thin the frosting.
- Once the bars are completely cool, spread the colored frostings over the top. You can do a single color, or dollop different colors and swirl them with a knife for a marbled effect. Sprinkle generously with sprinkles while the frosting is still soft.
- Let the frosting set for about 20 minutes, then cut into bars using a sharp knife. Clean the knife between cuts for neat edges.
Tips
- Use gel food coloring: Liquid food coloring can make the frosting too runny. Gel colors give bright, vivid shades without affecting consistency.
- Don't overmix the dough: Overmixing develops gluten, which can make the bars tough. Mix just until the flour disappears.
- Cool completely before frosting: If the bars are even slightly warm, the frosting will melt and slide off. Patience is key.
- Substitute butter: You can use salted butter and reduce the added salt to 1/8 teaspoon, or use a plant-based butter alternative for a dairy-free version (the texture may differ slightly).
Serving Suggestions
These bars are perfect for parties, bake sales, or after-school treats. Serve them as-is, or pair with a glass of cold milk or a scoop of vanilla ice cream. For a festive touch, cut them into shapes with cookie cutters after baking (if you do this, skip the frosting and drizzle with glaze instead).
Variations
- Citrus twist: Add 1 tablespoon of lemon or orange zest to the dough, and use lemon juice instead of milk in the frosting.
- Chocolate chip: Fold 1 cup of mini chocolate chips into the dough before pressing into the pan.
- Funfetti: Mix 1/2 cup of rainbow sprinkles into the dough for a confetti effect.
- Peppermint: Add 1/2 teaspoon of peppermint extract to the dough and top with crushed candy canes.
Storage and Reheating
Store the frosted bars in an airtight container at room temperature for up to 3 days, or in the refrigerator for up to a week. If you stack them, place a sheet of parchment paper between layers to prevent sticking. For longer storage, freeze the unfrosted bars (wrapped tightly in plastic wrap and foil) for up to 3 months; thaw overnight in the fridge, then frost and serve. These bars are best served at room temperature—no reheating needed. If you prefer a slightly warm treat, microwave an unfrosted bar for 10 seconds.
Frequently Asked Questions
Can I use a different pan size?
Yes, you can use a 9x9-inch pan for thicker bars, but increase the baking time to 25–30 minutes. For a half-sheet pan (12x17), the bars will be thinner and bake in about 12–15 minutes. Adjust the baking time and keep an eye on the edges.
Why are my bars too crumbly?
Crumbly bars usually mean the dough was overmixed or there wasn't enough moisture. Make sure the butter is properly softened and don't overwork the dough. Also, measure the flour correctly by spooning it into the measuring cup and leveling it off—too much flour can dry out the bars.
Can I make the dough ahead of time?
Absolutely. Prepare the dough, press it into the pan, cover with plastic wrap, and refrigerate for up to 2 days. Let it sit at room temperature for 15 minutes before baking, and add a few extra minutes to the baking time if baking straight from the fridge.
How do I get clean, neat cuts?
Use a sharp, large knife and wipe it clean with a damp paper towel between each cut. For the cleanest edges, chill the frosted bars in the fridge for 30 minutes before cutting.
Can I use store-bought frosting?
Yes, you can use canned frosting to save time. Just color it with gel food coloring, but keep in mind that canned frosting is thicker and may be harder to spread evenly.
What if I don't have almond extract?
Simply omit it. The vanilla extract alone gives plenty of flavor. You can also replace it with an extra 1/2 teaspoon of vanilla extract.