The moment the green frosting starts zigzagging across a plain cookie slab, these Christmas Tree Sugar Cookie Bars turn into a tray of little holiday trees. I like that the dough gets pressed into one pan instead of rolled and cut into individual shapes; you get a whole batch of matching bars without fussing over scraps.
Each piece becomes its own small decorating canvas, with a piped tree, a star on top, and a scatter of holiday sprinkles. The frosting is simple to work with once it’s smooth and pipeable, and a resealable bag with a snipped corner gives you the shape without a special piping tip.
The finished bars have a soft sugar-cookie crumb under a creamy vanilla frosting. They look festive on a cookie tray, but the best part is how neatly the whole batch comes together from one pan.

Kitchen Note
Leave the parchment overhang on both sides, and let the slab cool completely before lifting it. Warm bars are tender enough to bend or break when you move them.
Save these Christmas Tree Sugar Cookie Bars for a holiday tray: soft sugar-cookie centers topped with easy-to-pipe green trees.
Why the Extra Egg Yolk Helps These Bars Stay Tender
This dough uses a whole egg plus an extra yolk, rather than two whole eggs. That yolk adds richness without bringing in the extra white of another egg, which helps the pressed dough bake into tender bars that still hold together when lifted and decorated. The result isn’t meant to be a crisp, thin sugar cookie; it’s a soft, substantial bar with enough body for frosting.
That balance also makes the dough easier to press into a pan than a roll-out cookie dough. There’s no need to handle it repeatedly or shape each piece before baking. Mix just until the flour disappears, then spread the dough into an even layer so the edges and center bake at a similar pace. The extra yolk is doing quiet work in the background: giving the bars a richer bite without making the slab too delicate to cut.
What the Butter, Yolk, and Gel Coloring Bring to These Tree Bars

- Softened unsalted butter — It creams smoothly with the sugar and gives the bars their tender texture. Use butter that yields when pressed but isn’t melted; a standard grocery-store butter works well, so there’s no need for a specialty brand. The recipe separates the butter between the cookie dough and frosting, so measure each portion for its own stage.
- Egg and egg yolk — Room-temperature eggs blend more evenly into the creamed butter. The yolk’s extra richness is part of what makes this dough work as a soft bar; I wouldn’t replace it with another whole egg.
- All-purpose flour — It gives the slab enough structure to lift and slice while keeping the crumb tender. Spoon it into the measuring cup and level it rather than packing it down; too much flour can make the dough stiff and the bars dry. This formula is designed for all-purpose flour, not a direct swap with cake or bread flour.
- Powdered sugar and milk — Powdered sugar creates a smooth frosting, while milk loosens it enough to pipe. Add the milk with the other frosting ingredients and beat until the texture is smooth and pipeable; granulated sugar won’t give you the same finish.
- Green gel food coloring — Gel gives the frosting a strong green color without adding much liquid. Use gel rather than liquid coloring, which can thin the frosting before it reaches the shade you want. The holiday sprinkles and star-shaped sprinkles provide the final decoration, so choose pieces that are easy to place on the piped trees.
Press, Bake, and Decorate the Slab Without Losing the Tree Shapes
Cream the Butter and Sugar Until Smooth
Beat the softened butter with the granulated sugar for about 2 minutes, until the mixture looks creamy rather than sandy. Beat in the egg, egg yolk, and vanilla, scraping the bowl if needed so the mixture comes together evenly. In a separate bowl, whisk the flour, baking powder, and salt before adding them. Mix on low just until combined; once the flour disappears, stop so the bars don’t turn tough.
Press the Dough Into an Even Layer
Grease a 9×13-inch metal pan, then line it with parchment with overhang on two sides. Press the dough evenly across the bottom and into the corners, taking a moment to smooth out thick spots. An uneven slab can leave thin edges that bake faster than the middle. Keep the surface level rather than packing the dough hard into the pan.
Bake Until the Edges Just Turn Lightly Golden
Bake at 350°F for 18 to 22 minutes. Look for lightly golden edges and a center that appears set; the top shouldn’t need to become deeply browned. If you wait for a dark color across the whole slab, the edges can dry out before the center is ready. Cool the cookie slab completely in the pan, about 1 hour, before lifting it out.
Make Pipeable Frosting and Finish Each Tree
Beat the remaining softened butter with the powdered sugar, milk, and remaining vanilla until smooth and pipeable, then beat in green gel coloring until the color is even. Lift the cooled slab with the parchment and cut it into 12 bars. Spoon the frosting into a resealable plastic bag and snip a small corner; a large opening makes the zigzags harder to control. Pipe a tapered zigzag tree on each bar, add a star-shaped sprinkle at the top, and finish with the assorted holiday sprinkles.
Three Easy Ways to Change the Look of the Christmas Tree Bars
Make smaller cookie-tray bites
Cut the cooled slab into 24 smaller pieces instead of 12. Pipe a narrower tree on each one and keep the star and assorted sprinkles as the finishing touch; the smaller portions are easier to fit among other cookies, though the tree design will be more compact.
Leave the frosting white for a snowy tree
Skip the green gel coloring and pipe the vanilla frosting in the same tapered zigzag shape. Add the star-shaped and assorted holiday sprinkles as usual. The trees won’t have the classic green look, but the white frosting makes the colored decorations stand out.
Turn the frosting into a smooth green top
Instead of piping separate trees, spread the green frosting over the bars and scatter the holiday sprinkles across the top. You’ll lose the individual tree outlines, but the bars take less decorating time and still have the same cookie-and-frosting combination.
Storage and Reheating
- Refrigerator: Store the decorated bars in an airtight container for up to 5 days. The frosting and cookie will feel firmer when chilled.
- Freezer: Freeze the bars in a single layer until firm, then transfer them to an airtight container with parchment between layers. They keep well for up to 2 months; thaw in the refrigerator so the frosting stays neat.
- Reheating: These bars don’t need reheating. Let chilled bars sit at room temperature until the frosting softens; microwaving can melt the frosting and make the cookie greasy.
Questions That Come Up While Making These Cookie Bars

Christmas Tree Sugar Cookie Bars
Ingredients
Equipment
Method
- Heat the oven to 350°F.
- Grease a 9x13-inch metal baking pan.
- Line the pan with parchment paper, leaving overhang on two sides.
- Beat 1 cup of the softened butter and the granulated sugar in a large bowl until creamy, about 2 minutes.
- Beat in the egg, egg yolk, and 1 teaspoon of the vanilla.
- 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 combined.
- Press the dough evenly into the prepared pan.
- Bake for 18 to 22 minutes, until the edges are lightly golden and the center looks set.
- Cool completely in the pan, about 1 hour.
- Beat the remaining 1/2 cup softened butter with the powdered sugar, milk, and remaining 1 teaspoon vanilla until smooth and pipeable.
- Beat in green gel food coloring until the frosting is evenly green.
- Lift the cooled cookie slab from the pan using the parchment and cut it into 12 bars.
- Spoon the frosting into a resealable plastic bag and snip off a small corner.
- Pipe a tapered zigzag tree on each bar.
- Top each tree with a star-shaped sprinkle and finish with the assorted holiday sprinkles.


