Quick Recipe Version (TL;DR)
Quick Ingredients
- 4 tbsp (32 g) all-purpose flour
- 2 tbsp (25 g) packed light brown sugar
- 1 tbsp (12 g) granulated sugar
- 1/4 tsp baking powder
- 1/8 tsp baking soda
- 1/8 tsp fine salt
- 1/2 tsp ground cinnamon
- 1/8 tsp ground nutmeg
- Pinch ground ginger (optional)
- 3 tbsp (45 ml) milk
- 2 tbsp (30 ml) neutral oil (canola/vegetable)
- 1/4 tsp vanilla extract
- 1/3 cup (35 g) finely grated carrot, lightly packed
- 1 tbsp (8–10 g) chopped walnuts and/or 1 tbsp (10 g) raisins (optional)
- Frosting: 1 tbsp (15 g) cream cheese (softened), 2 tbsp (15 g) powdered sugar, 1 tsp milk, 1/8 tsp vanilla, pinch salt
Do This
- 1. In a microwave-safe mug (12–16 oz), whisk flour, sugars, baking powder, baking soda, salt, cinnamon, nutmeg (and ginger, if using).
- 2. Add milk, oil, and vanilla; stir until smooth with no dry pockets.
- 3. Fold in grated carrot (and walnuts/raisins, if using).
- 4. Microwave on HIGH (1000W) for 1 minute 10 seconds to 1 minute 20 seconds, until the top looks set but slightly springy.
- 5. Rest 1 minute (it finishes cooking and the crumb sets).
- 6. Stir frosting ingredients in a small bowl until smooth; add a few extra drops of milk if needed.
- 7. Spoon frosting over the warm cake; optionally top with a pinch of cinnamon and a few walnuts.
Why You’ll Love This Recipe
- Classic carrot cake flavor in a single serving, ready in minutes.
- Warm spices and real grated carrot make it taste homemade, not “mug-cake-ish.”
- Quick cream-cheese-style frosting gives you that bakery-style finish with minimal effort.
- Easy to customize with raisins, walnuts, or extra spice.
Grocery List
- Produce: 1 medium carrot
- Dairy: milk, cream cheese
- Pantry: all-purpose flour, light brown sugar, granulated sugar, baking powder, baking soda, fine salt, ground cinnamon, ground nutmeg, ground ginger (optional), powdered sugar, vanilla extract, neutral oil, walnuts and/or raisins (optional)
Full Ingredients
Carrot Cake Mug Cake
- 4 tbsp (32 g) all-purpose flour
- 2 tbsp (25 g) packed light brown sugar
- 1 tbsp (12 g) granulated sugar
- 1/4 tsp baking powder
- 1/8 tsp baking soda
- 1/8 tsp fine salt
- 1/2 tsp ground cinnamon
- 1/8 tsp ground nutmeg
- Pinch ground ginger (optional, about 1/16 tsp)
- 3 tbsp (45 ml) milk (any kind)
- 2 tbsp (30 ml) neutral oil (canola, vegetable, or avocado)
- 1/4 tsp vanilla extract
- 1/3 cup (35 g) finely grated carrot, lightly packed
Optional Mix-Ins
- 1 tbsp (8–10 g) chopped walnuts (plus more for topping, optional)
- 1 tbsp (10 g) raisins
Quick Cream-Cheese-Style Frosting
- 1 tbsp (15 g) cream cheese, softened to room temperature
- 2 tbsp (15 g) powdered sugar
- 1 tsp (5 ml) milk (add up to 2 tsp total as needed for consistency)
- 1/8 tsp vanilla extract
- Pinch fine salt
Optional Toppings
- Pinch of ground cinnamon
- Extra chopped walnuts or a few raisins

