Rainbow cookies—also called seven-layer cookies—are a classic Italian-American treat: three thin, colorful sponge layers (usually red, green, and yellow) held together with apricot jam and coated in a glossy chocolate shell. They look fancy, but the process is straightforward if you work step by step. This guide walks you through the entire method, from mixing the batters to slicing clean squares. You'll need about 2 hours of active time plus chilling time, and a few specialty pans.
What You'll Need
- Three 9x13-inch baking pans (or one pan if you plan to bake layers sequentially—but three makes it faster)
- Electric mixer (stand or hand-held)
- Mixing bowls
- Rubber spatula
- Parchment paper
- Aluminum foil (for the weights during chilling)
- Sharp chef's knife
- Wire cooling racks
- Small saucepan or microwave-safe bowl for melting chocolate
- Offset spatula (optional but helpful)
Ingredients
- 2 cups (4 sticks) unsalted butter, softened
- 2 cups granulated sugar
- 4 large eggs, separated
- 2 teaspoons almond extract
- 2 cups all-purpose flour
- 1/2 teaspoon salt
- Red and green food coloring (gel works best)
- 1 cup apricot jam (or seedless raspberry)
- 12 ounces semisweet or dark chocolate, chopped
Step-by-Step
- Prep the pans. Line each 9x13-inch pan with parchment paper, leaving overhang on the long sides for easy lifting. Lightly grease the parchment with butter or nonstick spray.
- Make the base batter. In a large bowl, cream the butter and sugar until light and fluffy (about 3 minutes). Beat in the egg yolks one at a time, then add the almond extract. In a separate bowl, whisk the flour and salt; gradually add to the butter mixture, mixing until just combined.
- Whip the egg whites. In a clean bowl, beat the egg whites to stiff peaks. Gently fold them into the batter in three additions. The batter will be thick but airy.
- Divide and color. Divide the batter equally among three bowls. Tint one bowl with red food coloring, one with green, and leave the third yellow (or add a few drops of yellow if you like). Stir each until the color is even.
- Spread the layers. Spread each colored batter into a prepared pan, using an offset spatula to make an even layer about 1/4-inch thick. It's okay if it doesn't cover the entire pan perfectly—just aim for even thickness.
- Bake. Bake at 350°F (175°C) for 8–10 minutes, or until the layers are set and just starting to pull away from the edges. They should not brown. Cool in the pans for 5 minutes, then lift out using the parchment and transfer to wire racks to cool completely.
- Assemble the layers. Place the red layer on a cutting board or baking sheet. Spread a thin, even layer of apricot jam over it. Top with the yellow layer, press gently, and spread another thin layer of jam. Top with the green layer. Press down lightly to compact.
- Chill under weight. Wrap the assembled stack tightly in plastic wrap. Place a heavy cutting board or a few plates on top to press it down. Refrigerate for at least 2 hours (or up to overnight). This helps the layers adhere and makes slicing easier.
- Melt the chocolate. Melt the chopped chocolate in a double boiler or in the microwave in 30-second bursts, stirring until smooth. Let it cool slightly so it's still fluid but not hot.
- Coat the top. Unwrap the chilled stack. Using an offset spatula, spread the melted chocolate evenly over the top layer. Let it set slightly at room temperature, then refrigerate for 10–15 minutes until the chocolate is firm but not brittle.
- Trim and slice. Using a sharp knife, trim the uneven edges. Then slice into 1-inch squares or rectangles. Use a gentle sawing motion to avoid cracking the chocolate. Wipe the knife between cuts for clean edges.
- Store. Keep the cookies in an airtight container in the refrigerator for up to 1 week, or freeze for up to 3 months (separate layers with parchment).
Common Mistakes
- Overbaking the layers: They dry out and become tough. Bake just until set—no browning.
- Skipping the chilling under weight: Without pressure, the layers may separate or slide when slicing.
- Using too much jam: Excess jam makes the cookies soggy and messy. A thin, even layer is all you need.
- Melting chocolate too hot: It will seize or become dull. Heat gently and stir frequently.
- Cutting before the chocolate sets: The coating will smear. Wait until it's firm.
Tips
- Use gel food coloring for vibrant, true colors without thinning the batter.
- If you don't have three pans, bake the layers one at a time, reusing the same pan. Just cool the pan between batches.
- For a neater finish, trim the edges before coating with chocolate—you'll get clean, professional-looking squares.
- Almond extract is traditional, but you can substitute vanilla if you prefer.
- Let the chocolate set at room temperature before refrigerating to avoid condensation, which can make the surface streaky.
- If the chocolate cracks when cutting, warm the knife under hot water and dry it before slicing.
Troubleshooting
- Layers are sticking to the pan: Make sure you lined the pans with parchment and greased it well. If still stuck, run a thin spatula around the edges to loosen.
- Layers are too thick or uneven: Use an offset spatula to spread as evenly as possible. You can also tap the pan on the counter to settle the batter.
- The stack is sliding apart: The jam may be too thick or the layers too dry. Press down firmly when assembling and chill under weight for at least 2 hours.
- Chocolate is too thick to spread: Add a teaspoon of vegetable oil or shortening to thin it slightly. Stir well.
- Cookies are too dry: Overbaking is the usual culprit. Next time, reduce oven time by 1–2 minutes. You can also brush the layers with a little simple syrup before assembling.
- Chocolate blooms (white streaks): This happens when chocolate is exposed to moisture or temperature changes. It's harmless but not pretty. To avoid, store in an airtight container and don't refrigerate uncovered.
Frequently Asked Questions
Can I use a different jam?
Yes, seedless raspberry or strawberry jam works well. Apricot is traditional for its mild flavor and golden color.
Can I make these without almond extract?
Absolutely. Use vanilla extract instead. The flavor will be different but still delicious.
How long do rainbow cookies last?
In an airtight container in the refrigerator, they stay fresh for up to 1 week. You can also freeze them for up to 3 months.
Can I use white chocolate for the coating?
Yes, white chocolate works. Just melt it gently and consider adding a little coconut oil for a smoother texture.
Do I have to use three separate pans?
No. You can bake one layer at a time in a single pan. Just cool the pan completely between batches.
Why are my layers so thin?
The batter is spread thin intentionally—that's the classic style. If you prefer thicker layers, you can use a smaller pan (8x8) and bake a bit longer, but adjust the recipe accordingly.