Desserts
A 4oz cake that bakes in just 20 minutes is the perfect solution for single-serving indulgence without the fuss of a full-sized dessert. This recipe delivers moist, tender layers with a crispy top—ideal for satisfying cravings or impressing someone special with minimal effort. The secret lies in precise measurements and a foolproof technique that ensures consistent results every time.
What makes this recipe stand out is its versatility—whether you crave rich chocolate, classic vanilla, or even a gluten-free adaptation, the base remains simple and adaptable. With just five key ingredients and one mixing bowl, you’ll have a perfectly baked cake ready in under half an hour. No special equipment or baking expertise is required, making it accessible for beginners and seasoned bakers alike.
The result is a golden-brown, single-serving cake with a tender crumb and just the right amount of sweetness. The texture is light yet substantial, and the aroma filling your kitchen will make it feel like a treat worthy of a celebration. Serve it warm with a dollop of whipped cream or a scoop of ice cream for the ultimate indulgence.
For those with dietary preferences, substitutions like almond flour or coconut sugar can easily be incorporated without compromising texture or flavor. Whether you’re baking for one or scaling up for a crowd, this recipe is designed to deliver restaurant-quality results in minutes. Let’s get started!
Ingredients for 4oz cake
Five simple ingredients transform into golden-brown perfection in minutes—ideal for single servings.
| Ingredient | Amount | Notes |
|---|---|---|
| All-Purpose Flour 🌾 | ½ cup | Sifted for even texture |
| Granulated Sugar 🍚 | ¼ cup | White or light brown |
| Unsalted Butter 🧈 | ¼ cup | Room temperature, cubed |
| Large Eggs 🥚 | 1 whole | Room temperature preferred |
| Vanilla Extract 🌿 | ½ tbsp | Pure extract, not imitation |
| Baking Powder 🧂 | ½ tsp | Aluminum-free preferred |
| Salt 🧂 | ¼ tsp | Fine sea salt preferred |
| Milk 🥛 | ⅛ cup | Whole milk for richness |
| Cocoa Powder 🍫 | ⅛ cup | Unsweetened Dutch-processed |
| Vegetable Oil 🫒 | ¼ cup | Light or canola oil |
The all-purpose flour is the backbone of this cake—King Arthur or Bob's Red Mill brands yield the best texture. For a gluten-free adaptation, swap with almond flour (though texture will differ slightly). The unsalted butter should be at room temperature for even mixing—no one likes lumps in their cake batter. Cocoa powder makes the difference between chocolate cake and chocolate flavor—Dutch-processed varieties like Hershey's Special Dark ensure smoothness. Milk can be substituted with almond or oat milk for dairy-free versions, though texture may vary.
No vanilla extract? Pure vanilla bean paste works equally well, or even vanilla sugar (reduce other sugar by 1 tbsp). Short on baking powder? Baking soda plus 1/4 tsp cream of tartar mimics its lift. The vegetable oil acts as a tenderizer—avocado oil adds a subtle nutty note if you prefer. For a richer cake, increase the butter by 1 tbsp. The salt balances sweetness; Diamond Crystal kosher salt dissolves best. Pre-sifted flour mixes faster—Bob's Red Mill sells it pre-sifted for convenience.
Store batter in an airtight container in the fridge for up to 24 hours—mix thoroughly before baking. Baked cakes keep at room temperature for 2 days or in the fridge for 5 days. Freeze portions for 3 months by wrapping tightly in plastic. For chocolate flavor, add 1/4 cup cocoa powder; for vanilla, omit cocoa and add 1 tsp vanilla bean paste. Always bake in 4oz ramekins for perfect single servings—Ceramic or glass conducts heat best.
Why You'll Love This Recipe
- No-Weigh Fuss: I just eyeball the butter and flour—no scale needed. That creamy butter-egg ratio? It’s the secret to a cake so tender, you’ll forget it took any effort at all.
- Vanilla Butter Bliss: The vanilla extract cuts through the sweetness just enough to make every bite feel like a hug. Honestly, I’ve tried fancier extracts, but this classic combo is my go-to for pure, nostalgic flavor.
- Portion Perfection: Four ounces? Perfect for one serving—no leftovers cluttering your fridge. But make two, and you’ve got a dessert that’s just right for date night or a quiet evening in.
- Budget Magic: Flour, sugar, butter, eggs—these are pantry staples that won’t break the bank. I’ve made this cake for years, and it’s always the first thing I reach for when I need something sweet without the splurge.
Step-by-step instructions for single-serve chocolate cake
Master this technique and you'll achieve perfectly moist, rich chocolate cake every time—ready in under 20 minutes.
Prepare the Dry and Wet Ingredients
In a medium bowl, whisk together the 0.5 cup all-purpose flour, 0.5 teaspoon baking powder, and 0.25 teaspoon salt. Sift the mixture once to eliminate any lumps, which ensures a light, even texture. Set aside—this is your dry component.
In a separate bowl, combine the 0.25 cup granulated sugar, 0.25 cup room-temperature unsalted butter, and 0.25 cup vegetable oil. Whisk vigorously until the mixture becomes pale and fluffy, about 2-3 minutes. This step incorporates air, which creates that signature tender crumb. Add the 1 whole large egg and whisk until fully incorporated, scraping down the sides of the bowl as needed.
Combine Wet and Dry Ingredients
Gradually add the dry ingredients to the wet mixture in 3 additions, whisking just until combined after each addition. This prevents overmixing, which can lead to a dense cake. Stir in the 0.5 tablespoon vanilla extract and 0.125 cup milk until smooth. The batter should be thick but pourable—if it's too stiff, add 1 teaspoon milk at a time until it reaches the right consistency.
In a small bowl, whisk together the 0.125 cup cocoa powder with 1 tablespoon milk to create a smooth paste. This prevents clumping in the batter. Gently fold this cocoa mixture into the batter until evenly distributed. The batter will darken slightly, indicating proper incorporation.
Bake to Perfect Doneness
Preheat your oven to 350°F and lightly grease a 4-ounce ramekin or small cake pan. Pour the batter into the prepared pan and smooth the top with a spatula. Place the pan in the center rack of the oven and bake for 18-20 minutes, or until a toothpick inserted into the center comes out clean with just a few moist crumbs clinging to it.
Here's the thing—chocolate cake can darken quickly, so watch for the edges to pull away from the sides of the pan and the center to spring back slowly when touched. If the top browns too quickly, tent the pan loosely with aluminum foil after 10 minutes to prevent over-browning while maintaining even cooking.
Cool and Serve
Remove the cake from the oven and let it cool in the pan for 5 minutes. This brief rest prevents cracking as it shrinks slightly. Run a thin knife around the edges to loosen the cake, then invert it onto a serving plate. Allow it to cool completely before serving—this ensures clean slices and prevents a crumbly texture.
The cake should have a moist, fudgy interior with a slightly crisp exterior. For an extra touch of indulgence, dust with powdered sugar or drizzle with melted chocolate. Serve immediately while still warm for the best experience, or store covered at room temperature for up to 2 days.
Pro Tips For Making 4oz Cake
- MEASURE BUTTER BY WEIGHT: When the recipe calls for butter, grab the scale instead of eyeballing cups—especially for a small 4oz batch. Butter compacts differently in ramekins, and a ¼ cup measure can fool you by 10 grams either way. I learned this after making a cake that was either too dense or too greasy, depending on the batch.
- WHISK EGGS ROOM TEMP: Pull eggs out of the fridge 30 minutes before starting—cold eggs won’t emulsify as well with the butter, leading to a cake that’s more likely to crack or sink in the middle. I was skeptical until I tried it; now I never skip this, even if I’m in a rush.
- SIFT FLOUR FIRST: Skip the sifting? Your cake will settle unevenly, especially in small ramekins. Use a fine-mesh sieve to aerate the flour before mixing—it lightens the texture and prevents a heavy, compact crumb. This isn’t the prettiest method, but it’s the thing that matters most for a tender result.
- BAKE UNTIL COOLER THAN YOU THINK: The cake will keep rising after you pull it from the oven—stop when the center is just set but still slightly springy to the touch. Overbaking dries out the crumb, and underbaking leaves it gummy. I used to pull mine too soon, then wondered why it tasted underdone. Now I wait.
Perfect pairings for this dish
Creamy Pairings
Top your 4oz cake with a scoop of vanilla bean ice cream from Ben & Jerry's or Häagen-Dazs—the cold creaminess contrasts beautifully with the warm cake. For a lighter option, try coconut whipped cream (whip ½ cup coconut cream with 1 tsp powdered sugar until fluffy). This adds a tropical twist that complements chocolate or vanilla flavors without overpowering. 🥥
Fruit Toppings
Fresh raspberries or blackberries add a tart contrast to the sweet cake. Toss ½ cup berries with 1 tsp honey and 1 tsp lemon juice before arranging them on top. For a richer pairing, try sautéed peaches (simmer ½ cup sliced peaches with 1 tbsp brown sugar and ½ tsp cinnamon for 5 minutes). The caramelized fruit elevates the cake to dessert-worthy status.
Chocolate Drizzles
Drizzle melted dark chocolate (melt 2 oz 70% dark chocolate with 1 tsp coconut oil) over the cake for a decadent finish. For extra flair, add crushed hazelnuts or sea salt flakes on top. If you prefer white chocolate, melt 2 oz white chocolate with 1 tsp heavy cream for a smoother drizzle. The contrast of bitter and sweet makes every bite unforgettable. 🍫
Coffee or Tea
Pair your cake with a strong espresso or chai tea to enhance the chocolate flavors. A 1-ounce shot of espresso cuts through the richness, while spiced chai adds warmth that complements vanilla or spiced cakes. For a non-caffeinated option, try hibiscus tea—its tartness balances sweetness perfectly. Serve warm for the best experience.
Nutty Additions
Toast ¼ cup chopped walnuts or pecans in a dry skillet over medium heat for 3-4 minutes until fragrant. Sprinkle them over the cake for crunch and depth. For a nut butter twist, drizzle 2 tbsp almond butter (thinned with 1 tsp warm water) over the top. The nutty flavor pairs especially well with chocolate cakes. 🌰
Nutrition facts
Frequently asked questions
Can I make this recipe without eggs?
Yes! For a single-serving cake, replace the 1 egg with 1 tablespoon ground flaxseed mixed with 3 tablespoons water (let sit for 5 minutes to thicken). For a richer texture, use ¼ cup unsweetened applesauce or 2 tablespoons Greek yogurt. The cake may be slightly denser but still delicious.
What’s the best way to scale this up for 4 servings?
Double all ingredients and bake in 4 individual 4oz ramekins simultaneously. For even cooking, rotate the pans halfway through the 18-20 minute bake time. Alternatively, use a 6-inch round pan and reduce baking time to 15-18 minutes. Adjust oven rack position if the top browns too quickly.
Why did my cake sink in the middle?
This usually happens from overmixing the batter or opening the oven too soon. Whisk just until combined (not smooth) and avoid peeking! For a 4oz cake, bake until a toothpick comes out with moist crumbs—not completely clean. If it sinks, next time reduce baking powder by ¼ teaspoon or bake at 325°F instead of 350°F.
Can I use this recipe for a gluten-free cake?
Swap the ½ cup all-purpose flour with ½ cup gluten-free 1:1 baking flour (like Bob’s Red Mill or King Arthur). Add ½ teaspoon xanthan gum to improve texture. For extra moisture, increase the milk by 1 tablespoon. The cake will be slightly denser but still tender. Test your flour blend first in a small batch.
How do I store leftover batter?
Transfer batter to an airtight container and refrigerate for up to 24 hours. Before baking, let it sit at room temperature for 30 minutes to normalize. For longer storage, freeze batter in 1-ounce portions for up to 3 months. Thaw overnight in the fridge before baking—never microwave.
