This apple and sweet potato cake is a wonderfully moist, rustic homemade treat made with grated apples, orange-fleshed sweet potatoes, cinnamon, and crunchy walnuts. Unlike a traditional fluffy cake, it has a soft, compact texture, almost like a baked fruit pudding, with warm spices and a delicate fruity sweetness.

Made without flour or added sugar, this cake is naturally gluten-free and makes a lovely afternoon snack for kids or a comforting homemade breakfast. Butter, eggs, and whole milk bring the ingredients together, creating a simple cake that’s especially enjoyable during the cooler months.
The preparation is a little different from a classic cake: the grated sweet potatoes and apples are cooked briefly in a skillet before being combined with the eggs and milk and finished in the oven.
Why You’ll Love This Cake
- Wonderfully moist: Grated apples and sweet potatoes give the cake its distinctive soft, rustic texture.
- Naturally gluten-free: No flour or special gluten-free baking mixes are needed.
- No added sugar: The apples, sweet potatoes, and optional raisins provide natural sweetness.
- Perfect for an afternoon snack: Serve it in small portions for kids or enjoy a slice with coffee or tea.
- Made with simple ingredients: Butter, eggs, milk, fruit, sweet potatoes, and warm spices.
- Easy to prepare ahead: The cake becomes firmer as it cools, making it easier to slice and serve.
Ingredients and Tips
Sweet Potatoes
Choose an orange-fleshed sweet potato, which has a naturally sweet flavor and becomes tender when cooked. Peel it and grate it into thin strips rather than cutting it into cubes. The grated texture is essential for this cake because it allows the sweet potato to soften quickly and combine evenly with the other ingredients.
A food processor fitted with a shredding disc makes the preparation much faster, but a regular box grater works just as well.
Apples
A large, naturally sweet apple, such as Gala or Fuji, works particularly well. The apple adds both sweetness and moisture, helping create the cake’s soft texture without the need for flour.
Peel and grate it shortly before cooking. There’s no need to squeeze out the juice, as the natural moisture is part of what makes this cake special.
Butter, Eggs, and Milk
Unsalted butter adds richness and helps soften the grated sweet potatoes during the initial cooking stage.
The eggs bind the ingredients together and give the cake structure, while whole milk keeps the mixture tender. Since this recipe contains no flour, the eggs are especially important for helping the cake hold its shape once baked.
Cinnamon, Nutmeg, and Salt
Cinnamon and nutmeg bring warmth and complement the sweetness of the apples and sweet potatoes. Nutmeg has a strong flavor, so a small amount is enough.
A little sea salt balances the sweetness and enhances the other flavors.
Raisins and Walnuts
Both raisins and walnuts are optional. Raisins add small bursts of sweetness, while chopped walnuts provide a pleasant crunchy contrast to the soft cake.
If the raisins are particularly dry, you can soak them briefly in warm water before using them. Drain them thoroughly so they don’t add unnecessary liquid to the mixture.
The walnuts can be omitted if you prefer a smoother texture or need to avoid nuts.
How to Make Apple and Sweet Potato Cake
Making this cake is slightly different from preparing a traditional cake batter. Instead of mixing flour with the other ingredients, you begin by gently cooking the grated sweet potatoes and apples in a skillet. This softens them, brings out their natural sweetness, and helps create the moist texture that makes this cake so distinctive.
Prepare and Cook the Apples and Sweet Potatoes
Start by peeling the sweet potato and apple, then grate them into thin strips using a box grater or food processor. Try to keep the strands reasonably thin and similar in size so they soften evenly. Avoid grating them so finely that they turn into a purée: the visible strands of apple and sweet potato are part of the cake’s rustic character.
Melt the butter in a nonstick skillet and add the grated sweet potato. Cook gently until the strands begin to soften and develop a little color, stirring occasionally. There’s no need to brown them deeply, as you want the sweet potatoes to become tender without drying out.
Add the grated apple, cinnamon, nutmeg, and salt, then continue cooking over low heat. The apple will release some juice, helping the ingredients soften and blend together. This is perfectly normal, and you shouldn’t squeeze the grated apple beforehand.
If the mixture seems particularly wet, let a little of the excess liquid evaporate before moving on. It should be moist and tender, but not swimming in juice.
Add the Eggs and Milk
While the apples and sweet potatoes are cooking, whisk the eggs and whole milk together in a separate bowl until combined. You don’t need an electric mixer or to incorporate lots of air, because this cake isn’t meant to rise like a sponge cake. The eggs simply help bind the grated ingredients together.
Once the apples and sweet potatoes are tender, remove the skillet from the heat and let the mixture cool slightly. This is an important detail: adding the eggs directly to a very hot pan could cause them to cook immediately, leaving small pieces of scrambled egg in the cake.
Pour in the egg and milk mixture gradually, stirring gently but thoroughly so it reaches all the grated ingredients. Add the raisins, if you’re using them.
At this stage, the mixture will look quite different from an ordinary cake batter. It will be moist and full of visible strands of apple and sweet potato. That’s exactly what you want, so don’t be tempted to add flour to make it thicker.
Bake and Serve the Cake
You can finish the cake in a lightly buttered round baking dish or use an oven-safe cast-iron skillet, which allows you to move directly from the stovetop to the oven. A wide, shallow pan is preferable because it helps the mixture cook evenly and gives the cake its characteristic rustic appearance.
Spread the mixture into an even layer and scatter the chopped walnuts over the surface. They provide a lovely contrast to the soft interior and become lightly toasted during baking. If you’re preparing the cake for young children, you can chop them very finely or leave them out.
Bake in the preheated oven until the surface is lightly golden and the egg mixture has set. Because the apples and sweet potatoes have already been cooked in the skillet, the oven stage is relatively short. However, the exact baking time depends on the moisture of the ingredients, the thickness of the mixture, and the oven.
Don’t judge this cake as you would a traditional sponge cake. A toothpick may still come out moist because of the grated fruit and vegetables, even when the cake is ready. Instead, look for a center that is set rather than liquid or loosely wobbly. The cake should remain very moist, but the eggs must be fully cooked.
Let the cake rest before cutting. As it cools, the texture becomes firmer and the slices hold together more easily. Serve it slightly warm or at room temperature, with a glass of milk for the kids or a cup of coffee or tea for the adults.

