Pin This My sister texted me a photo of her new tattoo—a small Pisces symbol behind her ear—right before her birthday, and I knew exactly what I needed to bake. This cake came together during an afternoon when the kitchen felt like a laboratory, mixing food coloring into buttercream while my niece pressed her face against the counter, watching the swirls of navy and teal blend into something that looked like an actual galaxy. Something about creating a dreamy, ocean-inspired cake felt perfectly fitting for someone born under the water sign, someone whose taste in everything tends toward the magical and the whimsical.
I'll never forget watching my sister's face light up when she walked in and saw the cake sitting on the dining table, all swirled purples and teals catching the afternoon light like an actual ocean sky. She laughed and immediately took about fifteen photos before anyone could even cut into it, which felt like the highest compliment. The cake disappeared faster than expected, which told me everything I needed to know about whether it was worth the effort.
What's for Dinner Tonight? 🤔
Stop stressing. Get 10 fast recipes that actually work on busy nights.
Free. No spam. Just easy meals.
Ingredients
- All-purpose flour: Use 2 1/2 cups (315 g) and whisk it with baking powder and salt to distribute the leavening evenly, which keeps the cake tender and prevents dense spots.
- Baking powder: 2 1/2 teaspoons is crucial here; don't skimp or substitute, as it's what gives this cake its fluffy, cloud-like crumb.
- Salt: Just 1/2 teaspoon enhances the vanilla flavor and balances the sweetness without tasting salty.
- Unsalted butter: 1 cup (225 g) softened to room temperature is non-negotiable; cold butter won't cream properly with the sugar, and that's where the fluffiness begins.
- Granulated sugar: 1 3/4 cups (350 g) creams with the butter to incorporate air, which is the magic that makes this cake rise.
- Eggs: Use 4 large eggs at room temperature; cold eggs won't incorporate smoothly and can make the batter lumpy and dense.
- Vanilla extract: 2 teaspoons for the cake (plus 2 more for the buttercream) is the backbone of flavor; pure vanilla makes a noticeable difference.
- Whole milk: 1 cup (240 ml) at room temperature keeps the batter smooth and the cake moist; cold milk can seize the butter.
- Unsalted butter for buttercream: 1 1/2 cups (340 g) softened is what creates that creamy, spreadable frosting that holds color beautifully.
- Powdered sugar: 6 cups (720 g) sifted removes lumps that would otherwise create graininess in your buttercream.
- Gel food coloring: Navy blue, teal, purple, turquoise, and white are your galaxy palette; gel holds color better than liquid and won't thin the buttercream.
- Edible glitter or white sprinkles: These are the stars that finish the look and make people gasp when they see the cake.
Tired of Takeout? 🥡
Get 10 meals you can make faster than delivery arrives. Seriously.
One email. No spam. Unsubscribe anytime.
Instructions
- Set up and preheat:
- Turn your oven to 350°F (175°C) and grease two 8-inch round pans, then line them with parchment paper so the cakes release cleanly without sticking. This step takes two minutes but saves so much frustration later.
- Mix your dry ingredients:
- Whisk together the flour, baking powder, and salt in a medium bowl, making sure everything is evenly distributed. This is easier than mixing it all together later and prevents overmixing, which toughens cakes.
- Cream the butter and sugar:
- Beat the softened butter and sugar with an electric mixer for 3-4 minutes until it looks pale, fluffy, and cloud-like; this incorporates air that makes the cake rise. Stop and scrape down the bowl halfway through so everything gets incorporated.
- Add eggs one at a time:
- Drop in each egg individually, mixing well after each addition before adding the next; this prevents the batter from looking curdled and helps each egg emulsify properly. It takes a few extra minutes but makes a real difference in texture.
- Mix in vanilla:
- Add 2 teaspoons vanilla extract and mix for about 30 seconds until it's distributed. You should smell the vanilla now, which is a good sign.
- Alternate wet and dry:
- Add the flour mixture and milk in three additions, starting and ending with flour (flour, milk, flour, milk, flour), mixing on low speed just until combined after each addition. Overmixing develops gluten and makes the cake tough, so stop as soon as you don't see white streaks.
- Divide and bake:
- Split the batter evenly between the prepared pans, smooth the tops with an offset spatula, and slide them into the oven for 28-32 minutes until a toothpick inserted in the center comes out clean or with just a few moist crumbs. The kitchen will smell incredible.
- Cool with patience:
- Let the cakes sit in the pans for 10 minutes (this keeps them from cracking), then turn them out onto wire racks to cool completely. Don't frost them while they're warm or the frosting will melt into pools.
- Make the buttercream base:
- Beat 1 1/2 cups softened butter until it's creamy, then gradually add the sifted powdered sugar a little at a time, beating well to avoid lumps. Add 2 teaspoons vanilla and 1/4 cup milk, then beat for 3-4 minutes until it's smooth, fluffy, and light enough to hold peaks when you lift the mixer.
- Tint your galaxy colors:
- Divide the buttercream into 4 or 5 small bowls and add a few drops of gel food coloring to each, stirring until the color is even and the shade you want. Start with less color than you think you need; you can always add more, but you can't take it back.
- Crumb coat if desired:
- Spread a thin layer of white buttercream over the cooled cake to seal in crumbs, then chill for 15 minutes so the next layer goes on cleanly. This step is optional but makes the galaxy effect look more polished.
- Create the galaxy swirl:
- Dollop random amounts of each colored buttercream onto the cake in a haphazard pattern, then use an offset spatula to swirl and blend the colors together, dragging and pushing them to create a marbled galaxy look. The more you blend, the more the colors meld; the less you blend, the more defined the swirls stay.
- Add the stars:
- Sprinkle edible glitter or white sprinkles over the top and sides while the buttercream is still soft so they stick. This is the moment where the cake transforms into something magical.
- Chill before slicing:
- Refrigerate the finished cake for at least 30 minutes (or up to a few hours) so the frosting sets and the layers cut cleanly without smashing. Cold cake slices like butter; room-temperature cake crumbles.
Pin This The best part came later when my sister brought the leftover cake to her office and texted me a photo of her coworkers crowded around the cake, all of them asking if she'd bought it from a bakery. She sent back a photo of the message I'd written on the serving plate: "Made with love and a little bit of ocean magic," and somehow that made the whole afternoon of swirling colors and thinking about her feel like it had been worth every minute.
Still Scrolling? You'll Love This 👇
Our best 20-minute dinners in one free pack — tried and tested by thousands.
Trusted by 10,000+ home cooks.
The Vanilla Cake Foundation
There's something quietly powerful about a really good vanilla cake, especially one that's been elevated just slightly beyond the ordinary. This cake isn't trying to be chocolate or funky or experimental; it knows its job is to be a gentle canvas for something wild and colorful happening on top. I've learned over the years that vanilla cakes are often underestimated, but when they're made with attention to detail—proper creaming, room-temperature ingredients, careful mixing—they develop a subtle sweetness and tender crumb that actually tastes better the next day, once all the flavors have settled and mingled together.
Working with Gel Food Coloring
The first time I tried to tint buttercream with liquid food coloring, the frosting turned into a soupy mess, and I learned that lesson the hard way while my hands were sticky and I was already frustrated. Gel coloring changed everything—it's concentrated, so you need much less of it, and it doesn't water down the buttercream or make it weepy. A tiny dab stirred in goes a long way, and you can build the color gradually until you hit the shade you're imagining. The galaxy effect only works because the gel coloring keeps the buttercream thick enough to swirl and blend, so this detail actually matters more than it sounds.
Timing and Temperature Matter More Than You'd Think
I made this cake once at midnight because I forgot about my friend's birthday until I was already in bed, and the only thing that saved me was respecting the temperature of each ingredient. Softened butter creams properly; cold butter doesn't, and you end up with a grainy mixture that doesn't incorporate air. Room-temperature eggs emulsify smoothly; cold eggs can cause the batter to look curdled and separated, which leads to a dense, heavy cake. It takes an extra 30 minutes of planning to set everything out in advance, but that half hour makes the difference between a cake that's fluffy and tender and one that's dense and tight.
- Pull your butter, eggs, and milk out of the fridge at least an hour before you start baking, or run the eggs under warm water for a minute to bring up their temperature.
- The cake bakes for 28-32 minutes, and ovens vary, so check at 28 minutes with a toothpick; a few moist crumbs are fine, but you don't want wet batter.
- Let the cake cool completely before frosting, or the buttercream will melt and slide off like it's been defeated.
Pin This This cake is for anyone who loves dreaming, anyone born under a water sign, or anyone who just wants to bake something that looks like it came straight out of a fairytale. Make it exactly as written the first time, and then next time, add sea shells or a Pisces topper if the mood strikes you.
Recipe Q&A
- → How do I achieve the galaxy swirl effect in the buttercream?
Divide the buttercream into several bowls and tint each with different gel food colorings like navy blue, teal, purple, and turquoise. Dollop these colors randomly onto the cake and use an offset spatula to gently swirl the colors together, creating a marbled galaxy appearance.
- → Can I substitute the vanilla extract with other flavors?
Yes, almond or coconut extract can be used partially or fully instead of vanilla to give the cake a unique twist while complementing the oceanic theme.
- → What is the best way to prepare the pans for baking?
Grease the pans thoroughly and line them with parchment paper to prevent sticking and ensure the cakes release cleanly after baking.
- → How long should the cake chill before slicing?
Chill the assembled cake for at least 30 minutes to firm up the buttercream, which helps achieve clean and neat slices.
- → Are there allergen considerations to keep in mind?
This cake contains wheat, dairy, and eggs. Additionally, check the food colorings and sprinkles for any potential allergens if you have sensitivities.