Pig-shaped cookies flavored with piloncillo and anise are a nostalgic Mexican confection. This charming, family-friendly treat is a sweet, spiced, traditional cookie loved by children.
Preheat oven to 350°F. Line a baking sheet with parchment paper for even baking and easy release.
In a saucepan over medium heat, combine piloncillo, milk, and butter. Stir constantly until the piloncillo is dissolved, then remove from heat and cool to room temperature to prevent scrambling the egg.
In a large bowl, whisk together flour, baking powder, salt, cinnamon, and anise to ensure even flavor distribution.
Pour the cooled piloncillo mixture into the dry ingredients. Add the egg and vanilla extract. Stir until a soft, slightly sticky dough forms—avoid overmixing to keep cookies tender.
Flour a work surface and roll out the dough to about 1/4 inch thick. Use a pig-shaped cutter (or substitute) to cut out cookies. Arrange on prepared sheet, spacing apart.
Bake for 15–18 minutes, or until edges are set and lightly golden. Cool on the pan for 5 minutes before transferring to a rack. The cookies will firm up as they cool.