Introduction
“The bell rang just as I swung by to drop off some papers at my neighbor’s house.” I wasn’t expecting anything special, just a quick hello. But before I even stepped through the door, the faint scent of vanilla and sugar hit me, like a warm hug from the kitchen. There was Mia, casually rolling out dough on a slightly flour-dusted countertop, the afternoon sun catching the sparkle of royal icing drying on pencil-shaped sugar cookies. She wasn’t trying to impress anyone — honestly, it looked like just another weekday thing for her. But those cookies? They were nothing ordinary.
Watching her work so effortlessly made me realize sometimes the best recipes are the ones made without fuss or fanfare — just a few simple ingredients and a little patience. Maybe you’ve been there too, drawn in by a smell or a sight that stops you in your tracks. That day, I took a cracked little bowl of leftover icing home, determined to crack the secret behind these perfect iced back-to-school pencil sugar cookies. And let me tell you, it’s a recipe I keep coming back to, year after year.
Why You’ll Love This Recipe
Honestly, these pencil sugar cookies aren’t just cute — they’re a treat that’s as fun to make as they are to eat. I’ve tested this recipe multiple times, tweaking the icing consistency and baking time to nail the perfect balance of crisp edges and soft centers.
- Quick & Easy: Ready in under 1.5 hours, including decorating, perfect for those last-minute back-to-school celebrations.
- Simple Ingredients: Pantry staples like butter, sugar, and flour — no special trips needed.
- Perfect for Back-to-School: These pencil-shaped cookies bring a bit of whimsy to lunchboxes and classroom parties.
- Crowd-Pleaser: Kids love the colorful icing, and grown-ups appreciate the buttery, tender cookie beneath.
- Unbelievably Delicious: The royal icing dries smooth and glossy, giving that satisfying snap while the cookie itself stays soft inside.
This isn’t just any sugar cookie recipe — the secret lies in using a slightly higher amount of powdered sugar in the dough for that classic sugar cookie snap, combined with a royal icing that sets perfectly without cracking. Plus, the pencil shape adds a playful, nostalgic touch that makes these cookies stand out at any back-to-school event.
Whether you’re a seasoned baker or just trying to make your kid’s first day extra special, this recipe hits all the right notes. It’s comfort food with a dash of school-day spirit, and it’s honestly so fun to decorate — even if you’re not a pro with piping bags.
What Ingredients You Will Need
This recipe uses simple, wholesome ingredients to deliver bold flavor and that classic sugar cookie texture without fuss. Most of these are pantry staples, and the few specialty items like royal icing ingredients are easy to find or make at home.
- For the Sugar Cookie Dough:
- 2 ¾ cups (345g) all-purpose flour, sifted (I prefer King Arthur for consistency)
- 1 teaspoon baking powder
- ½ teaspoon salt
- 1 cup (226g) unsalted butter, softened (room temperature, makes the dough tender)
- 1 ½ cups (300g) granulated sugar
- 1 large egg, room temperature
- 2 teaspoons pure vanilla extract (freshly bottled if possible)
- ½ teaspoon almond extract (adds a subtle depth, optional but recommended)
- For the Royal Icing:
- 3 cups (360g) powdered sugar, sifted (important for smooth icing)
- 2 large egg whites or 4 tablespoons meringue powder + 6 tablespoons water (meringue powder is safer and easier to work with)
- 1 teaspoon lemon juice or vanilla extract (for flavor)
- Food coloring gels in yellow, pink, green, and black (for pencil colors and details)
If you prefer gluten-free, you can swap the all-purpose flour with a 1-to-1 gluten-free baking blend. For dairy-free, use a vegan butter substitute like Earth Balance, but note the texture might be slightly different. I’ve found that fresh, high-quality vanilla and almond extracts really make the flavor pop, so don’t skimp there!
Equipment Needed

