If you’ve ever walked into a Mexican bakery and spotted those adorable pig-shaped treats near the pan dulce section, you’ve probably seen marranitos. Also known as puerquitos or cochinitos, these traditional Mexican pig cookies have been a favorite for generations.
Jump to RecipeUnlike classic gingerbread cookies, marranitos are softer, richer, and more cake-like. Their deep flavor comes from piloncillo, molasses, cinnamon, and vanilla, creating a warm and comforting treat that pairs perfectly with coffee, hot chocolate, or a glass of milk.
This authentic marranitos recipe combines traditional flavors with beginner-friendly instructions so you can enjoy bakery-style marranitos right at home.
The Secret Behind Great Marranitos
The difference between average marranitos and truly memorable ones comes down to texture.
Many people assume these Mexican gingerbread pigs should be crisp like traditional cookies. In reality, the best marranitos have a soft interior with a slightly firm exterior. They should be tender enough to bite through easily while still holding their signature pig shape.
Mexican bakeries achieve this by balancing moisture from piloncillo syrup and molasses with just the right amount of flour. The result is a sweet bread-like cookie that falls somewhere between a soft cookie and a piece of Mexican pan dulce.
A Quick Look at Their History
Marranitos are part of Mexico’s rich pan dulce tradition. Depending on the region, you may hear them called:
- Marranitos
- Puerquitos
- Cochinitos
All three names refer to the same beloved pig-shaped pastry.
These traditional Mexican desserts became popular in bakeries because they were affordable, flavorful, and easy to enjoy with coffee or hot beverages. Today, they remain one of the most recognizable Mexican bakery cookies.
Ingredients

- 3 cups all-purpose flour
- 1 teaspoon baking soda
- 1 teaspoon ground cinnamon
- ½ teaspoon ground ginger
- ¼ teaspoon salt
- ¾ cup piloncillo, grated
- ¼ cup molasses
- ¼ cup unsalted butter
- ½ cup water
- 1 large egg
- 1 teaspoon vanilla extract
Ingredient Notes
Piloncillo
Piloncillo gives marranitos their traditional flavor. It provides a deeper caramel taste than brown sugar.
Molasses
Molasses adds moisture and helps create the characteristic flavor associated with Mexican pig cookies.
Cinnamon and Ginger
These warm spices give marranitos their signature aroma without overpowering the sweetness.
Is a Pig Cookie Cutter Necessary?
Not at all.
You can print a pig template, place it on rolled dough, and cut around it with a knife. The cookie cutter simply saves time and creates uniform shapes.
Before You Bake: Important Preparation Tips
Measure Flour Correctly
Too much flour is the most common reason homemade marranitos turn out dry.
Spoon the flour into your measuring cup and level it off instead of scooping directly from the bag.
Don’t Skip the Syrup
The piloncillo mixture creates the rich flavor that makes authentic marranitos stand out from ordinary cookies.
Chill If Needed
If your dough feels sticky, refrigerate it for 20 to 30 minutes before rolling.
Step-by-Step Recipe

