
This sourdough discard carrot snack cake is a simple, gently spiced cake made with grated carrots and unfed sourdough discard. It bakes in one square pan and is easy to serve in small squares, plain or with a little cream cheese frosting.
The batter balances the discard’s moisture and mild tang with brown sugar, cinnamon, and nutmeg. Finely grated carrots keep the crumb tender, while baking powder and baking soda help the cake rise. The result is soft and moist, with a mellow sweetness and warm spice rather than a strong sourdough flavor.
Why This Recipe Works
Sourdough discard brings both liquid and flour to the batter. This recipe is written for 1 cup of unfed discard at roughly equal weights flour and water, often called 100% hydration. Since discard thickness varies, the batter may look a little looser or thicker from one starter to another; the cues in the instructions help you judge it without overmixing.
Using both baking powder and baking soda gives the cake lift. Baking soda also reacts with the acidity in sourdough discard, while baking powder supplies additional leavening. The eggs help bind the batter and support its structure, and oil keeps the crumb moist after the cake cools.
Carrots are best grated finely so they soften during baking and distribute evenly. Brown sugar adds moisture and a light caramel note; granulated sugar keeps the sweetness from becoming too heavy. Mixing the dry ingredients separately helps distribute the leaveners and spices before they meet the wet ingredients.
Ingredients
- 1 cup unfed sourdough discard, stirred before measuring
- 1 cup all-purpose flour, spooned into the measuring cup and leveled
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1/2 teaspoon fine salt
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/2 cup granulated sugar
- 1/2 cup packed brown sugar
- 3 large eggs, at room temperature if convenient
- 1/2 cup vegetable oil or melted coconut oil, cooled until warm rather than hot
- 1 1/2 cups finely grated peeled carrots, about 2 to 3 medium carrots
- 1 teaspoon vanilla extract
Ingredient Notes
Sourdough discard: Use unfed discard from a healthy starter, not starter with visible mold or unusual pink or orange discoloration. Stir it before measuring because liquid can separate on top. A recently fed starter can work too, though it may be more active and have a milder tang. This formula assumes discard with roughly equal parts flour and water by weight; very stiff or very runny discard can change the batter texture.
Flour: All-purpose flour gives the cake enough structure without making it tough. Measure by spooning flour into the cup and leveling the top; packing flour into the cup can add too much. A 1-to-1 gluten-free baking flour blend may work, but results depend on the blend and are not guaranteed to match the texture here.
Carrots: Peel and grate them on the fine holes of a box grater. Avoid packaged shredded carrots, which are usually thicker and drier and may not soften as well in this short bake. Do not squeeze the freshly grated carrots; their moisture belongs in the batter.
Oil: Neutral vegetable oil gives a soft crumb and unobtrusive flavor. Melted coconut oil is also suitable, but let it cool so it does not cook the eggs when mixed in. If coconut oil begins to firm in a cool kitchen, gently warm the bowl of batter until it is fluid, without overheating it.
Sugars and spices: Pack the brown sugar firmly when measuring. Cinnamon and nutmeg give the cake its familiar carrot-cake warmth; freshly grated nutmeg can be used in the same amount. For a less sweet cake, reducing the sugar can affect moisture and texture, so it is best to keep the listed amounts for the first bake.
Instructions
- Prepare the pan and oven. Heat the oven to 350°F. Grease an 8-inch square baking pan and line the bottom with parchment, leaving a little overhang to lift the cake out later. The oven should be fully heated before the batter goes in so the leaveners begin working at the intended temperature.
- Combine the dry ingredients. In a medium bowl, whisk together the flour, baking powder, baking soda, salt, cinnamon, and nutmeg for about 30 seconds. Look for an even, uniform mixture with no visible clumps of baking soda. This step spreads the leaveners through the flour and helps prevent bitter pockets.
- Mix the wet ingredients. In a large bowl, whisk the discard, granulated sugar, brown sugar, eggs, oil, and vanilla until smooth, about 1 minute. The mixture should look cohesive, though it may not be perfectly glossy. If the oil is hot, let it cool first; hot oil can partially set the eggs.
- Add the carrots and flour mixture. Stir the grated carrots into the wet mixture. Add the dry ingredients and fold with a spatula just until no dry flour remains, scraping the bottom and sides of the bowl. The batter will be thick but pourable, with carrot strands throughout. Stop as soon as it is combined; extra mixing can make the cake firm.
- Fill the pan and bake. Scrape the batter into the prepared pan and spread it into the corners. Bake at 350°F for 35 to 42 minutes. Begin checking at 35 minutes: the top should be golden, the center should spring back lightly when touched, and a toothpick inserted near the middle should come out clean or with a few moist crumbs, not wet batter. If using an instant-read thermometer, the center should reach at least 160°F for the egg-containing cake to be cooked through. If the top is browning quickly while the center is still wet, loosely tent it with foil for the remaining bake.
- Cool before slicing. Set the pan on a rack and cool the cake for at least 30 minutes before cutting. The center should finish setting as it cools; slicing while it is very hot can make the crumb seem gummy. For neater squares, cool completely, then lift the cake out using the parchment.
Tips for Success
- Use discard that smells pleasantly tangy or mildly yeasty. If it has a harsh solvent-like smell, refresh the starter and use discard from a later feeding.
- Stir the discard before measuring. A layer of separated liquid can make one scoop much wetter than the next.
- Grate the carrots finely and measure them loosely in the cup. Pressing them down packs in more carrot and can make the cake damp in the middle.
- Bring cold eggs closer to room temperature by placing them in a bowl of warm tap water for several minutes. This helps them blend into the oil more evenly.
- Check the cake at the early end of the bake window. Ovens and pans vary, and a few extra minutes can dry the edges.
- Use a light-colored metal pan if possible. Dark pans often brown the edges more quickly; if using one, start checking early.
- Let the cake cool before adding any frosting. Frosting a warm cake can make it slide or melt.
Troubleshooting
The center sank. The cake may have been underbaked, or the oven door may have been opened before the structure set. Check the center with a toothpick and, if needed, an instant-read thermometer. Next time, wait until the cake has risen and the center looks set before opening the oven.
The cake is dense or gummy. Too much flour, coarse carrots, or overmixing can weigh down the crumb. Measure flour without packing it, grate carrots finely, and fold only until the dry streaks disappear. A wet streak on the toothpick means the cake needs more time.
The edges are dry but the middle is underdone. The oven may run hot, or the pan may be dark or smaller than specified. Check the oven temperature with an oven thermometer if available, use an 8-inch square pan, and tent the top loosely if it browns before the middle cooks.
The batter looks unusually loose. Discard hydration and carrot moisture vary. If it is pourable like a thick pancake batter, bake as directed. If it looks thin and watery, check that the discard was measured accurately and that the carrots were not squeezed or soaked; avoid adding a large amount of flour, which can make the finished cake tough.
The cake tastes strongly sour. Discard flavor varies with how long it has been stored and how often the starter is fed. Use fresher discard with a mild tang, and make sure the sugars are measured as listed. A sharp, unpleasant odor is a reason not to use that discard.
Variations
For a little crunch, fold in up to 1/2 cup chopped walnuts or pecans with the carrots. Raisins can be added in the same amount; for softer fruit, soak them briefly in warm water, then drain and pat dry before folding them in. Keep add-ins moderate so they do not weigh down the cake.
You can add 1/4 teaspoon ground ginger or a pinch of ground cloves alongside the cinnamon and nutmeg. If you prefer a plain snack cake, leave the spices as written and serve it without frosting. For a simple finish, dust the fully cooled cake with powdered sugar, or spread it with cream cheese frosting. If using cream cheese frosting, refrigerate the frosted cake.
To bake in a different pan, expect the timing to change. A wider pan makes a thinner cake that will bake faster; a smaller or deeper pan needs longer and may brown before the center sets. Keep the oven temperature at 350°F and rely on the center doneness cues rather than transferring the exact timing unchanged.
What to Serve With It
This cake is satisfying as an afternoon snack with coffee, black tea, or a glass of milk. For breakfast or brunch, serve a small square with plain yogurt and fresh fruit. The cake is sweet enough to enjoy on its own, so rich frosting is optional rather than necessary.
Make-Ahead, Storage and Reheating
You can grate the carrots a day ahead and keep them covered in the refrigerator. The dry ingredients can also be whisked together in advance and stored airtight at room temperature. For the best rise, mix the wet and dry mixtures shortly before baking rather than letting the finished batter stand.
Cool the plain cake completely, then store it covered at room temperature for up to 2 days in a cool, dry place. For longer storage, refrigerate it in an airtight container for up to 5 days; chilling can make the crumb feel firmer, so bring a portion to room temperature before serving. Keep cream cheese-frosted cake refrigerated and do not leave it at room temperature for more than 2 hours.
To freeze, wrap individual unfrosted squares or the cooled whole cake tightly, then place in a freezer-safe container for up to 2 to 3 months for best quality. Thaw wrapped portions in the refrigerator or at room temperature. Reheat a plain slice in the microwave in short bursts, just until warm; avoid overheating, which can dry the edges. Do not microwave a slice with cream cheese frosting on it.
Recipe Card
Servings: 9 squares
Prep time: 15 minutes
Cook time: 35 to 42 minutes
Total time: About 1 hour, plus cooling
Ingredients
- 1 cup unfed sourdough discard, stirred
- 1 cup all-purpose flour
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1/2 teaspoon fine salt
- 1 teaspoon ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/2 cup granulated sugar
- 1/2 cup packed brown sugar
- 3 large eggs
- 1/2 cup vegetable oil or cooled melted coconut oil
- 1 1/2 cups finely grated peeled carrots
- 1 teaspoon vanilla extract
Instructions
- Heat oven to 350°F. Grease and parchment-line an 8-inch square pan.
- Whisk flour, baking powder, baking soda, salt, cinnamon, and nutmeg in a medium bowl.
- Whisk discard, both sugars, eggs, oil, and vanilla in a large bowl until smooth.
- Stir in carrots, then fold in the dry ingredients just until no dry flour remains.
- Spread batter in the pan. Bake 35 to 42 minutes, until the center springs back and a toothpick comes out clean or with a few moist crumbs. The center should reach at least 160°F.
- Cool in the pan on a rack for at least 30 minutes before slicing.
Frequently Asked Questions
Can I use active sourdough starter instead of discard?
Yes. Use 1 cup stirred starter with roughly equal parts flour and water by weight. The cake does not depend on the starter being active for its rise; the baking powder and baking soda do that work. A recently fed starter may give a milder flavor.
Does the discard need to be at room temperature?
No. Cold discard can be used, though room-temperature ingredients blend more easily. If the batter feels very cold after mixing, it may take a little longer to bake, so use the doneness cues rather than relying only on the clock.
Can I use whole wheat flour?
You can replace up to 1/4 cup of the all-purpose flour with whole wheat flour for a slightly heartier crumb. Replacing all of it may make this small cake denser and can change how much moisture the batter needs.
Can I use pre-shredded carrots?
Freshly grated carrots are preferable because they are finer and usually moister. Packaged shreds can remain firm in the cake. If they are the only option, chop them more finely before measuring and expect a less tender carrot texture.
How do I know when the cake is done without a thermometer?
Look for a lightly golden top and a center that springs back gently when touched. A toothpick inserted in the middle should come out without wet batter; a few moist crumbs are fine. If the toothpick is coated in liquid batter, bake for several more minutes and check again.
Can I bake this in a round pan?
An 8-inch round pan has a similar capacity and can work, though the cake may have a slightly different thickness. Begin checking near 35 minutes and use the center cues. Do not fill a smaller pan more than about two-thirds full; bake extra batter separately if needed.
Can I frost this cake?
Yes. Let it cool completely before spreading on cream cheese frosting. Because cream cheese frosting is perishable, keep the frosted cake refrigerated and return leftovers to the refrigerator promptly.
Can I make the batter ahead?
It is better to prepare the dry and wet ingredients separately, then combine them just before baking. Once the baking soda and baking powder are mixed with the wet ingredients, the leavening starts working, so a long wait can reduce the cake’s lift.
