Italian rainbow cookies are a classic bakery treat with three thin, colorful layers—green, white, and red—held together with apricot jam and coated in chocolate. This slice-and-bake version simplifies the process by baking the layers in one pan and slicing them into neat bars, making it a genuinely useful recipe for home bakers. The cookies are soft, almost cake-like, with a rich almond flavor that pairs perfectly with the bittersweet chocolate coating.
Ingredients
- For the cookie layers:
- 2 cups (250 g) all-purpose flour
- 1 teaspoon baking powder
- 1/2 teaspoon salt
- 1 cup (2 sticks, 226 g) unsalted butter, softened
- 1 cup (200 g) granulated sugar
- 4 large eggs, at room temperature
- 1 teaspoon almond extract
- 1 teaspoon vanilla extract
- Red and green gel food coloring
- For the filling and coating:
- 1/2 cup (160 g) apricot jam, warmed and strained if chunky
- 8 ounces (225 g) semisweet or bittersweet chocolate, chopped
- 1 tablespoon coconut oil or vegetable shortening (optional, for smoother melting)
Instructions
- Preheat the oven to 350°F (175°C). Line a 9×13-inch baking pan with parchment paper, leaving overhang on two opposite sides for easy lifting.
- Whisk the dry ingredients: In a medium bowl, whisk together the flour, baking powder, and salt. Set aside.
- Cream the butter and sugar: In a large bowl, beat the softened butter and sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes. Add the eggs one at a time, beating well after each addition. Mix in the almond extract and vanilla extract.
- Add the dry ingredients: Reduce the mixer speed to low and gradually add the flour mixture, mixing just until combined. The batter will be thick and smooth.
- Divide and color the batter: Weigh or measure the batter and divide it into three equal portions (about 1 1/3 cups each). Put one portion in a small bowl and tint it with red gel food coloring until you reach a vibrant red. Tint another portion green. Leave the third portion plain (white).
- Bake the layers: Spread the green batter evenly into the prepared pan, using an offset spatula to smooth the top. Bake for 10–12 minutes, until the layer is set and the edges are just beginning to pull away. Let cool in the pan for 5 minutes, then carefully lift the parchment to remove the layer. Place it on a wire rack to cool completely. Repeat with the white and red batters, cooling the pan between layers (just wipe it clean and re-line with fresh parchment).
- Assemble the layers: Once all three layers are completely cool, place the green layer on a cutting board. Spread a thin, even layer of warm apricot jam over the top. Top with the white layer and spread another thin layer of jam. Top with the red layer. Gently press the layers together.
- Chill the stack: Wrap the stacked layers in plastic wrap and refrigerate for at least 1 hour, or up to overnight. This makes slicing much easier.
- Slice the cookies: Using a sharp chef’s knife, trim the edges if desired, then slice the stack into 1-inch-wide bars. You should get about 12–14 bars.
- Melt the chocolate: Place the chopped chocolate and coconut oil (if using) in a microwave-safe bowl. Microwave in 30-second bursts, stirring after each, until melted and smooth. Alternatively, melt in a double boiler over simmering water.
- Coat the cookies: Dip each bar into the melted chocolate, turning to coat all sides. Use a fork to lift it out, letting the excess drip off. Place the coated bars on a parchment-lined baking sheet. If you prefer a neater look, you can spoon the chocolate over the tops and sides instead of dipping.
- Set the chocolate: Refrigerate the cookies for 15–20 minutes, until the chocolate is firm. Store in an airtight container.
Tips
- Use gel food coloring: Gel colors give vibrant red and green without thinning the batter like liquid drops can. If using liquid, add it a few drops at a time and expect a slightly softer color.
- Keep layers thin: The batter should be spread very thinly—about 1/4 inch thick. If your pan is slightly smaller, the layers will be a bit thicker; just increase the bake time by a minute or two.
- Chill before slicing: Don’t skip the chilling step. A well-chilled stack slices cleanly without squishing the layers. If the layers start to slide, pop them back in the fridge for 15 minutes.
- Substitutions: No almond extract? Use 1 teaspoon of vanilla extract in its place, but note that the almond flavor is what makes these cookies distinctive. You can also use raspberry jam instead of apricot for a different flavor.
Serving Suggestions
Serve these rainbow cookies as part of a holiday cookie platter, or alongside a cup of espresso or tea. They also make a lovely homemade gift—wrap a few in a clear cellophane bag tied with a ribbon. For a festive dessert, arrange them on a serving board with fresh berries and a dusting of powdered sugar.
Variations
- Citrus twist: Add 1 teaspoon of lemon zest to the white layer for a bright, citrusy note.
- White chocolate coating: Swap the dark chocolate for white chocolate for a sweeter, creamier finish.
- Nutty crunch: Sprinkle chopped pistachios or slivered almonds over the melted chocolate before it sets.
- No-jam version: If you prefer a less sticky filling, use a thin layer of buttercream or just skip the jam and press the layers together with a little melted chocolate.
Storage and Reheating
Store the cookies in an airtight container at room temperature for up to 5 days, or in the refrigerator for up to 2 weeks. The chocolate coating helps keep them moist. For longer storage, freeze the uncoated bars (after slicing and before dipping) in a single layer in a freezer-safe container for up to 3 months. Thaw in the refrigerator overnight, then coat with chocolate. If you refrigerate the finished cookies, let them sit at room temperature for 10–15 minutes before serving to soften slightly.
Related
Frequently Asked Questions
Can I make these cookies without a 9×13-inch pan? Yes, you can use an 8×8-inch pan, but the layers will be thicker and you’ll need to bake them longer (about 15–18 minutes). You’ll also get fewer cookies—about 8–10 bars. Just be sure to adjust the baking time and check for doneness with a toothpick.
Why are my layers sticking to the parchment? This can happen if the layers are underbaked. Make sure each layer is fully set before removing it from the pan. Also, using fresh parchment for each layer helps—reusing the same sheet can cause sticking.
Can I use a different jam? Absolutely. Raspberry, strawberry, or even seedless blackberry jam work well. Just make sure it’s not too runny; if it is, simmer it for a few minutes to thicken before spreading.
My chocolate coating is streaky or dull. What went wrong? Streaks often happen when the chocolate is overheated or when water gets in. Melt the chocolate slowly and avoid covering the bowl—condensation can ruin the texture. If the chocolate seizes, stir in a little warm water (a teaspoon at a time) to bring it back, or just start over with fresh chocolate.
Can I make the dough ahead of time? Yes, you can bake the layers up to 2 days ahead and keep them wrapped in the refrigerator. Assemble and coat them on the day you plan to serve. The finished cookies also keep well for several days.
Do I really need to use almond extract? It’s what gives these cookies their signature flavor. If you’re not a fan, you can use 1 teaspoon of vanilla extract instead, but the cookies will taste more like a plain sponge. For a stronger almond flavor, you can also add 1/4 teaspoon of almond extract to the chocolate coating.