Zimt

Witch Hat Cookie Recipe – Chocolate Cookies with Mini Hats

· 5 min read · Cookies and Bars

In this article
  1. Ingredients
  2. Instructions
  3. What Can I Serve With Witch Hat Cookies?
  4. How Long Do Witch Hat Cookies Keep?
  5. What Can Go Wrong With Witch Hat Cookies?
  6. Can I Make a Gluten‑Free Witch Hat Cookie?
  7. How to Store Witch Hat Cookies?

Witch hat cookies are chocolate shortbread cookies topped with a piped chocolate hat and a sprinkle of festive candy. The base is buttery and crisp, the hat is glossy and sweet, making them a playful treat for Halloween parties or autumn gatherings.

Serves 24 · Prep 20 min · Cook 12 min · Total 42 min

Ingredients

  • 1 cup (226 g) unsalted butter, softened
  • 3/4 cup (150 g) granulated sugar
  • 1/2 cup (110 g) packed light brown sugar
  • 1 large egg, pasteurised (or heat‑treated flour, see safety note)
  • 1 tsp (5 ml) pure vanilla extract
  • 1 ½ cups (190 g) all‑purpose flour
  • 1/3 cup (30 g) unsweetened cocoa powder
  • 1/2 tsp (2 g) baking soda
  • 1/4 tsp (1 g) salt
  • 6 oz (170 g) dark chocolate (70 % cacao), melted for hats
  • 1 tbsp (15 ml) vegetable oil, mixed with melted chocolate for smoother piping
  • ¼ cup (30 g) crushed candy‑cane pieces or red sprinkles for hat brim

Instructions

  1. Preheat a conventional oven to 350°F (177°C). Line two baking sheets with parchment paper; a 12‑inch (30 cm) sheet fits about 12 cookies.
  2. In a large bowl, beat the softened butter, granulated sugar, and brown sugar on medium speed until light and fluffy, about 2–3 minutes.
  3. Add the pasteurised egg and vanilla; beat until just combined, about 30 seconds.
  4. In a separate bowl whisk together flour, cocoa powder, baking soda, and salt.
  5. Gradually add the dry mixture to the wet ingredients, mixing on low speed until a uniform dough forms. Scrape the sides as needed.
  6. Divide the dough in half, shape each portion into a log about 1‑inch (2.5 cm) thick, wrap in plastic, and chill for 30 minutes. Chilling prevents spreading.
  7. After chilling, slice the logs into ½‑inch (1.3 cm) rounds and place them 2 inches (5 cm) apart on the prepared sheets.
  8. Bake for 10‑12 minutes, until the edges are set and the centers look slightly matte. Do not over‑bake; they will firm as they cool.
  9. Remove from the oven and let the cookies cool on the sheets for 5 minutes, then transfer to a wire rack to cool completely, about 10 minutes.
  10. While the cookies cool, melt the dark chocolate in a heat‑proof bowl over simmering water (double boiler) or in short bursts in the microwave, stirring every 20 seconds. Add the vegetable oil and stir until glossy.
  11. Transfer the melted chocolate to a piping bag fitted with a small round tip. Pipe a small cone shape (about 1 inch tall) onto the center of each cooled cookie, forming a witch‑hat silhouette.
  12. Immediately sprinkle the crushed candy‑cane pieces or red sprinkles onto the still‑wet chocolate hat to create a brim. Allow the chocolate to set at room temperature for 15 minutes, or refrigerate for 5 minutes to speed setting.

What Can I Serve With Witch Hat Cookies?

These cookies pair well with a warm mug of spiced apple cider, a cup of black coffee, or a glass of milk for a classic sweet‑and‑savory contrast. For a themed dessert platter, arrange the cookies alongside caramel‑drizzled popcorn, candied pumpkin seeds, and mini pumpkin pies. The crisp texture of the cookie balances the soft, melt‑in‑your‑mouth chocolate hat, while the bright red candy‑cane brim adds a pop of color that complements autumn décor.

How Long Do Witch Hat Cookies Keep?

Store the cookies in an airtight container at room temperature for up to 4 days. The chocolate hat remains glossy for the first 2 days; after that, the surface may develop a thin bloom, which is harmless but changes appearance. For longer storage, freeze the cookies in a single layer on a baking sheet, then transfer to a freezer‑safe bag; they retain quality for about 3 months. Thaw at room temperature for 30 minutes before serving.

What Can Go Wrong With Witch Hat Cookies?

Cookies spread too thin. This usually results from under‑chilling the dough or using overly softened butter. Remedy: chill the dough for at least 30 minutes and ensure butter is only soft, not melted.

Chocolate hats crack or run. Cracking occurs when the chocolate is too cool when piped; running happens when the chocolate is too warm. Fix: melt chocolate to a smooth 115°F‑120°F (46°C‑49°C) temperature, add oil for fluidity, and pipe at room temperature. If the chocolate sets too quickly, gently re‑warm in the microwave for a few seconds.

Brim toppings fall off. If the chocolate hat is not tacky enough, the crushed candy‑cane will not adhere. Remedy: sprinkle the toppings within 30 seconds of piping, while the chocolate is still glossy.

Yes. Substitute the all‑purpose flour with an equal weight of a gluten‑free blend that contains xanthan gum (e.g., 1 ½ cups (190 g) gluten‑free all‑purpose flour). The texture will be slightly softer, so increase chilling time to 45 minutes to help the cookies hold their shape. If you prefer a nutty flavor, replace half of the gluten‑free flour with almond flour; reduce the total flour amount by 10 % to avoid excess moisture.

Other swaps:

  • Butter → equal amount of solid coconut oil (will add a faint coconut note).
  • Granulated sugar → coconut sugar (adds a caramel‑like depth; no change in quantity).
  • Dark chocolate → white chocolate (creates a contrasting white hat; keep melting temperature at 115°F‑120°F).

All substitutions keep the basic ratio of fat to flour (about 1:1 by weight) to maintain the shortbread texture.

How to Store Witch Hat Cookies?

Allow the cookies to cool completely before sealing. Place a layer of parchment between batches in the container to prevent the hats from sticking together. Store at room temperature for up to 4 days; for longer life, freeze as described above. When reheating frozen cookies, place them on a baking sheet and warm at 300°F (149°C) for 5‑7 minutes to restore softness without melting the chocolate hat.

Because the cookies contain dairy butter and chocolate, keep them out of the danger zone (above 90°F/32°C) for no more than 2 hours. Discard any cookies that have been left out longer than this period.

Raw‑egg safety: the recipe uses a pasteurised egg; if you use a fresh egg, ensure the baked cookie reaches an internal temperature of at least 160°F (71°C) as measured with a food thermometer, the USDA FSIS safe minimum for egg dishes. The flour is baked, so no heat‑treatment is required for the dough itself, but avoid tasting raw batter.