Dinners

Cookie Base for Slices and Dessert Bars

Updated · By Stir & Share

Total timeprep + cook
35 min
Prep
15 min
hands-on
Cook
20 min
oven or stovetop
Serves
16
as written

Jump to recipe Save

A cookie base for slices is a dense, buttery crust that supports heavy toppings like fudge, caramel, or fruit without becoming soggy. Unlike a standard cookie, this version is pressed directly into a pan and par-baked to create a sturdy foundation for layered desserts. It works well for potlucks or lunchboxes because it holds its shape when cut into squares.

What equipment is needed for the base?

A 9×9 inch (23×23 cm) or 8×8 inch (20×20 cm) square baking pan is the standard size for this recipe. Line the pan with parchment paper, leaving an overhang on two sides to lift the slices out easily after they set. A hand mixer or a stand mixer with a paddle attachment helps cream the butter and sugar quickly. A flat-bottomed measuring cup or a spatula is necessary to press the dough firmly and evenly into the corners of the pan.

How to adjust the batch size?

The base can be scaled based on the pan size. For a standard 9×9 inch (23×23 cm) pan, use the quantities listed below. For a larger 9×13 inch (23×33 cm) rectangular pan, multiply all ingredients by 1.5. For a smaller 8×8 inch (20×20 cm) pan, multiply ingredients by 0.8 or use the full recipe for a slightly thicker crust. Ensure the par-bake time is adjusted by 2-3 minutes if the thickness changes significantly.

Pan Size Scaling Factor Estimated Thickness
8×8 inch (20×20 cm) 0.8x About 0.5 inch (1.3 cm)
9×9 inch (23×23 cm) 1.0x About 0.4 inch (1 cm)
9×13 inch (23×33 cm) 1.5x About 0.4 inch (1 cm)

Ingredients

  • 1/2 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
  • 1 1/4 cups (160 g) all-purpose flour, heat-treated to 160°F (71°C)
  • 1/4 teaspoon (1 g) salt
  • 1/2 teaspoon (2 g) baking powder

Instructions

  1. Preheat the oven to 350°F (175°C). Line a 9×9 inch (23×23 cm) square pan with parchment paper, leaving an overhang on the sides.
  2. In a large bowl, cream together the softened butter and granulated sugar using a mixer on medium speed for about 2-3 minutes until light and fluffy.
  3. Beat in the pasteurised egg and vanilla extract until fully combined.
  4. In a separate bowl, whisk together the heat-treated flour, salt, and baking powder.
  5. Gradually add the dry ingredients to the wet ingredients, mixing on low speed just until the flour disappears. Do not overmix.
  6. Transfer the dough to the prepared pan. Use a spatula or the bottom of a measuring cup to press the dough firmly and evenly into the bottom and slightly up the sides of the pan.
  7. Bake at 350°F (175°C) for 18-22 minutes, until the edges are lightly golden and the center is set.
  8. Remove from the oven and let the base cool for 10 minutes before adding your chosen topping. If the topping requires further baking, leave the base in the pan.

Why heat-treat the flour and use pasteurised eggs?

Raw flour and raw eggs can contain bacteria like E. coli or Salmonella. Because some slice toppings are not baked or are only lightly baked, the base must be safe. Heat-treat the flour by spreading it on a baking sheet and heating it in the oven at 350°F (175°C) until it reaches 160°F (71°C) on a thermometer. Use pasteurised eggs to further reduce risk. Pregnant people, young children, older adults, and anyone with a weakened immune system should avoid raw eggs and raw flour.

What happens if the base is too soft or too hard?

Under-baking the base causes it to absorb moisture from the topping, resulting in a soggy, cake-like texture that does not hold a clean edge when sliced. Over-baking causes the base to become hard or brittle, which may lead to the crust cracking or separating from the topping. If the base is too hard, reduce the baking time by 2 minutes next time. If it is too soft, ensure the butter is truly softened but not melted before creaming.

Avoid overmixing the dough after adding the flour. Overmixing develops too much gluten, which makes the base tough and chewy rather than short and crumbly. Stop mixing the moment no streaks of dry flour remain.

How to serve and pair these slices?

This base is ideal for lemon curd slices, chocolate ganache bars, or raspberry jam layers. For a balanced flavor, pair sweet slices with a cup of unsweetened black tea or a bold espresso. If serving as a dessert for a crowd, chill the completed slices for 2 hours before cutting with a hot knife to ensure sharp, clean edges. For a salty contrast, sprinkle a pinch of flaky sea salt over the topping before the final set.

How long does the cookie base keep?

An un-topped, baked cookie base can be stored in an airtight container at room temperature for about 2 days. For longer storage, wrap the baked and cooled base tightly in plastic wrap and refrigerate for up to 5 days. To freeze, wrap the base in plastic wrap and then foil; it will keep for about 3 months. Thaw in the refrigerator overnight before adding toppings or serving.

Once the slices are fully assembled with perishable toppings like cream, custard, or fresh fruit, they must be refrigerated within 2 hours. Store assembled slices in the refrigerator for 3-4 days. Reheat slices to 165°F (74°C) if they contain cooked fillings that need warming, though most slices are best served chilled or at room temperature.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).