These walnut thumbprint cookies combine a buttery, nutty base with a sweet fruit or chocolate center. They have a crisp edge and a soft middle, making them suitable for holiday platters, tea time, or potluck desserts.
Because this recipe involves raw flour and raw eggs, heat-treat the flour to 160°F (71°C) and let it cool before mixing, and use pasteurised eggs. This prevents foodborne illness; pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.
Serves 24 · Prep 20 min · Cook 12 min · Total 32 min
Ingredients
- 1 cup (115 g) unsalted butter, softened to room temperature
- 1/2 cup (100 g) granulated white sugar
- 1 large pasteurised egg
- 1 teaspoon (5 ml) vanilla extract
- 2 cups (250 g) all-purpose flour, heat-treated to 160°F (71°C)
- 1/2 teaspoon (3 g) baking powder
- 1/4 teaspoon (1.5 g) salt
- 1/2 cup (60 g) finely chopped walnuts
- 1/3 cup (80 ml) apricot jam, raspberry jam, or melted semi-sweet chocolate for filling
Instructions
- Preheat the oven to 350°F (175°C). Line two large baking sheets (approximately 13 by 18 inches / 33 by 45 cm) with parchment paper or silicone baking mats to prevent sticking.
- In a large mixing bowl or a stand mixer fitted with the paddle attachment, cream together the softened butter and granulated sugar on medium speed for 2-3 minutes until the mixture is pale and fluffy.
- Add the pasteurised egg and vanilla extract to the butter mixture. Beat on medium speed until fully combined and smooth.
- In a separate medium bowl, whisk together the heat-treated flour, baking powder, and salt.
- Turn the mixer to low speed and gradually add the dry flour mixture to the wet ingredients. Mix only until the flour streaks disappear to avoid overworking the gluten, which can make the cookies tough.
- Fold in the finely chopped walnuts using a spatula or a wooden spoon until the nuts are evenly distributed throughout the dough.
- Scoop about 1 tablespoon (15 ml) of dough and roll it between your palms to form a ball approximately 1 inch (2.5 cm) in diameter. Place the balls 2 inches (5 cm) apart on the prepared baking sheets.
- Use your thumb or the back of a small rounded measuring spoon to press a shallow indentation into the center of each ball. Do not press all the way through the bottom of the cookie.
- Spoon approximately 1/2 teaspoon (2.5 ml) of jam or melted chocolate into each indentation.
- Bake at 350°F (175°C) for 10-12 minutes, or until the edges are lightly golden brown and the cookies are set.
- Remove from the oven and allow the cookies to cool on the baking sheet for 5 minutes before transferring them to a wire rack to cool completely.
Adjusting Walnut Thumbprint Cookie Textures
The consistency of the dough determines whether the cookie holds its shape or spreads too thin. If the dough is too runny and the thumbprints flatten out during baking, the butter was likely too warm or too much fat was incorporated. To fix runny dough, chill the shaped balls in the refrigerator for 15-30 minutes before pressing the indentation and baking. This firms up the butter and ensures the cookies maintain their height.
If the dough is too dry or crumbly, it may crack around the edges when you press your thumb into the center. This happens when there is too much flour or the butter was not creamed sufficiently. To fix dry dough, add one teaspoon (5 ml) of room-temperature milk or cream at a time and mix until the dough is pliable enough to roll into a smooth ball without cracking.
Dense, heavy cookies usually result from over-mixing the flour or using expired baking powder. When flour is mixed too long, gluten develops, creating a bread-like structure rather than a tender crumb. To prevent density, stop mixing the moment the flour is incorporated. If the cookies do not rise at all, check the baking powder by placing a pinch in hot water; if it does not bubble immediately, it has lost its potency and must be replaced.
Walnut Thumbprint Cookie Substitutions
| Ingredient | Substitution | Ratio/Change |
|---|---|---|
| Walnuts | Pecans or Hazelnuts | 1:1 ratio; pecans add a richer, sweeter flavor. |
| Granulated Sugar | Brown Sugar | 1:1 ratio; results in a chewier texture and molasses flavor. |
| Apricot Jam | Raspberry or Blackberry Jam | 1:1 ratio; changes the flavor profile to a sharper tartness. |
| All-Purpose Flour | Almond Flour | Replace 1/2 cup of AP flour with 1/2 cup almond flour for a grainier, nuttier base. |
Preventing Walnut Thumbprint Cookie Failures
One common mistake is over-filling the center of the cookie. If the jam or chocolate overflows the indentation, it will leak onto the baking sheet and burn, creating a sticky residue and causing the cookie to slide. Use a small spoon or a piping bag to place exactly 1/2 teaspoon of filling in the center, leaving a small rim of dough around the edge to act as a wall.
Another error is pressing the thumbprint too deep. If the indentation reaches the bottom of the dough ball, the filling will seep through the base and stick to the parchment paper. The indentation should be about 1/4 to 1/2 inch (0.6 to 1.3 cm) deep. If you find the dough is too soft to hold a deep hole, chill the dough balls for 10 minutes before pressing.
Using butter that is too soft (almost melted) instead of room temperature butter will cause the cookies to spread excessively. Room temperature butter should be cool to the touch but leave an indentation when pressed with a finger. If the butter is oily, the cookies will lose their round shape and become flat discs, which prevents the filling from staying centered.
Measuring for Consistency
For the most consistent results, use a kitchen scale to measure flour. One cup of all-purpose flour typically weighs 125 grams, but scooping directly from the bag can compress the flour, leading to as much as 150 grams per cup. This excess flour makes the cookies dry and prone to cracking. Spoon the flour into the measuring cup and level it off with a knife, or use the 250 g measurement provided in the ingredients list.
Storing Walnut Thumbprint Cookies
Once completely cooled, store the walnut thumbprint cookies in an airtight container. If the cookies are filled with jam, they should be refrigerated to prevent the fruit filling from spoiling, especially in warm environments. In the refrigerator, these cookies keep for about 3-5 days. To serve them at room temperature, remove them from the fridge 30 minutes before eating.
For long-term storage, these cookies can be frozen. Place the cooled cookies on a tray and freeze for 1 hour until hard, then transfer them to a freezer-safe bag or container. They will maintain their quality for about 2-3 months in the freezer. Thaw them in the refrigerator overnight or on the counter for 2 hours before serving.
If the cookies are stored at room temperature in a dry, cool area, they typically last for 2-3 days. However, because of the moisture in the jam and the fats in the walnuts, refrigeration is the safest method to ensure they do not develop off-flavors. Always check that the cookies are entirely cool before sealing the container; trapping steam inside the container will make the cookies soft and soggy.