Carrot Cake (Easy and Ultra Moist!) Recipe
Introduction
This easy carrot cake is ultra moist and packed with delicious flavors like pineapple, coconut, and warm cinnamon. Topped with a creamy, tangy cream cheese frosting, it’s perfect for any occasion or just a sweet treat at home.

Ingredients
- 440g / 20 oz can crushed pineapple, drained but reserve juice
- 1/4 cup (65 ml) reserved canned pineapple juice
- 3/4 cup (185 ml) milk, at room temperature (full or low fat)
- 1 tsp white vinegar (or lemon juice or other clear vinegar)
- 3 eggs (55g/2oz each)
- 1 1/2 cups (265g) brown sugar, loosely packed
- 1/2 cup (125 ml) vegetable oil (or canola)
- 2 cups (300g) plain / all purpose flour
- 2 tsp baking soda (aka bi carb soda, NOT baking powder)
- 1/2 tsp salt
- 2 tsp cinnamon powder
- 2 cups grated carrot (about 2 carrots, peeled)
- 1/4 cup coconut, shredded or desiccated (plain / unsweetened)
- 1/2 cup walnuts or pecans, roughly chopped
- 180g / 6oz cream cheese, at room temperature
- 225g / 1 cup unsalted butter, softened
- 1 tsp vanilla extract
- 4 cups (480g) icing sugar / powdered sugar, sifted if clumpy
Instructions
- Step 1: Preheat oven to 180°C/350°F (all oven types). Grease and line two 20-22.5 cm (8-9″) round pans or a 9 x 13″ (22 x 33cm) pan with baking/parchment paper.
- Step 2: Drain the crushed pineapple well, reserving the juice. Measure out 1/4 cup of the reserved pineapple juice.
- Step 3: In a large bowl, whisk together the flour, baking soda, salt, and cinnamon powder.
- Step 4: In a separate bowl, whisk the milk, vinegar, eggs, brown sugar, vegetable oil, and reserved 1/4 cup pineapple juice until combined.
- Step 5: Stir grated carrot, crushed pineapple, coconut, and chopped nuts into the wet ingredients.
- Step 6: Pour the wet ingredients into the dry ingredients and stir until the flour is just incorporated. Avoid overmixing.
- Step 7: Pour batter into prepared pan(s). Bake round cakes for 35 minutes or the rectangle pan for 40 minutes, until a skewer inserted into the center comes out clean and the cake is golden on top.
- Step 8: Allow cakes to rest in the pan for 10 minutes, then turn onto a cooling rack to cool completely before frosting.
- Step 9: For the cream cheese frosting, beat together the cream cheese, softened butter, and vanilla extract until smooth.
- Step 10: Gradually beat in the icing sugar in two batches until fluffy and fully combined, about 3 minutes with a stand mixer.
- Step 11: Place one cake layer upside down on a serving platter for a flat surface. Spread with one-third of the frosting. Top with the second cake layer upside down, then frost the top and sides with the remaining frosting.
Tips & Variations
- Use freshly grated carrots for the best texture and sweetness.
- Substitute walnuts with pecans or omit nuts for a nut-free version.
- For extra moistness, lightly soak the grated carrots in pineapple juice before adding to the batter.
- If you prefer a tangier frosting, add a teaspoon of lemon juice to the cream cheese mixture.
- Try adding a pinch of nutmeg or ginger for a warm spice twist.
Storage
Store the carrot cake in an airtight container. If your environment is cooler than 25°C/77°F and not humid, it’s fine at room temperature. Otherwise, keep it refrigerated. Before serving, let it come to room temperature for the best flavor and texture. The cake stays fresh for up to 4 days refrigerated.
How to Serve

