baking / dessert

Rosemary Alfajores Cookies

Print Friendly, PDF & Email

Our Alfajores Cookies consist of dulce de leche sandwiched between two buttery shortbreads. We added some fresh rosemary to the shortbread dough to add a little extra kick of flavor to these classic Spanish cookies. Our photographer John said these cookies were the absolute best thing he’s eaten at Imperfect! We eat a lot of cookies here, so that says a lot.  

Be sure to save any leftover rosemary sprigs for a deliciously herby infused olive oil or this all-purpose spray.

Makes 24 sandwich cookies


  • ¾ cup (1 ½ sticks) unsalted butter
  • ¾ cup granulated sugar
  • 3 egg yolks
  • 2 tsp vanilla extract
  • ½ tsp kosher salt
  • 1 ¼ cup corn starch
  • 1 ¼ cup all purpose flour
  • 1 tsp baking powder
  • 2 tbsp minced fresh rosemary
  • 1 cup dulce de leche


  1. Cream together butter and sugar until light and fluffy. Add egg yolks, one at a time, mixing until completely incorporated each time. Add vanilla extract and mix well.
  2. Scrape sides of bowl with a rubber spatula and add cornstarch, all purpose flour, baking powder, salt and rosemary. Beat on low until soft dough forms. Do not overmix.  
  3. Divide dough in two equal parts and flatten each part into discs. Wrap each disc tightly with beeswax wraps or parchment paper. Chill for an hour. 
  4. Preheat oven to 350℉. Roll dough out on a lightly floured surface to ¼ inch thick. Use a circle cookie cutter to cut dough and place on prepared baking sheets.
  5. Bake for 8 minutes, rotating halfway through. Cool completely on the pan.
  6. Pipe dulce de leche onto half of the cookies. Place the other half of the cookies on top of the dulce de leche to form sandwiches. 

Recipe Notes and Variations

  • If you loved these Rosemary Alfajores Cookies, be sure to check out the rest of the sweet treats in our Cookies From Around the World series like our Kourabiedes.


  • Katy
    December 12, 2021 at 6:51 pm

    We made these cookies tonight and WOW! Delicious! We ended up baking the cookies for 9 minutes – 8 minutes left them a little doughy. Great recipe!

    • Imperfect
      December 18, 2021 at 4:18 pm

      So glad you loved these! And we’re so honored to be a part of your holiday celebrating! 🤗💚

  • Linda Stettler
    December 13, 2021 at 9:52 pm

    First time making these savory cookies and unfortunately they didn’t work out. Despite my better judgement, I let them cool completely on the baking sheet as per instructions, but they stuck like glue. Instead of 58 sandwich cookies I have 12 with a pile of crumbles. Next time I’ll bake them on pans lined with parchment paper.

    • Imperfect
      December 21, 2021 at 11:36 am

      Oh no, we’re so sorry to hear that they stuck to the sheet. Parchment paper is a really good tip for these for sure!

  • Anne
    December 14, 2021 at 7:04 am

    I tried this recipe and have a couple comments. First, be sure to grease your baking sheets. This wasn’t made explicit in the instructions and left me with a lot of broken cookies. Second, my cookies were not completely cooked at 8 minutes when 1/4″ thick. I recommend 10-12 min.

    • Imperfect Foods
      January 12, 2022 at 3:51 pm

      Thanks so much for giving it a try, we’re so happy to hear your feedback!

  • Emily
    January 4, 2022 at 7:58 pm

    These were super popular this holiday! Used parchment paper on the baking sheet, cuz these tend to stick. Made into fun xmas 🎄 shapes.

    • Imperfect
      January 8, 2022 at 2:37 pm

      So happy that they were such a hit! 😍✨


Leave a Reply