Is This Apple and Sweet Potato Cake Gluten-Free?
Yes. This cake is naturally gluten-free because it’s made with ingredients that don’t naturally contain gluten. There’s no need for wheat flour or special gluten-free flour blends: grated apples, sweet potatoes, and eggs provide the structure.
It’s a lovely homemade option for anyone who prefers baking without flour or is looking for a simple gluten-free dessert. If you need to avoid gluten strictly, remember to check packaged ingredients and prevent cross-contact during preparation.
A Homemade Afternoon Snack for Kids
This cake is a lovely choice for an afternoon snack, especially when you want something homemade that isn’t overly sweet. Cut it into small portions and serve it with a glass of milk, or prepare it in advance and refrigerate individual slices for the following day.
If you’re making it for younger children, finely chop the walnuts or leave them out, depending on their age and ability to chew safely.
It’s also a nice alternative to a traditional breakfast cake, particularly during the cooler months.
How to Store Apple and Sweet Potato Cake
Because this cake contains eggs, milk, and plenty of moisture from the grated apples and sweet potatoes, it should be stored in the refrigerator. Allow it to cool, then transfer it to an airtight container and refrigerate promptly. For the best quality, enjoy it within 2–3 days.
You can serve the cake cold or gently warm individual portions before eating. The texture becomes slightly firmer after refrigeration, which can make it easier to cut into neat slices.
Freezing is possible, but the cake may become softer and release some moisture after thawing. For the best texture, I recommend enjoying it fresh or refrigerated.
More Sweet Potato Recipes to Try
If you enjoy cooking with sweet potatoes, there are plenty of other delicious ways to use them. For a savory side dish, try my Savory Roasted Sweet Potatoes, a simple and flavorful addition to everyday meals. For another homemade breakfast or afternoon snack, my Banana Sweet Potato Muffins are a delicious way to combine sweet potatoes with fruit in a baked treat.

Moist Apple and Sweet Potato Cake with Cinnamon and Walnuts
Ingredients
- 1 large orange-fleshed sweet potato peeled and coarsely grated
- 1 large red apple peeled and coarsely grated
- 30 g unsalted butter
- ¼ teaspoon sea salt
- 1 teaspoon ground cinnamon
- ¼ teaspoon ground nutmeg
- 2 large eggs
- 120 ml whole milk
- 60 ml raisins optional
- 30 g chopped walnuts optional
Instructions
- Preheat the oven to 200°C (400°F). Prepare a nonstick skillet and a lightly buttered 23–25 cm (9–10 inch) round baking dish, or use an oven-safe cast-iron skillet of the same size.
- Melt the butter in the skillet over medium heat. Add the grated sweet potato and cook, stirring occasionally, until it begins to soften and turn lightly golden.
- Add the grated apple, salt, cinnamon, and nutmeg. Mix well and continue cooking over low heat for approximately 5 minutes.
- In a separate bowl, whisk the eggs with the whole milk until smooth.
- Remove the skillet from the heat and allow the sweet potato mixture to cool slightly. Gradually stir in the egg and milk mixture, mixing thoroughly. Add the raisins, if using.
- Transfer the mixture to the prepared baking dish, or leave it in the oven-safe skillet. Spread evenly and sprinkle the chopped walnuts over the surface.
- Bake for approximately 10 minutes, or until lightly golden and the center is fully set. Extend the baking time if necessary, depending on the depth of the mixture and the oven.
- Allow to cool slightly before slicing. Serve warm or at room temperature.
