This UK-style gluten-free carrot cake is a warmly spiced sponge made with finely grated carrots, raisins and chopped walnuts, finished with tangy cream cheese icing. A gluten-free flour blend, oil and plenty of carrot help keep the crumb moist and tender, while the method is straightforward enough for a home baker.
Ingredients
- 2 cups (280 g) gluten-free plain flour blend, ideally one without xanthan gum already added
- 1 tsp (3 g) xanthan gum, only if it is not already in your flour blend
- 2 tsp (8 g) gluten-free baking powder
- 1 tsp (5 g) bicarbonate of soda (baking soda)
- 1½ tsp (4 g) ground cinnamon
- ½ tsp (1 g) ground ginger
- ¼ tsp (0.5 g) ground nutmeg
- ½ tsp (3 g) fine salt
- 3 large eggs, at room temperature
- ¾ cup (180 ml) neutral oil, such as rapeseed or sunflower oil
- 1 cup (200 g) light brown sugar, gently packed
- ½ cup (100 g) caster sugar
- 1 tsp (5 ml) vanilla extract
- 2½ cups (250 g) peeled, finely grated carrots, about 3 medium carrots
- ½ cup (75 g) raisins or sultanas
- ½ cup (55 g) chopped walnuts, optional
- 200 g (7 oz) full-fat cream cheese, cold, for the icing
- ¼ cup (55 g) unsalted butter, softened, for the icing
- 1½ cups (180 g) icing sugar, sifted
- 1 tsp (5 ml) vanilla extract, for the icing
- 1 tsp finely grated lemon zest, optional
Instructions
-
Heat the oven to 350°F (180°C), or 160°C fan. Grease a 23 cm (9-inch) round cake tin and line the base with baking paper. If your tin is shallow, use one at least 5 cm (2 inches) deep so the batter has room to rise. Weigh out the ingredients before mixing; gluten-free flour blends vary, so weighing gives a more dependable result than measuring flour loosely in a cup.
-
In a large bowl, whisk together the gluten-free flour, xanthan gum if needed, baking powder, bicarbonate of soda, cinnamon, ginger, nutmeg and salt. Break up any small lumps of brown sugar before adding it to the wet mixture later. Mixing the raising agents evenly through the flour helps prevent bitter pockets and gives the cake a more even rise.
-
In a second bowl, whisk the eggs, oil, brown sugar, caster sugar and vanilla until smooth and evenly combined, about 1 minute. Stir in the grated carrot, raisins and walnuts if using. Add the dry mixture to the wet ingredients in two additions, folding just until no obvious streaks of flour remain. The batter will be thick and textured rather than pourable. Stop mixing once combined; prolonged mixing can make a gluten-free sponge dense.
-
Spoon the batter into the prepared tin and level the top with a spatula, nudging it gently into the edges. Bake on the centre shelf for about 45 minutes. Check from 42 minutes: the top should be golden and spring back lightly when touched, and a skewer inserted into the centre should come out without wet batter (a few moist crumbs are fine). Because this is an egg-containing cake, make sure its centre reaches at least 160°F (71°C), the USDA FSIS safe minimum for egg dishes, using a food thermometer. If the top is browning too quickly before the centre is done, lay a piece of foil loosely over it.
-
Leave the cake in its tin for 10 minutes, then run a thin knife around the edge and turn it out onto a wire rack. Peel away the baking paper and leave the cake to cool completely, about 80 minutes more. Do not ice it while warm: heat can melt the butter and loosen the cream cheese icing, causing it to slide off the sides.
-
While the cake cools, make the icing. Beat the softened butter until smooth, then beat in the sifted icing sugar in two or three additions. Add the cold cream cheese and vanilla and mix briefly, just until creamy; overbeating cream cheese can make the icing runny. Fold in lemon zest if you like a little freshness. If it seems soft, chill it for 10–15 minutes before spreading.
-
Set the fully cooled cake on a serving plate and spread the icing over the top, leaving the sides bare or lightly coated. For a neat finish, use the back of a spoon to make soft swirls. Chill for 20 minutes if you want the icing to firm before slicing, or serve straight away. Cut into 12 portions with a clean knife, wiping the blade between slices for tidy edges.
Tips
-
Check your flour blend. Gluten-free plain flour blends are not identical. If yours contains xanthan gum or another binder, leave out the extra xanthan listed here or the cake may feel gummy. If your blend has no binder, include it; it helps the crumb hold together when sliced.
-
Grate carrots finely. Use the small or medium holes on a box grater and measure the carrot after peeling and grating. Large, wet shreds can leave noticeable strands and make the centre heavy. Do not squeeze out the carrot juice: it contributes moisture to the batter.
-
Keep the batter balanced. Measure flour by weight if possible, and avoid adding extra flour just because the batter looks thick. Gluten-free batter often looks less fluid than a conventional cake batter. If your raisins are very dry, soak them in hot water for 10 minutes, then drain and pat them dry before adding; this makes them plumper without watering down the mix.
-
Make it nut-free if needed. Leave out the walnuts rather than replacing them with extra flour. You can add the same weight of pumpkin or sunflower seeds for crunch, provided they suit your dietary needs. Check the labels on flour, baking powder and decorations for gluten statements and cross-contact information.
Serving Suggestions
Serve slices at room temperature so the cake is soft and the cream cheese icing tastes pleasantly tangy. It is rich enough to enjoy on its own with tea or coffee, but a spoonful of thick yoghurt or softly whipped cream works well if you want a less sweet accompaniment. For a simple finish, scatter a few chopped walnuts or a little finely grated orange zest over the icing just before bringing the cake to the table.
This recipe makes a single-layer cake that is easy to portion for a family gathering or afternoon tea. For cleaner slices, chill the iced cake briefly, then use a sharp knife warmed under hot water and wiped dry. If serving outdoors or in a warm room, keep the cake chilled until shortly before eating because the cream cheese topping softens as it sits.
Variations
For a citrus note, replace the lemon zest in the icing with orange zest and add 1 tsp (5 ml) orange juice; add the juice gradually so the icing does not become loose. You can also mix ½ tsp (1 g) ground cardamom into the dry ingredients for a more fragrant spice profile, while keeping the cinnamon and ginger in place.
To make a simple dairy-free version, use a block-style dairy-free butter and a thick dairy-free cream cheese alternative in the icing. The topping may be softer and less tangy, so chill it before spreading and keep the finished cake refrigerated. For a raisin-free cake, omit the raisins and use ½ cup (60 g) extra chopped walnuts or seeds, or simply leave the space empty; the cake will still bake well.
You can bake the batter in a lined 20 cm (8-inch) square tin instead of a round tin. The cake may need a few extra minutes because the batter sits deeper; begin checking at 45 minutes and use the skewer and temperature checks in the instructions. Avoid splitting this batter between two shallow sandwich tins unless you reduce the baking time and check each tin separately.
Storage and Reheating
Because the icing contains cream cheese, refrigerate the cake within 2 hours of serving. Store it in an airtight container in the fridge for 3–4 days. The crumb firms when cold, so take out the portion you plan to eat about 20–30 minutes before serving. Do not leave the iced cake at room temperature for more than 2 hours; in a hot room, keep that time shorter.
For longer storage, freeze uniced cake or individual slices, tightly wrapped, for up to 2 months. Thaw overnight in the fridge or for a few hours at room temperature, then ice once fully thawed. You can freeze iced slices too, but the cream cheese topping may become slightly softer or less smooth after thawing. This cake is best served at room temperature rather than reheated; if you have an uniced slice and prefer it warm, microwave it for 10–15 seconds and check that it is only gently warmed.
Frequently Asked Questions
Can I make this gluten-free carrot cake without xanthan gum?
If your flour blend already contains xanthan gum or another binder, do not add the extra amount. If it contains no binder, leaving it out can make the slices more fragile and crumbly. A teaspoon of xanthan gum helps the cake hold together, but too much can create a gummy texture, so check the blend’s ingredients first.
Can I use a different gluten-free flour?
Use a gluten-free plain or all-purpose baking blend intended for cakes, not a single flour such as almond, coconut or rice flour on its own. Single flours absorb liquid differently and do not provide the same structure, so swapping them gram for gram is unlikely to work. If the blend includes raising agents, check its instructions and avoid unintentionally doubling the leavening.
Why did my cake sink in the middle?
A sunken centre is usually a sign that the cake was taken out before it had set, the oven door was opened early, or the raising agents were old or incorrectly measured. Wait until at least 42 minutes before checking, test the very centre, and give it a few more minutes if wet batter clings to the skewer. Also use the tin size specified, since a smaller tin makes a deeper cake that takes longer to bake.
Can I prepare the cake ahead?
Yes. Bake the cake a day ahead, let it cool completely and store it airtight in the fridge without icing, or freeze it for longer storage. Make the icing and decorate on the day you plan to serve it for the freshest texture. If the cake is chilled before icing, let it sit briefly so the surface is not very cold and damp.
Can I make this recipe without eggs?
The eggs help bind and lift this particular gluten-free batter, so replacing them can change both the rise and texture. A commercial egg replacer may work if its packet gives guidance for cakes, but results vary by product. Avoid replacing the eggs with extra oil, which can make the sponge greasy and heavy.
Related
- Enchiladas Recipe Ingredients for Easy Chicken Enchiladas
- Healthy Enchiladas Recipe with Chicken, Beans, and Corn
- Beef and Cheese Enchiladas Recipe with Red Sauce
More recipes to cook
Safety notes: safe minimum internal temperatures from USDA FSIS; raw and undercooked fish guidance from the U.S. FDA. Food safety notes
Spotted an error? Tell us and we will correct it (corrections policy).