When the edges of a sugar-cookie slab turn lightly golden, the center can still look pale, so I watch for the middle to look set rather than waiting for the whole surface to brown. That cue keeps these Christmas Tree Sugar Cookie Bars tender instead of dry. The bars bake in a 9×13-inch pan, which gives you a sturdy canvas for piping without rolling or cutting individual cookies.
I cream the butter and sugar until fluffy, then add the eggs one at a time before mixing in the flour on low. That order gives the dough a smooth, even base, and stopping as soon as the dry streaks disappear keeps it from getting overworked. Once the slab has cooled completely, the green frosting pipes into short rows that widen into little trees, finished with a yellow star and holiday sprinkles.

Kitchen Note
Bake, Serve, Wear the Vibe 👕
Editor-picked tees our Oven To Fork readers love.
We may earn from qualifying purchases at no extra cost to you.
Add the powdered sugar gradually so the frosting stays smooth instead of forming dry pockets. After about 2 minutes of beating, it should hold a soft piped shape rather than run off the beater.
Save these Christmas Tree Sugar Cookie Bars for a festive bake with soft centers and piped green trees topped with little yellow stars.
Why These Bars Are Pressed, Not Rolled Like Cutout Cookies
This dough goes straight into the pan, so there’s no rolling pin, flour-dusted counter, or collection of scraps to gather and reroll. That’s more than a shortcut: a pressed slab gives you a continuous cookie base that can be divided into matching rectangles once it’s cool. Each bar becomes a little decorating surface, and the tree design fits naturally inside its edges.
Because the dough is meant to be pressed into the pan, the goal is an even layer, not a tightly packed one. Uneven spots bake at different rates, and pressing too firmly can make the finished bars feel compact. Work the dough gently toward the corners and smooth the surface without compressing it. You’ll get a consistent base for frosting, with enough room to pipe each tree in widening rows and place its star at the top.
What Gives the Cookie Base Its Tender Bite—and the Frosting Its Shape

- All-purpose flour — It gives the bars enough structure to lift and decorate without turning them into a crumbly base. Spoon flour into the measuring cup and level it rather than packing it down; too much flour can make the dough stiff. I wouldn’t swap in a different flour here, since the texture and bake can change.
- Unsalted butter and granulated sugar — Butter brings richness while creaming with sugar adds air to the dough. Use butter softened enough to beat smoothly, not melted; melted butter won’t cream the same way. Granulated sugar keeps the cookie base closer to a classic sugar-cookie texture than a softer, moister brown-sugar dough.
- Eggs and vanilla — The eggs bind the dough and help it hold together as bars, while vanilla gives the cookie its familiar aroma. Large eggs matter for keeping the dough’s balance consistent. If you’re out of vanilla, you can leave it out; the bars will be less fragrant, but the dough will still work.
- Powdered sugar and milk — Powdered sugar gives the frosting its body and smooth finish; milk loosens it enough to pipe. Add the sugar in stages so it incorporates evenly. The frosting depends on powdered sugar for its texture, so granulated sugar won’t work as a direct substitute.
- Green gel coloring and sprinkles — Gel coloring gives the frosting a green shade without adding much liquid, which helps it stay pipeable. Add it a little at a time to control the color. The yellow stars and holiday sprinkles provide the finishing details; if you don’t have the stars, the trees still look festive with the sprinkle finish.
From a Smooth Cookie Slab to Twelve Piped Trees
Cream the Butter and Build the Dough
Beat the softened butter and granulated sugar in a large bowl until light and fluffy, about 2 minutes. Add the eggs one at a time, beating after each, then mix in the vanilla. Whisk the flour, baking powder, and salt in a separate bowl, then add that mixture in two additions on low. Stop once you no longer see dry streaks; continuing to beat after the flour disappears can make the bars tougher.
Press the Dough and Bake Until Set
Heat the oven to 350°F, coat a 9×13-inch pan with nonstick cooking spray, and line it with a parchment sling. Press the dough into an even layer, nudging it into the corners without packing it down hard. Bake for 20 to 25 minutes, until the edges are lightly golden and the center looks set. If the edges are already deeply browned, the bars have gone past the point you want for a tender bite.
Cool the Slab Before Cutting
Let the pan cool completely, about 1 hour, before lifting the slab out by the parchment. A warm slab is more likely to bend or break when you cut it, and frosting on a warm surface can soften before you finish decorating. Once cool, cut it into 12 bars. Keep the pieces on a flat surface so the tops stay level for piping.
Pipe the Trees and Add Their Toppers
Beat the softened butter until smooth, then gradually beat in the powdered sugar, milk, and vanilla until fluffy and pipeable, about 2 minutes. Tint the frosting with green gel coloring a little at a time, then transfer it to a piping bag fitted with a small open-star tip. On each bar, pipe short horizontal zigzags, beginning with a narrow row at the top and widening each row toward the bottom. Place a yellow star at the top of each tree and scatter holiday sprinkles over the frosting.
Three Ways to Change the Look Without Changing the Cookie Base
White Winter Trees
Leave the green gel coloring out and pipe the same widening zigzags with plain vanilla frosting. The tree outlines will be softer against the cookie, while the yellow stars and holiday sprinkles still give each bar a clear festive finish.
Small Party Squares
Cut the cooled slab into 24 smaller pieces instead of 12 bars, then pipe a compact tree on each one. Keep the zigzags short so the frosting stays within the smaller surface. You’ll get more portions, though each piece has less room for a large tree.
A Flat Frosting-and-Sprinkle Finish
Skip the piping bag and spread the green frosting over each cooled bar, then scatter the holiday sprinkles on top. The bars keep their vanilla-cookie base and festive colors, but you trade the raised tree design for a quicker, smoother finish.
Storage and Reheating
- Refrigerator: Store the decorated bars in an airtight container for 3 to 4 days. The cookie base will firm up in the refrigerator, so let a bar sit at room temperature briefly before serving.
- Freezer: Freeze the undecorated bars in a sealed container, with parchment between layers, for up to 2 months for best quality. Thaw them before making the frosting and decorating; the sprinkles and piped details hold their appearance better when added fresh.
- Reheating: These bars are best served at room temperature, so skip reheating. Warmth can soften the frosting and blur the piped tree details.
Questions That Come Up When Decorating These Cookie Bars

Christmas Tree Sugar Cookie Bars
Ingredients
Equipment
Method
- Heat the oven to 350°F.
- Coat a 9x13-inch baking pan with nonstick cooking spray and line it with a parchment paper sling.
- Whisk the flour, baking powder, and salt together in a medium bowl.
- Beat the softened butter and granulated sugar in a large bowl until light and fluffy, about 2 minutes.
- Beat in the eggs one at a time, then beat in the vanilla.
- Add the flour mixture in two additions, mixing on low just until no dry streaks remain.
- Press the dough evenly into the prepared pan.
- Bake for 20 to 25 minutes, until the edges are lightly golden and the center looks set.
- Cool completely in the pan, about 1 hour.
- Lift out the cookie slab with the parchment and cut into 12 bars.
- Beat the softened butter until smooth.
- Gradually beat in the powdered sugar, milk, and vanilla until fluffy and pipeable, about 2 minutes.
- Beat in green food coloring a little at a time until the desired shade is reached.
- Transfer the frosting to a piping bag fitted with a small open-star tip.
- Pipe a tree onto each bar by making short horizontal zigzags, starting narrow at the top and making each row wider toward the bottom.
- Place a yellow star sprinkle at the top of each tree.
- Scatter the holiday sprinkles over the frosting.