Serve this delicious recipe with your favorite sides.
FAQs
Can I make this cake gluten-free?
Yes, you can substitute the plain flour with a 1:1 gluten-free baking flour blend. Make sure it contains xanthan gum or add it separately to help with texture.
Why is vinegar added to the recipe?
The vinegar reacts with the baking soda to help the cake rise and become fluffy. It also adds a slight tang that balances the sweetness.
PrintCarrot Cake (Easy and Ultra Moist!) Recipe
This easy and ultra moist carrot cake combines grated carrots, crushed pineapple, coconut, and nuts for a wonderfully flavorful dessert. It’s baked to golden perfection and finished with a creamy homemade cream cheese frosting, perfect for celebrations or a delightful everyday treat.
- Prep Time: 20 minutes
- Cook Time: 35-40 minutes
- Total Time: 1 hour
- Yield: 12–16 servings 1x
- Category: Baking
- Method: Baking
- Cuisine: American
- Diet: Vegetarian
Ingredients
Wet Ingredients
- 440g / 20 oz can crushed pineapple, drained but reserve juice
- 1/4 cup (65 ml) reserved canned pineapple juice
- 3/4 cup (185 ml) milk, at room temperature (full or low fat)
- 1 tsp white vinegar (or lemon juice or other clear vinegar)
- 3 eggs (55g/2oz each)
- 1 1/2 cups (265g) brown sugar, loosely packed
- 1/2 cup (125 ml) vegetable oil (or canola)
Dry Ingredients
- 2 cups (300g) plain / all purpose flour
- 2 tsp baking soda (NOT baking powder)
- 1/2 tsp salt
- 2 tsp cinnamon powder
Add-ins
- 2 cups grated carrot (about 2 carrots, peeled)
- 1/4 cup coconut, shredded or desiccated (plain / unsweetened)
- 1/2 cup walnuts or pecans, roughly chopped
Cream Cheese Frosting
- 180g / 6oz cream cheese, at room temperature
- 225g / 1 cup unsalted butter, softened
- 1 tsp vanilla extract
- 4 cups (480g) icing sugar / powdered sugar, sifted if clumpy
Instructions
- Prepare Pans and Oven: Preheat oven to 180°C/350°F. Grease and line two 20-22.5 cm (8-9″) round pans or one 9 x 13 inch (22 x 33 cm) pan with baking/parchment paper for easy cake removal.
- Drain Pineapple: Drain crushed pineapple well, reserving the juice. Measure out 1/4 cup of the reserved pineapple juice to use later in the wet ingredients.
- Mix Dry Ingredients: In a large bowl, whisk together flour, baking soda, salt, and cinnamon powder until evenly combined.
- Combine Wet Ingredients: In a separate bowl, whisk milk, vinegar, eggs, brown sugar, vegetable oil, and reserved pineapple juice until smooth and uniform.
- Add Carrots and Nuts: Stir grated carrot, crushed pineapple, shredded coconut, and chopped nuts into the wet ingredients, mixing well to distribute evenly.
- Combine Wet and Dry: Pour wet ingredients into the dry ingredient bowl and stir gently just until the flour is incorporated and no dry spots remain to avoid overmixing.
- Bake the Cake: Pour the batter into prepared pans. Bake round cakes for 35 minutes or the rectangular cake for 40 minutes, or until a skewer inserted into the center comes out clean and the top is golden brown.
- Cool the Cake: Let the cake rest in the pan for 10 minutes before turning out onto a wire cooling rack to cool completely before frosting.
- Make Cream Cheese Frosting: Beat together cream cheese, butter, and vanilla until smooth and creamy. Gradually beat in the sifted icing sugar in two batches, continuing to beat about 3 minutes on medium-high speed until frosting is fluffy.
- Assemble the Cake: Flip one cake upside down onto the serving platter to create a flat surface. Spread one-third of frosting over it. Place the second cake upside down on top and frost the top and sides with the remaining frosting evenly.
- Store Properly: Store cake in an airtight container. If ambient temperature is below 25°C (77°F) and humidity is low, it can be kept out of the fridge; otherwise, refrigerate the cake to maintain freshness.
Notes
- Note 1: Reserve pineapple juice to add extra moisture and flavor to the batter.
- Note 2: Vinegar reacts with baking soda to help the cake rise and creates a tender crumb.
- Note 3: Do not substitute baking powder; baking soda is necessary for proper leavening.
- Note 4: Grated carrots add moisture and natural sweetness; about 2 medium carrots yield 2 cups grated.
- Note 5: Cream cheese should be at room temperature for smooth frosting.
- Note 6: Sift icing sugar if clumpy to avoid lumps in frosting.
- Note 7: Properly prepare pans with grease and parchment to prevent sticking.
- Note 8: High humidity or warm temperature requires refrigeration to keep frosting stable and cake fresh.
Keywords: carrot cake, moist carrot cake, cream cheese frosting, easy carrot cake, homemade carrot cake, pineapple carrot cake, nutty carrot cake