Make the Piloncillo Syrup
In a small saucepan, combine piloncillo and water.
Heat over medium heat until the piloncillo dissolves completely.
Remove from heat and stir in the molasses and butter.
Allow the mixture to cool slightly.
Prepare the Dry Ingredients
In a large mixing bowl, whisk together:
- Flour
- Baking soda
- Cinnamon
- Ginger
- Salt
Make the Dough
Add the egg and vanilla to the cooled syrup mixture.
Slowly pour the wet ingredients into the flour mixture.
Mix until a soft dough forms.
Roll and Cut
Preheat your oven to 350°F (175°C).
Roll the dough to approximately ¼-inch thickness.
Cut into pig shapes using a cookie cutter or template.
Place on a lined baking sheet.
Bake
Bake for 10 to 12 minutes.
The cookies should be set around the edges while remaining soft in the center.
Allow them to cool on the baking sheet for five minutes before transferring to a cooling rack.
Troubleshooting Guide
Why Did My Marranitos Turn Out Hard?
Too much flour or overbaking are usually the culprits.
Reduce baking time slightly and measure flour carefully.
Why Did They Spread Too Much?
The dough may have been too warm.
Try chilling it before baking.
Why Are They Dry?
Dry marranitos usually result from overmixing or excess flour.
Why Do They Taste Bland?
Increase the cinnamon slightly or use high-quality molasses for deeper flavor.
Bakery Secrets for Better Flavor
Let the Dough Rest
Many bakers allow the dough to rest for several hours before baking. This gives the spices time to develop.
Use Both Piloncillo and Molasses
Using both ingredients creates a richer flavor than using either one alone.
Avoid Overbaking
Bakery-style marranitos stay soft because they are removed from the oven before they become fully firm.
Flavor Variations
Extra Cinnamon Version
Add an additional ½ teaspoon cinnamon.
Rich Molasses Version
Increase molasses by one tablespoon.
Holiday Spice Version
Add a pinch of nutmeg and allspice.
Mini Marranitos
Create smaller versions for parties, lunchboxes, and holiday cookie trays.
Pairing Ideas
Marranitos are versatile and pair beautifully with many drinks.
Coffee
Their sweetness balances bold coffee flavors perfectly.
Mexican Hot Chocolate
A classic pairing found throughout Mexican bakeries.
Café de Olla
The cinnamon notes complement marranitos wonderfully.
Warm Milk
Perfect for children and family gatherings.
Storage Guide
Room Temperature
Store in an airtight container for up to 5 days.
Refrigerator
They will stay fresh for about 1 week.
Freezer
Freeze for up to 3 months.
Separate layers with parchment paper to prevent sticking.
Reheating Tips
Warm a cookie in the microwave for 10 to 15 seconds to restore softness.
How to Gift and Package Marranitos
These traditional Mexican cookies make wonderful gifts.
Place them in decorative bakery boxes or clear treat bags tied with ribbon.
They’re perfect for:
- Holidays
- Family gatherings
- Bake sales
- Teacher gifts
- Cookie exchanges
Frequently Asked Questions
What Is the Difference Between Marranitos and Gingerbread?
Marranitos are softer, thicker, and more bread-like than traditional gingerbread cookies.
Are Marranitos Cookies or Bread?
They’re often described as a hybrid between cookies and sweet bread, which is why they’re commonly grouped with Mexican pan dulce.
Can I Make Marranitos Without Piloncillo?
Yes. Brown sugar can be substituted, though the flavor won’t be quite as authentic.
Can I Freeze Marranitos?
Absolutely. They freeze very well and maintain their texture when thawed properly.
Can I Make Them Without a Cookie Cutter?
Yes. Simply use a printed template and a sharp knife.
Final Thoughts
Whether you know them as marranitos, puerquitos, or cochinitos, these classic Mexican bakery treats deserve a place in every home baker’s recipe collection.
With their soft texture, warm spices, and rich molasses flavor, they capture everything people love about traditional Mexican desserts. Best of all, they’re surprisingly simple to make.
Serve them with coffee, hot chocolate, or café de olla, and you’ll understand why these pig-shaped cookies have remained a bakery favorite for generations.

Marranitos
Ingredients
Equipment
Method
- Preheat the oven to 350°F (175°C). Line a baking sheet with parchment paper and set aside.
- In a small saucepan, combine the grated piloncillo and water. Heat over medium heat until the piloncillo completely dissolves.
- Remove the saucepan from the heat and stir in the molasses and unsalted butter. Mix until the butter melts completely. Let the mixture cool for 10 minutes.
- In a large mixing bowl, whisk together the flour, baking soda, cinnamon, ginger, and salt.
- Add the egg and vanilla extract to the cooled piloncillo mixture and whisk until combined.
- Slowly pour the wet ingredients into the bowl of dry ingredients while mixing.
- Mix until a soft dough forms. If the dough feels sticky, refrigerate it for 20 to 30 minutes.
- Lightly flour a clean surface and roll the dough to approximately ¼-inch thickness.
- Cut the dough into pig shapes using a pig cookie cutter or template.
- Transfer the cookies to the prepared baking sheet, leaving about 1 inch of space between each cookie.
- Bake for 10 to 12 minutes or until the edges are set while the centers remain soft.
- Allow the marranitos to cool on the baking sheet for 5 minutes before transferring them to a cooling rack.
- Serve warm or at room temperature with coffee, Mexican hot chocolate, or café de olla.
Nutrition
Notes
- For the most authentic flavor, use piloncillo instead of brown sugar.
- Do not overbake. Marranitos should remain soft in the center.
- If you cannot find piloncillo, substitute packed dark brown sugar.
- Store in an airtight container for up to 5 days.
- Freeze baked marranitos for up to 3 months.