- Stand mixer or hand mixer — makes creaming the butter and sugar way easier
- Rolling pin — a classic wooden one works perfectly
- Pencil-shaped cookie cutters (about 4 inches long) — I bought mine on Amazon, but you can use a sharp knife to cut shapes if you’re in a pinch
- Baking sheets lined with parchment paper or silicone mats — essential for even baking and easy cleanup
- Piping bags with small round and flat tips — for controlling your royal icing designs
- Small mixing bowls — for dividing and coloring the icing
- Cooling racks — to let cookies rest without sogginess
If you don’t have piping bags, zip-top bags with a tiny corner cut off work just fine. Also, investing in a good silicone baking mat is worth it — they prevent sticking and help cookies bake evenly. I’ve tried baking on bare sheets, and trust me, it’s a mess to clean!
Preparation Method
- Combine Dry Ingredients: In a medium bowl, whisk together 2 ¾ cups (345g) flour, 1 teaspoon baking powder, and ½ teaspoon salt. Set aside.
- Cream Butter and Sugar: Using a stand mixer fitted with the paddle attachment (or a hand mixer), beat 1 cup (226g) softened unsalted butter and 1 ½ cups (300g) granulated sugar on medium speed until light and fluffy — about 3-4 minutes. This step is key to that tender crumb.
- Add Eggs and Extracts: Beat in 1 large egg, 2 teaspoons vanilla extract, and ½ teaspoon almond extract until fully combined.
- Incorporate Dry Ingredients: Gradually add the flour mixture to the wet ingredients, mixing on low speed. You want a smooth dough without overmixing — stop as soon as the flour disappears. The dough will feel soft but manageable.
- Chill the Dough: Divide the dough in half, flatten into disks, wrap in plastic wrap, and chill for at least 1 hour. This helps prevent spreading and makes rolling easier.
- Preheat Oven and Prepare Sheets: Set oven to 350°F (175°C). Line baking sheets with parchment paper or silicone mats.
- Roll and Cut: On a lightly floured surface, roll one disk of dough to about ¼ inch (6mm) thickness. Use the pencil-shaped cookie cutter to cut shapes, transferring them carefully to baking sheets about 1 inch (2.5 cm) apart.
- Bake: Bake for 8-10 minutes, until edges just start to turn golden but centers remain pale. Watch closely — you want soft centers with crisp edges. Let cookies cool on sheets 5 minutes, then transfer to wire racks to cool completely.
- Prepare Royal Icing: In a clean bowl, whisk together 3 cups (360g) sifted powdered sugar, 2 egg whites (or meringue powder and water), and 1 teaspoon lemon juice or vanilla extract. Beat until stiff peaks form. Divide icing into separate bowls and tint with food coloring gels (yellow for pencil bodies, pink for erasers, green for tips, black for lead).
- Decorate: Use piping bags fitted with fine tips to outline each pencil shape in yellow icing. Flood the inside with the same color, then pipe pink erasers at the top, green tips at the bottom, and a thin black line for the lead. Let each color dry slightly before adding the next to prevent bleeding. Patience here pays off!
- Dry Completely: Allow cookies to dry at room temperature for at least 4 hours or overnight before stacking or packing.
If you get interrupted (and trust me, kids can be distracting!), cover your dough disks tightly and pop them back in the fridge. Also, if your royal icing feels too thick for flooding, add a few drops of water until it flows smoothly but still holds shape.
Cooking Tips & Techniques
Royal icing can be intimidating, but a few tricks make it manageable. I learned the hard way that overbeating the icing can cause cracking when it dries, so stop whipping as soon as stiff peaks form. Also, using gel food coloring instead of liquid prevents icing from getting too runny.
Don’t skip chilling the dough — it really helps cookies keep their pencil shape instead of puffing up like little clouds. Another tip: bake on the middle rack and rotate your sheets halfway through for even browning.
When piping, steady hands are great, but if you’re shaky, go slow and don’t press too hard. Let the icing guide your design. You can always smooth edges with a toothpick or damp brush.
Multitasking tip: While the cookies bake, prepare your icing colors. That way, once they’re cool, you’re ready to pipe without waiting around.
Variations & Adaptations
- Gluten-Free: Use a gluten-free all-purpose baking blend to make these pencil sugar cookies safe for gluten-sensitive friends.
- Vegan Adaptation: Swap butter for vegan margarine and replace egg with flaxseed egg (1 tablespoon ground flax + 3 tablespoons water, chilled).
- Seasonal Flair: Add edible shimmer dust or swap the yellow pencil body for pastel colors to match spring or winter themes.
- Alternative Shapes: If you don’t have pencil cutters, try book or apple shapes for a back-to-school variety.
- Flavor Twist: Mix a teaspoon of cinnamon or lemon zest into the dough for a subtle flavor lift.
I once tried a batch with lemon royal icing instead of vanilla — the bright citrus paired surprisingly well with the buttery cookie, adding a refreshing zing that kids surprisingly loved.
Serving & Storage Suggestions
Serve these cookies at room temperature to enjoy the soft center and crisp icing snap. They make a charming addition to a lunchbox or a festive back-to-school breakfast table.
Pair them with a cold glass of milk or a cup of warm tea for a comforting snack. If you’re hosting a party, line a platter with colorful napkins and arrange cookies in pencil rows for that extra “wow” factor.
Store cookies in an airtight container at room temperature for up to 5 days. For longer storage, freeze undecorated cookies for up to 3 months; decorate after thawing for best results. Decorated cookies keep well frozen for about 2 weeks if well wrapped.
When reheating, avoid the microwave as it can soften the icing too much. Instead, let frozen cookies thaw on the counter and enjoy the icing crispness returning as they warm gently.
Nutritional Information & Benefits
Each pencil sugar cookie (approximately 2.5 ounces or 70g) contains about 180 calories, 8g of fat, 25g of carbohydrates, and 2g of protein. These cookies are an occasional treat, offering a quick energy boost during busy school mornings or afternoon breaks.
Key ingredients like butter provide fat-soluble vitamins, while the egg adds a bit of protein. Using real vanilla extract adds flavor without artificial ingredients. For those with dietary restrictions, the recipe adapts well to gluten-free or dairy-free versions.
Honestly, these cookies are about joy and celebration more than nutrition — but they do bring smiles, which counts for a lot.
Conclusion
Whether you’re packing lunchboxes or looking for a fun after-school project, these perfect iced back-to-school pencil sugar cookies with royal icing are a winner. The recipe’s straightforward steps and simple ingredients combine with charming decorating to create a cookie that’s both nostalgic and fresh.
Feel free to tweak the colors, flavors, or even shapes to fit your family’s style — that’s part of what makes baking so personal and rewarding. I love this recipe because it’s more than just cookies; it’s a little ritual that signals new beginnings and shared moments.
Give it a try, and don’t forget to share your version or any creative twists you add in the comments — I love hearing how these pencil cookies make their way into your back-to-school traditions. Happy baking!
FAQs
Can I make the cookie dough ahead of time?
Yes! You can prepare the dough and refrigerate it for up to 3 days before rolling and cutting. Just wrap it tightly to prevent drying out.
How do I prevent royal icing from cracking?
Stop beating the icing once stiff peaks form and avoid adding too much liquid. Also, let the icing dry slowly at room temperature, away from drafts.
Can I use store-bought royal icing instead of making my own?
Absolutely. Store-bought royal icing can save time, but homemade allows you to adjust consistency and flavors precisely.
What’s the best way to store decorated cookies?
Keep them in an airtight container at room temperature for up to 5 days. For longer storage, freeze undecorated cookies and decorate after thawing.
How do I fix icing that’s too thick or thin?
Add a tiny bit of water to thin it out, or sift in more powdered sugar to thicken. Adjust gradually to reach the perfect piping consistency.
For a fun twist on classic sugar cookies, you might enjoy my classic vanilla sugar cookies or the colorful rainbow sprinkle sugar cookies that bring extra cheer to any occasion.
Pin This Recipe!

