Dinners

Two the Moon Cake Recipe (Blue Moon Cake)

Updated · By Patriot Kitchen

Total timeincludes chilling, rising or resting
1 hr 55 min
Prep
25 min
hands-on
Cook
30 min
oven or stovetop
Serves
12
as written

Jump to recipe Save

This cake gets its name from the two-tone batter: a vanilla and a blue-tinted layer that bake into a moon-like marbled or half-and-half crumb. The ratio that makes it work is equal parts butter, sugar, and flour by weight, with eggs and milk to loosen the batter. It bakes into a tender, fine-crumbed yellow cake with a mild almond-vanilla flavor and a sky-blue swirl.

Ingredients

  • 1 cup (226 g) unsalted butter, softened
  • 1 1/2 cups (300 g) granulated sugar
  • 4 large eggs, room temperature
  • 2 1/2 cups (313 g) all-purpose flour
  • 2 tsp baking powder
  • 1/2 tsp salt
  • 3/4 cup (180 ml) whole milk, room temperature
  • 2 tsp vanilla extract
  • 1/2 tsp almond extract
  • Blue gel food coloring (about 1/2 tsp, or enough to make a deep sky blue)

For the glaze (optional)

  • 1 cup (120 g) powdered sugar
  • 2 tbsp (30 ml) milk or cream
  • 1/4 tsp vanilla extract

Instructions

  1. Heat the oven to 350°F (175°C). Grease and flour a 9×5-inch (23×13 cm) loaf pan or line it with parchment paper.
  2. In a large bowl, beat the butter and sugar together until light and fluffy, about 3 minutes. Add the eggs one at a time, beating well after each.
  3. In a separate bowl, whisk the flour, baking powder, and salt. Add the dry ingredients to the butter mixture in three additions, alternating with the milk, starting and ending with flour. Stir in the vanilla and almond extracts until just combined.
  4. Divide the batter into two bowls. Stir the blue food coloring into one bowl until the color is uniform. The other bowl stays plain.
  5. Spoon the two batters into the prepared pan in alternating dollops, then use a knife to make a few gentle swirls. Do not overmix or the colors will blend into one.
  6. Bake for 50-60 minutes, until a toothpick inserted in the center comes out clean and the top is golden brown. If the top browns too fast, tent loosely with foil after 40 minutes.
  7. Cool in the pan for 15 minutes, then turn out onto a wire rack to cool completely, about 1 hour.
  8. For the glaze, whisk the powdered sugar, milk, and vanilla until smooth. Drizzle over the cooled cake and let set for 10 minutes before slicing.

Why the Cake Comes Out Dry, Dense, or Muddy-Colored

Three problems show up most often. A dry cake means the flour was overmeasured or the cake baked too long. A dense, heavy crumb means the batter was overmixed after adding the flour, which develops gluten. A muddy gray-blue instead of a clear sky blue means the food coloring reacted with the butter or was overmixed into the plain batter.

For dry cake: spoon the flour into the measuring cup and level it, or weigh it. Check the cake at 50 minutes. If the toothpick has crumbs, bake 5 more minutes and check again. Overbaking by even 5 minutes dries out the crumb.

For dense cake: mix the flour in just until no streaks remain. The batter will be slightly lumpy, which is fine. Overmixing makes the cake tough and low-risen.

For muddy color: use gel food coloring, not liquid drops, and add it to the batter before you combine the two batters. Fold the two colors together with just 3-4 strokes of a knife. Too many strokes turn the whole cake blue-gray.

Substitutions That Work

  • Butter: Use 1 cup (226 g) of margarine or a plant-based butter substitute for a dairy-free version. The cake will be slightly less tender.
  • Milk: Replace with 3/4 cup (180 ml) of buttermilk or plain yogurt thinned with 2 tbsp water. The cake will be more tender and slightly tangy.
  • Almond extract: Omit it for a pure vanilla cake, or replace with 1/2 tsp lemon zest for a citrus note.
  • Blue food coloring: Use 1/2 tsp of blue spirulina powder mixed with 1 tbsp of the milk from the recipe. The color will be a softer, natural blue.
  • All-purpose flour: For a gluten-free version, use a 1:1 gluten-free baking flour that contains xanthan gum. The crumb will be slightly more crumbly.

Storing and Freezing the Cake

Store the cake in an airtight container at room temperature for up to 3 days. The glaze will soften if the cake is covered while still warm, so let it set completely first.

To freeze, wrap the cooled, unglazed cake tightly in plastic wrap and then foil. Freeze for up to 3 months. Thaw in the refrigerator overnight, then bring to room temperature before glazing and serving.

If you plan to serve it over several days, keep it in the fridge after day 3, but bring slices to room temperature before eating. The cake dries out faster in the refrigerator, so only refrigerate if you need to keep it past day 3.

What to Do With the Leftover Batter or a Single Layer

If you only want a smaller cake, halve the recipe and bake in a 6×3-inch (15×8 cm) loaf pan for 35-40 minutes, or make 6 cupcakes and bake for 18-22 minutes. The same temperature applies.

For a layer cake, double the recipe and bake in two 9-inch (23 cm) round pans for 25-30 minutes, until the centers spring back when touched. Cool completely before frosting with a buttercream of your choice.

Leftover batter can be refrigerated for up to 1 hour before baking, but the baking powder will lose some lift, so bake it as soon as possible.

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).