Step-by-Step Instructions
Step 1: Choose the right mug and prep the carrot
Use a microwave-safe mug that holds 12 to 16 ounces. A larger mug helps prevent overflow and makes stirring easier.
Finely grate the carrot (the small holes on a box grater work best). Measure out 1/3 cup (35 g), lightly packed. If your carrot seems very wet, gently squeeze it in a paper towel once; you want moisture, just not dripping.
Step 2: Mix the dry ingredients directly in the mug
Add the flour, brown sugar, granulated sugar, baking powder, baking soda, salt, cinnamon, nutmeg (and ginger, if using) to the mug.
Whisk well with a fork until the spices are evenly distributed and there are no clumps of brown sugar. This quick mixing step helps the cake rise evenly in the microwave.
Step 3: Stir in the wet ingredients until smooth
Add the milk, oil, and vanilla extract. Stir thoroughly, scraping the bottom and sides of the mug, until you have a smooth batter with no dry flour pockets.
The batter will look fairly thick at first; keep stirring and it will loosen into a glossy, spoonable consistency.
Step 4: Fold in carrot (and optional walnuts/raisins)
Add the grated carrot and gently fold it in until evenly combined. If using walnuts and/or raisins, fold them in now.
Level the top of the batter lightly with the back of the spoon so it cooks evenly.
Step 5: Microwave until set but tender
Microwave on HIGH for 1 minute 10 seconds. Check the center: the top should look set and matte, and the cake should spring back slightly when tapped.
If it still looks wet in the center, microwave in 10-second bursts until done, up to 1 minute 30 seconds total for most microwaves. (Microwave wattages vary; 1000W is the reference point for the timing above.)
Avoid overcooking; an extra 20 seconds can push it from moist to rubbery. Slightly underdone is better because it continues to set as it rests.
Step 6: Rest the cake and make the frosting
Let the mug cake rest for 1 minute. This finishes the cooking and improves the texture.
Meanwhile, in a small bowl, stir together the softened cream cheese, powdered sugar, milk, vanilla, and salt until smooth. If you want a looser drizzle-style frosting, add a few drops more milk (up to 2 tsp total). If you want it thicker, add a little more powdered sugar (about 1 tsp at a time).
Step 7: Frost, garnish, and serve warm
Spoon the frosting over the warm mug cake so it melts slightly into the top. Finish with a pinch of cinnamon and a few chopped walnuts or raisins if you like.
Eat straight from the mug, or run a knife around the edges and tip it onto a plate for a more “slice of cake” feel.
Pro Tips
- Grate the carrot finely: Big shreds can stay crunchy in a quick-cooking mug cake. Fine shreds soften fast and blend into the crumb.
- Don’t pack the flour: Spoon flour into your tablespoon measure and level it off. Too much flour makes mug cakes dense.
- Stop microwaving when just set: The cake should look cooked on top but still feel a touch soft in the center; it will firm up as it rests.
- Soften cream cheese quickly: Microwave the cream cheese on a plate for 5–8 seconds (not longer) so the frosting stirs smooth without lumps.
- For extra “carrot cake” flavor: Add a pinch of ginger and a tiny pinch of clove (about 1/32 tsp) if you have it.
Variations
- Maple-walnut carrot mug cake: Replace the granulated sugar with 1 tbsp (15 ml) maple syrup and reduce milk to 2 tbsp (30 ml). Add walnuts.
- Pineapple carrot cake twist: Fold in 1 tbsp (15 g) well-drained crushed pineapple along with the carrot for a more classic “bakery-style” vibe.
- Lighter frosting option: Swap cream cheese for 2 tbsp (30 g) thick Greek yogurt, keep powdered sugar the same, and add milk only if needed.
Storage & Make-Ahead
This mug cake is best eaten right after cooking (that’s when it’s most tender). If you need to hold it, cover and refrigerate for up to 24 hours. Rewarm the cake (without frosting) in the microwave for 10–15 seconds, then add frosting. You can also mix the dry ingredients (flour, sugars, leaveners, salt, spices) in advance and store in an airtight container for up to 1 week; when ready, add the wet ingredients and carrot and microwave.
Nutrition (per serving)
Approximate (with frosting, without optional nuts/raisins): ~520 calories, 26 g fat, 67 g carbs, 3 g fiber, 44 g sugar, 7 g protein, 360 mg sodium. Values vary by ingredient brands and exact measurements.
