
When these cookie bars come out of the oven, the edges turn lightly golden while the center stays pale. That contrast is exactly what I look for: the middle is set, but the bars haven’t dried out. Christmas Tree Sugar Cookie Bars bake in one pan, so there’s no parade of cookie sheets or trying to keep every individual cookie the same size.
The dough is soft enough to press into the pan, then the cooled bars get a smooth green frosting zigzag and a star sprinkle at the top of each tree. I keep the frosting simple and pipe one tree per bar; the small star tip gives the branches their ridged look without making decoration complicated. Each bar is buttery and tender under its sweet vanilla frosting, with a little crunch from the sprinkles.

Kitchen Note
Give the bars their full hour to cool in the pan before lifting and cutting them. Warm cookie bars are more likely to break, and frosting on a warm surface can lose its neat piped shape.
Save these Christmas Tree Sugar Cookie Bars for a festive bake with soft vanilla cookie centers and green piped trees topped with stars.
Why an Even Layer Matters More Than a Golden Center
Bar cookies bake as one sheet, which is convenient but means the dough needs to be an even thickness from edge to edge. If the middle is packed thicker than the sides, it takes longer to set; by the time that center catches up, the edges can be dry. Press the dough level across the pan rather than leaving a mound in the middle or thin spots along the corners.
It also helps to judge these by the center’s set texture, not by whether the whole top has browned. The edges are your color cue, while the center should look set without needing to turn golden. Sugar cookie dough can look soft while warm, so don’t keep baking just because it hasn’t developed the color of a crisp cookie. A level layer and a set center give you bars that hold their shape and still have a tender bite.
What Gives These Bars Their Tender Crumb and Piped Trees

- Butter — Softened unsalted butter creams smoothly with the sugar and keeps the salt level predictable. Use butter that yields when pressed but isn’t melted; the separate portion for the frosting helps it beat up smooth. A standard grocery-store unsalted butter works well here.
- Eggs — Room-temperature eggs blend into the butter mixture more easily than cold ones, helping the dough come together without overmixing. Let them lose their chill before you start; there isn’t a direct swap in this formula that keeps the same texture.
- All-purpose flour and baking powder — Together they give the bars enough structure to cut cleanly without turning them into crisp cookies. Measure the flour carefully rather than packing it into the cup, since extra flour can make the finished bars dense. A different flour can change how the dough absorbs moisture, so all-purpose flour is the reliable choice here.
- Vanilla extract — It carries the classic sugar-cookie flavor in both the bars and the frosting. A regular vanilla extract is plenty; there’s no need to reach for an expensive bottle for this recipe.
- Powdered sugar, whole milk, and green gel coloring — Powdered sugar makes the frosting smooth enough to pipe, while whole milk loosens it to a workable consistency. Gel coloring gives the frosting a clear green hue without adding much liquid. If you leave the gel coloring out, the frosting will stay pale; liquid color can thin it more readily.
- Christmas sprinkles — Assorted sprinkles add color and a little crunch, while the small stars give each piped tree a clear top. Set the stars aside before decorating so they’re easy to place while the frosting is fresh.
From Soft Dough to Neat Frosted Trees
Cream the Butter and Sugar
Beat the butter for the bars with the granulated sugar in a large bowl on medium speed for about 2 minutes. The mixture should look creamy rather than like loose sugar and butter in separate pieces. Scrape the bowl if butter is clinging to the sides, so it gets mixed evenly. Starting with softened—not melted—butter gives you the right base.
Bring the Dough Together Without Overmixing
Beat in the eggs one at a time, then mix in the vanilla for the bars. In a separate bowl, whisk the flour, baking powder, and salt before adding them to the butter mixture. Mix on low just until no dry flour remains; stop there, because extended mixing can make the bars tougher. The finished dough will be soft enough to press into the pan.
Press, Bake, and Let the Pan Cool
Line a 9×13-inch pan with parchment, leaving overhang on two sides, then press the dough into an even layer. Bake at 350°F for 20–24 minutes, watching for lightly golden edges and a center that looks set. If the edges are browning quickly but the center still looks unset, check the pan as it approaches the shorter end of the baking range. Cool completely in the pan, about 1 hour, then use the parchment overhang to lift out the slab and cut it into 24 bars.
Beat the Frosting and Pipe the Trees
Beat the remaining butter with the powdered sugar, milk, and remaining vanilla on low until combined, then switch to medium and beat until smooth. Mix in the green gel coloring until the color is even. Transfer the frosting to a piping bag fitted with a small star tip and pipe a zigzag triangular tree onto each bar. Add the assorted sprinkles while the frosting is still soft, finishing each tree with a small star at its top.
Three Ways to Change the Look Without Changing the Bar
White winter trees
Leave out the green gel coloring and pipe the same zigzag trees with the vanilla frosting left pale. The bars keep their familiar buttery flavor, but the white trees make the sprinkles and star toppers stand out more.
A simpler, unfrosted sugar cookie bar
Skip the frosting and sprinkles after baking and cooling the bars. You’ll get a less-sweet, plain vanilla cookie bar that’s easy to pack or serve without worrying about piped decorations.
Slim zigzag branches
Pipe a narrower triangular zigzag on each bar with the same small star tip instead of filling out a broad tree. It uses less frosting on each piece, leaving more of the cookie visible while keeping the ridged green-tree look.
Storage and Reheating
- Refrigerator: Store in an airtight container for up to 4 days. The frosting firms up and the bars may feel a little denser when chilled.
- Freezer: Freeze the bars in a single layer until firm, then stack them in an airtight container with parchment between layers for up to 2 months. Thaw in the refrigerator.
- Reheating: These don’t need reheating. Let chilled bars sit at room temperature for about 15 minutes before serving; microwaving can melt the piped frosting.
Questions That Come Up When Making These Cookie Bars

Christmas Tree Sugar Cookie Bars
Ingredients
Equipment
Method
- Preheat the oven to 350°F.
- Line a 9x13-inch baking pan with parchment paper, leaving overhang on two sides.
- Beat 1 cup of the butter and the granulated sugar in a large bowl with an electric mixer on medium speed until creamy, about 2 minutes.
- Beat in the eggs one at a time.
- Mix in 2 teaspoons of the vanilla extract.
- Whisk the flour, baking powder, and salt in a medium bowl.
- Add the flour mixture to the butter mixture and mix on low just until no dry flour remains.
- Press the dough evenly into the prepared pan.
- Bake for 20–24 minutes, until the edges are lightly golden and the center is set.
- Cool completely in the pan, about 1 hour.
- Lift the cookie bars out using the parchment and cut into 24 bars.
- Beat the remaining 1/2 cup butter with the powdered sugar, milk, and remaining 1/2 teaspoon vanilla extract on low until combined.
- Beat on medium until smooth.
- Mix in the green food coloring.
- Transfer the frosting to a piping bag fitted with a small star tip.
- Pipe a zigzag triangular tree onto each bar.
- Decorate with the sprinkles, placing a star at the top of each tree.