Carrot Cake

Carrot cake is a moist, spiced cake made with grated carrot and oil. It is classically topped with cream cheese frosting.

Say it: KA-rut kayk

By Andrew Cooks · Updated · 8 min read

At a glance

Carrot cake is a moist, spiced cake made with grated carrot folded through the batter, usually mixed with oil rather than creamed butter, and classically finished with cream cheese frosting. The carrot does not make it taste of vegetables: it melts into the crumb, adding moisture, natural sweetness and a flecked orange color, while warm spices like cinnamon and nutmeg give it its character. It often carries walnuts or pecans, raisins and sometimes crushed pineapple or coconut. Because it is oil-based and packed with carrot, it stays moist for days. Read carrot cake as the oil-based, spiced, carrot-flecked cake under a tangy cream cheese frosting.

What it does for you

Carrot cake uses a vegetable to do a baker's job. Finely grated raw carrot is folded through the batter, and as the cake bakes the carrot softens and all but disappears, releasing moisture and a mild natural sweetness into the crumb and leaving flecks of color; it makes the cake moist and tender rather than making it taste 'of carrot'.

Cook's tip

Grate the carrot finely so it melts into the crumb instead of staying stringy. Let the cake cool fully before spreading on the cream cheese frosting, or the frosting will slide off.

Kitchen trivia

Did you know people were putting carrots in cakes centuries before modern carrot cake, because carrots were one of the sweetest things available when sugar was scarce and expensive?

See the answer

Common uses

A popular everyday and celebration cake: baked as a layer cake or sheet cake under cream cheese frosting for birthdays and gatherings, and as loaf cakes, tray bakes and cupcakes for tea and lunchboxes. Its warm-spiced, fruit-and-nut character suits autumn and the holidays, and it pairs with coffee and tea. The same batter, unfrosted, blurs into the 'quick bread' territory of spiced carrot loaves.

It is a mainstay of cafes, farm shops and home baking across Britain, North America and beyond.

Do not be squeamish about the carrot; it is the secret to the moistest cake you will make, not a health gesture. Grate it finely so it melts into the crumb rather than sitting in ropes, and you will taste sweetness and moisture, not vegetable. Use oil, not butter: an oil-based batter stays moist for days and actually tastes better on the second and third day, once the spices have settled.

Fold in walnuts and raisins if you like, and some crushed pineapple for extra moisture. Then, whatever you do, frost it with cream cheese: the tang is not optional, it is the thing that stops a sweet, rich, spiced cake from cloying and turns it into carrot cake.

Cooking with carrot cake tonight?

Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.

Save your recipes in Cooked.it, free

What it is

Carrot cake is a moist, spiced cake made with grated carrot folded into the batter, typically oil-based rather than creamed, leavened chemically, and classically topped with cream cheese frosting. The carrot adds moisture, sweetness and color rather than a vegetal taste; warm spices, and often walnuts, raisins, pineapple or coconut, flavor it. It belongs to the family of moist, oil-based, chemically leavened cakes and keeps well.

A moist, dense but tender cake with a golden-brown, warmly spiced crumb visibly flecked with orange shreds of carrot and often studded with chopped walnuts or pecans and raisins. It is most often a layer cake or sheet cake, generously covered (and, if layered, filled) with pale, tangy cream cheese frosting, and is also made as loaf cakes and cupcakes. A slice shows the speckled, nubbly, fruit-and-nut crumb against smooth white frosting, sometimes decorated with a piped marzipan carrot or a scatter of nuts.

It is heavier and moister in the hand than a light sponge cake.

The batter is usually mixed with oil instead of creamed butter, which keeps it exceptionally moist and gives a long keeping quality, and it is leavened with baking powder or soda rather than by whipped eggs. Warm ground spices (cinnamon, nutmeg, ginger, sometimes mixed spice or clove) supply the flavor, and common additions of walnuts or pecans, raisins, crushed pineapple or coconut add texture and moisture. The finishing cream cheese frosting is near-essential: its tang cuts the sweetness and richness and completes the cake.

The result is a robust, moist, spiced cake that improves for keeping. Carrot cake is an ordinary baked good; the cautions are the common baking allergens, especially the walnuts or pecans (tree nuts).

Substitutions

Substitutes for carrot cake
Use insteadHow muchWhat changes
cream cheeseThe classic frostingBeat cream cheese with butter and icing sugar for the essential tangy topping
loaf cakeSimpler formatBake the batter in a loaf tin for an everyday unfrosted carrot loaf
cupcakeIndividual versionThe same batter makes popular cream-cheese-topped carrot cupcakes

Common mistakes

  1. Grating the carrot too coarsely, so it stays stringy and does not melt into the crumb.
  2. Grate it fine.
  3. Using butter and expecting the same moistness; carrot cake is best oil-based, which is what keeps it moist for days.
  4. Adding too much wet fruit (like crushed pineapple) without adjusting, leaving the cake soggy or sunken.
  5. Under-spicing, which leaves it bland: carrot cake wants a confident hand with cinnamon and warm spice.
  6. Frosting it with the cream cheese frosting while still warm, so the soft frosting slides off or melts.
  7. And skipping the cream cheese frosting for something sweeter, which loses the tang that balances the cake.

Product picks

History

