I’ve made this carrot cake more times than I can count, and it’s the recipe I turn to when I want a moist, no-fuss layer cake that still looks like a showstopper. Simple pantry staples, lots of grated carrot, and a hit of crushed pineapple keep the crumb tender and flavorful — this is the kind of cake that works for weeknight baking, a birthday, or a cozy weekend brunch. If you enjoy quick dessert recipes with big flavor, you might also like caramel apple cheesecake bars as another easy, crowd-pleasing treat.
Why you’ll love this dish
This carrot cake is forgiving, fast, and crowd-pleasing. It uses one bowl for the dry ingredients and one for the wet, so cleanup is minimal. The crushed pineapple and oil keep the cake really moist, while the cinnamon gives a warm spice note without being overpowering. Kids love the sweetness; adults appreciate the texture and the cream cheese frosting balance.
"A perfectly moist carrot cake that never dries out. I swapped in pecans and still got rave reviews from the whole family."
— A happy home baker
This recipe is great when you want a homemade dessert that doesn’t take all day. Make it for afternoon tea, a potluck, or a simple celebration.
Step-by-step overview
You’ll whisk dry ingredients, mix the wet ingredients, fold in carrots and pineapple, and combine the two. Divide the batter into two 9-inch pans and bake for about 25 to 30 minutes. Cool the layers completely, then frost and assemble. Expect about 45–60 minutes from start to finish including cooling time.
What you’ll need
- 2 cups all-purpose flour
- 2 cups sugar
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 1 teaspoon ground cinnamon
- 1 cup vegetable oil (substitute: light-tasting oil like canola)
- 4 large eggs, room temperature
- 3 cups grated carrots (about 4 to 5 medium carrots) — grate finely for even texture
- 1 cup crushed pineapple, well drained (canned or fresh)
- 1 teaspoon vanilla extract
- 1/2 cup chopped walnuts or pecans (optional)
- Cream cheese frosting for topping (store-bought or homemade)
Notes: For a lighter crumb, spoon and level your flour rather than scooping. If you need a nut-free cake, omit the walnuts or pecans.
Step-by-step instructions
- Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans or line them with parchment rounds.
- In a large bowl, whisk together the flour, sugar, baking powder, baking soda, salt, and cinnamon until evenly combined.
- In a separate bowl, whisk the oil and eggs until smooth and slightly thickened. Stir in the vanilla.
- Add the grated carrots and the well-drained crushed pineapple to the wet mixture. Stir so everything is coated evenly.
- Pour the wet ingredients into the dry. Stir gently with a spatula until just combined and no streaks of flour remain. Fold in the nuts if using. Stop mixing as soon as the batter is uniform.
- Divide the batter evenly between the prepared pans and smooth the tops. Tap the pans lightly to remove large air bubbles.
- Bake for 25 to 30 minutes, rotating the pans halfway through. A toothpick inserted in the center should come out clean or with a few moist crumbs.
- Let the cakes cool in the pans for 10 minutes. Run a knife around the edges, then invert onto a wire rack. Cool completely before frosting.
- When fully cool, spread or pipe cream cheese frosting on one layer, stack the second layer, and finish the top. Serve at room temperature.
Best ways to enjoy it
Slice the cake into generous wedges and serve at room temperature so the frosting is soft and silky. For a simple finish, sprinkle chopped nuts on top or add a few carrot curls for garnish. If you’re planning a brunch menu, pair slices with a small savory like Easy Creamy Garlic Shrimp to balance the sweetness, or keep things classic with fresh fruit and coffee.
Storage and reheating tips
- Because of the cream cheese frosting, refrigerate leftovers. Store covered in an airtight container for up to 4 to 5 days.
- To serve, let refrigerated slices sit at room temperature for 20 to 30 minutes so the frosting softens.
- To freeze: wrap cooled, unfrosted layers tightly in plastic wrap and then foil. Freeze up to 3 months. Thaw in the refrigerator overnight, then bring to room temperature before frosting.
- Safe handling: discard any slice left out at room temperature for more than 2 hours.
Helpful cooking tips
- Use room-temperature eggs for better emulsion and a lighter crumb.
- Drain the crushed pineapple well. Excess juice can make the batter too wet and affect baking time.
- Grate the carrots finely so they distribute evenly and the texture is uniform.
- Avoid overmixing once you combine wet and dry; overmixing develops gluten and can make the cake dense.
- Rotate pans halfway through baking for even browning if your oven has hot spots.
- If your frosting is too soft, chill it briefly before piping. If too stiff, loosen with a teaspoon of milk.
Creative twists
- Add 1/2 cup shredded coconut for a tropical note.
- Fold in 1/2 cup raisins or chopped dried apricots for chew and sweetness.
- Turn this into cupcakes: bake in lined muffin tins for 18–22 minutes.
- Make it gluten-free using a 1:1 gluten-free flour blend and slightly reduce baking time; texture will vary.
- For a vegan version, swap oil for applesauce and use flax eggs (1 tablespoon ground flaxseed + 3 tablespoons water per egg), and choose a dairy-free cream cheese for frosting.
Common questions
How long does this cake take to make from start to finish?
Active hands-on time is about 20 to 30 minutes. Baking takes 25 to 30 minutes per layer and cooling until you can frost usually adds 30 minutes or more. Plan for about 1 hour total, longer if you need more cooling time.
Can I use fresh pineapple instead of canned?
Yes. Fresh crushed pineapple works great but make sure to drain it very well and pat with a paper towel if needed. Excess juice changes the batter moisture and can increase baking time.
Can I make this as a single 9×13 sheet cake?
Yes. Pour the full batter into a greased 9×13 pan and bake for about 30 to 35 minutes, checking for doneness with a toothpick.
How should I store a frosted cake if I don’t finish it in one sitting?
Keep the cake in an airtight container in the refrigerator because of the cream cheese frosting. Bring slices to room temperature before serving for best texture and flavor.
Can I halve the recipe?
Yes. To halve, reduce all ingredients by half and bake in a single 9-inch round pan or make fewer cupcakes. Adjust baking time and check doneness early.

Moist Carrot Cake
Ingredients
Method
- Preheat the oven to 350°F (175°C). Grease and flour two 9-inch round cake pans or line them with parchment rounds.
- In a large bowl, whisk together the flour, sugar, baking powder, baking soda, salt, and cinnamon until evenly combined.
- In a separate bowl, whisk the oil and eggs until smooth and slightly thickened. Stir in the vanilla.
- Add the grated carrots and the well-drained crushed pineapple to the wet mixture. Stir so everything is coated evenly.
- Pour the wet ingredients into the dry. Stir gently with a spatula until just combined and no streaks of flour remain. Fold in the nuts if using.
- Divide the batter evenly between the prepared pans and smooth the tops. Tap the pans lightly to remove large air bubbles.
- Bake for 25 to 30 minutes, rotating the pans halfway through. A toothpick inserted in the center should come out clean or with a few moist crumbs.
- Let the cakes cool in the pans for 10 minutes. Run a knife around the edges, then invert onto a wire rack. Cool completely before frosting.
- When fully cool, spread or pipe cream cheese frosting on one layer, stack the second layer, and finish the top.
- Serve at room temperature.


