I had three carrots left in the crisper drawer and a sudden need to prove something to myself. Not about cooking. Just about whether I could still pull off a carrot cake without a standing mixer or a clean counter. The answer was yes, barely.
This cake started as a pantry experiment and became the thing my husband now requests for every birthday. I didn't plan for that.
The One That Works
What I love about this recipe is that it doesn't try to be fancy. There's no complicated technique, no special equipment. Just a bowl and a whisk and some honest ingredients.
The carrots do the work here. They keep the cake moist without making it heavy. And the pineapple adds something I can't quite explain.
My daughter picked out all the walnuts after I frosted the cake one time. I pretended not to notice the tiny holes in the frosting where she'd pried them out with her fingers. Now I just add nuts on top so she can avoid them.
What You Need
Let's talk about the ingredients that actually matter. The rest is standard pantry stuff.
- Carrots — Grate them fresh. The pre-shredded bagged stuff is too dry. You want the moisture from grating them yourself. Three cups sounds like a lot, but it compresses down once mixed in.
- Pineapple — Use the canned crushed kind with the juice. Don't drain it. That liquid is what makes the cake tender.
- Oil — Vegetable oil works perfectly here. No need for melted butter. Oil keeps the crumb soft for days.
- Cream cheese — Get the full fat block. Not the spreadable tub. The block has less water and gives you a stable frosting that doesn't slide off.
Everything else is pretty forgiving. If you don't have cloves, just use a little more cinnamon and nutmeg. The cake won't notice.
Putting It Together
The dry stuff goes in one bowl. Whisk it so the baking soda and spices spread evenly. Nobody wants a pocket of baking soda in their slice.
In another bowl, beat the oil and sugar together. It won't look like much at first. That's fine. Just mix until it's smooth and slightly shiny.
Add eggs one at a time. Beat each one in before adding the next. This keeps the mixture from breaking.
Then dump in the carrots, pineapple, and vanilla. Stir until it all comes together. It will look a little weird — wet and chunky and vaguely orange. Trust it.
Fold in the dry ingredients gently. Just until no streaks of flour remain. Overmixing makes the cake tough. Under mixing leaves lumpy spots. Somewhere in between is where you want to be.
Divide the batter between two greased 9-inch pans. Give them a little tap on the counter to pop any air bubbles.
Bake at 350°F for 30-35 minutes. Start checking at 28 minutes if your oven runs hot. The toothpick test works but I like to press the center gently — if it springs back, it's done.
Let them cool in the pans for 10 minutes. Then turn them out onto wire racks. And here's the part I always forget: let them cool completely before frosting. Not "mostly cool." Completely cool. If you rush this, your frosting will melt into a sad puddle.
The Frosting
This part is simple but you can mess it up. Beat the cream cheese and butter together until they're fluffy. Not just combined — actually fluffy. Takes about 2 minutes with a hand mixer.
Add the powdered sugar gradually. If you dump it all in at once, you'll get a cloud of sugar dust and lumpy frosting. A half cup at a time works better.
Add the vanilla at the end. Beat one more time until it's smooth and thick.
If the frosting seems too soft to spread, stick it in the fridge for 15 minutes. It will firm up nicely.
One Thing That Can Go Wrong
The middle of the cake sinks sometimes. Usually because the oven door got opened too early or the cake wasn't baked long enough.
Fix: Don't open the oven for the first 25 minutes. Then test with a toothpick. If the center is still wet, give it 5 more minutes and check again.
If it already sank, don't panic. Fill the dip with a little extra frosting and call it a design choice. Nobody will know.
How to Serve It
This cake is best at room temperature. The frosting softens slightly and the cake feels like it just came out of the oven.
I slice it with a serrated knife dipped in hot water. Wipe the blade between cuts. You get clean slices that way.
Serve it with coffee. Or cold milk. Or just by itself. It doesn't need anything else.
Chocolate shavings on top look pretty but the nuts are better. Toast them first if you have time. It makes a difference.
A Few Notes
This cake keeps well in the fridge for 4-5 days. Let it sit out for 10 minutes before eating so the frosting warms up a little.
You can freeze it unfrosted for up to 3 months. Wrap each layer in plastic wrap, then foil. Frost after thawing.
I've made this with half whole wheat flour before and it was fine. Slightly denser, but fine. Don't substitute the oil though. That breaks the whole thing.
The shredded coconut is optional. I skip it because my husband says it's "extra." He's not wrong.
This cake has never lasted more than two days in my house. That's not a brag. It's just what happens when a cake tastes like it was made by someone who actually likes you.
Classic Homemade Carrot Cake With Cream Cheese Frosting
Ingredients
- 2 cups all-purpose flour
- 2 teaspoons baking soda
- 1 teaspoon baking powder
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/4 teaspoon ground cloves
- 1/2 teaspoon salt
- 3/4 cup vegetable oil
- 1 cup granulated sugar
- 4 large eggs
- 3 cups grated carrots
- 1 cup crushed pineapple with juice
- 1 teaspoon vanilla extract
- 8 oz cream cheese, softened
- 1/2 cup butter, softened
- 2 cups powdered sugar
- 1 teaspoon vanilla extract
- 1/2 cup chopped walnuts or pecans
- 1/4 cup shredded coconut (optional)
Instructions
- 1Preheat oven to 350°F and grease two 9-inch round cake pans
- 2Whisk together flour, baking soda, baking powder, cinnamon, nutmeg, cloves, and salt in a large bowl
- 3In another bowl, beat oil and sugar until well combined
- 4Add eggs one at a time to the oil mixture, beating after each addition
- 5Stir in grated carrots, crushed pineapple with juice, and vanilla extract
- 6Fold the dry ingredients into the wet mixture until just combined
- 7Divide batter evenly between prepared pans
- 8Bake for 30-35 minutes until a toothpick inserted in the center comes out clean
- 9Cool cakes in pans for 10 minutes, then turn out onto wire racks to cool completely
- 10For frosting, beat cream cheese and butter until fluffy
- 11Gradually add powdered sugar and vanilla extract, beating until smooth
- 12Once cakes are completely cooled, spread frosting between layers and on top
- 13Garnish with chopped nuts and shredded coconut if desired
- 14Refrigerate for at least 30 minutes before serving