Perfect Iced Back-to-School Pencil Sugar Cookies
These pencil-shaped sugar cookies feature a tender crumb with crisp edges and are decorated with smooth, glossy royal icing. Perfect for back-to-school celebrations, they are fun to make and delightful to eat.
- Prep Time: 20 minutes
- Cook Time: 10 minutes
- Total Time: 1 hour 30 minutes
- Yield: 24 cookies 1x
- Category: Dessert
- Cuisine: American
Ingredients
- 2 ¾ cups (345g) all-purpose flour, sifted
- 1 teaspoon baking powder
- ½ teaspoon salt
- 1 cup (226g) unsalted butter, softened (room temperature)
- 1 ½ cups (300g) granulated sugar
- 1 large egg, room temperature
- 2 teaspoons pure vanilla extract
- ½ teaspoon almond extract (optional)
- 3 cups (360g) powdered sugar, sifted
- 2 large egg whites or 4 tablespoons meringue powder + 6 tablespoons water
- 1 teaspoon lemon juice or vanilla extract
- Food coloring gels in yellow, pink, green, and black
Instructions
- In a medium bowl, whisk together 2 ¾ cups (345g) flour, 1 teaspoon baking powder, and ½ teaspoon salt. Set aside.
- Using a stand mixer fitted with the paddle attachment or a hand mixer, beat 1 cup (226g) softened unsalted butter and 1 ½ cups (300g) granulated sugar on medium speed until light and fluffy, about 3-4 minutes.
- Beat in 1 large egg, 2 teaspoons vanilla extract, and ½ teaspoon almond extract until fully combined.
- Gradually add the flour mixture to the wet ingredients, mixing on low speed until smooth dough forms without overmixing.
- Divide the dough in half, flatten into disks, wrap in plastic wrap, and chill for at least 1 hour.
- Preheat oven to 350°F (175°C). Line baking sheets with parchment paper or silicone mats.
- On a lightly floured surface, roll one disk of dough to about ¼ inch (6mm) thickness. Use pencil-shaped cookie cutter to cut shapes and transfer them about 1 inch apart to baking sheets.
- Bake for 8-10 minutes until edges start to turn golden but centers remain pale. Let cookies cool on sheets for 5 minutes, then transfer to wire racks to cool completely.
- In a clean bowl, whisk together 3 cups (360g) sifted powdered sugar, 2 egg whites (or meringue powder and water), and 1 teaspoon lemon juice or vanilla extract until stiff peaks form.
- Divide icing into separate bowls and tint with food coloring gels (yellow for pencil bodies, pink for erasers, green for tips, black for lead).
- Use piping bags fitted with fine tips to outline each pencil shape in yellow icing, flood inside with same color, then pipe pink erasers at top, green tips at bottom, and thin black line for lead. Let each color dry slightly before adding next.
- Allow cookies to dry at room temperature for at least 4 hours or overnight before stacking or packing.
Notes
Chill dough for at least 1 hour to prevent spreading and maintain pencil shape. Use gel food coloring to avoid runny icing. Stop beating royal icing once stiff peaks form to prevent cracking. Let each icing color dry slightly before adding the next to prevent bleeding. Store cookies in airtight container at room temperature for up to 5 days or freeze undecorated cookies for up to 3 months.
Nutrition
- Serving Size: 1 cookie (approximat
- Calories: 180
- Fat: 8
- Carbohydrates: 25
- Protein: 2
Keywords: sugar cookies, pencil cookies, back-to-school cookies, royal icing, decorated cookies, easy sugar cookies, kid-friendly cookies