Using carrot to sweeten cakes and puddings is old: in medieval and early-modern Europe, when sugar was scarce and costly, carrots (among the sweetest vegetables available) were used in sweet puddings and cakes, a tradition of carrot puddings that ran for centuries. Carrots were again promoted as a sweetener in Britain during the Second World War, when sugar was rationed and the Ministry of Food pushed carrot-based recipes. The modern carrot cake (moist, oil-based, spiced, and crucially crowned with cream cheese frosting) is largely a later-20th-century phenomenon, becoming hugely popular in the United States and Britain from the 1960s and 1970s, when it acquired its wholesome, health-adjacent image and its now-inseparable cream cheese topping.

It has been a cafe and home-baking staple ever since.

Is it still used today?

Carrot cake is a firm favorite worldwide, one of the most popular non-chocolate cakes, and a fixture of cafes, bakeries and home kitchens. Its moistness, keeping quality and the beloved cream cheese frosting keep it in constant demand, and it is a default choice where a spiced, fruit-and-nut alternative to plain or chocolate cake is wanted. It also anchors a family of spiced, oil-based vegetable and fruit cakes: courgette, parsnip, apple and beetroot cakes among them.

Questions people ask

What is carrot cake?

Carrot cake is a moist, spiced cake made with finely grated carrot folded through the batter, usually mixed with oil rather than butter, and classically topped with cream cheese frosting. The carrot melts into the crumb as it bakes, adding moisture, sweetness and orange flecks rather than a vegetable taste, while warm spices like cinnamon give the flavor. It often contains walnuts or pecans, raisins and sometimes pineapple or coconut, and it keeps moist for days.

Does carrot cake taste like carrots?

Not really. The finely grated carrot all but disappears into the crumb as the cake bakes, releasing moisture and a mild natural sweetness rather than a savory vegetable flavor. What you taste is a moist, sweet, warmly spiced cake (cinnamon and nutmeg tend to dominate), with the tang of cream cheese frosting.

The carrot is doing a baker's job (moisture and sweetness), not announcing itself, which is why even people who dislike cooked carrots usually love carrot cake.

Why is carrot cake made with oil instead of butter?

Because oil keeps it exceptionally moist. Unlike butter, oil is liquid at room temperature, so an oil-based cake stays soft and moist for days and does not firm up when cold: ideal for a dense, fruit-and-nut cake like this. Oil-based batters are also simply mixed (no creaming), and they let the carrot and spices shine.

A few recipes use butter for flavor, but the classic moist carrot cake is built on oil, which is a big part of why it keeps so well.

What frosting goes on carrot cake?

Cream cheese frosting is the classic and near-essential choice. Its tangy, creamy, not-too-sweet flavor balances the sweet, rich, spiced cake perfectly, and it is what most people think of as part of carrot cake. Some older or British versions use a plain buttercream or a simple lemon icing, and a bare or lightly glazed carrot loaf is common too, but for a layered or celebration carrot cake, cream cheese frosting is what completes it.

What can I add to carrot cake?

Common additions are chopped walnuts or pecans for crunch, raisins or sultanas for sweetness, crushed pineapple for extra moisture, and desiccated coconut for texture; many recipes use several. Warm spices beyond cinnamon, such as nutmeg, ginger and mixed spice, deepen the flavor, and a little orange zest brightens it. You can leave any of them out to suit taste or allergies; the carrot, oil, sugar and spice are the constant, the rest is to taste.

How long does carrot cake keep?

Longer than most cakes, thanks to the oil and the moisture from the carrot: an unfrosted carrot cake keeps well wrapped at room temperature for several days and often tastes better on day two or three, once the spices have mellowed. Once it has cream cheese frosting it should be kept in the fridge, since cream cheese is perishable, and brought back to room temperature before serving. It also freezes well, frosted or not.

Is carrot cake an old recipe?

Carrot desserts are centuries old: a carrot pie appears in Diego Granado's 1599 Spanish cookbook, and British cooks made carrot puddings. In the United States, newspaper recipes called carrot cake appear from 1913, iced versions by the 1920s and 1930s, and the cake became hugely popular in the 1960s and 1970s. During the Second World War the British Ministry of Food promoted carrot sweets because sugar was rationed.

See carrot.

Trivia answer

Carrot cake can seem like a 1970s health-food invention, but the idea of sweetening a cake or pudding with carrots is very old. In medieval and early-modern Europe, refined sugar was a costly luxury, and cooks looking for sweetness turned to the sweetest ingredients they had, and carrots, especially, are notably high in sugar for a vegetable. The result was a long tradition of carrot puddings and sweet carrot cakes, in which grated carrot supplied both sweetness and moisture that expensive sugar or honey would otherwise have had to provide.

Carrots had a second moment as a sweetener in Britain during the Second World War: with sugar strictly rationed, the Ministry of Food actively promoted carrots as a way to sweeten puddings and cakes, popularizing recipes like carrot cake and even 'carrot fudge' to help households make do. The cake most of us picture today, though (moist, oil-based, heavily spiced and crowned with tangy cream cheese frosting) is a later development, becoming hugely popular in the United States and Britain during the 1960s and 1970s, when it also picked up its wholesome, healthier-than-chocolate reputation. So the vegetable in your cake is not a modern gimmick; it is a centuries-old trick for making something sweet when sugar was hard to come by.

Cooking with carrot cake tonight?

Save any recipe from any website, video or family recipe card into one recipe box, then cook from it step by step.

Save your recipes in Cooked.it, free

Sources

About this page

Andrew Cooks tasting sauce from a wooden spoon at the stove

Written by Andrew Cooks for Cooked.it. Pages are drafted with AI from our research database, then checked against sources and our editorial rules. Found something wrong? Tell us and we’ll fix it.

How we writeFound an error? Tell us