Peanut Oil vs Vegetable Oil in Cake: Can You Swap?
In this article
Yes, you can absolutely use peanut oil instead of vegetable oil in most cake recipes. Peanut oil has a neutral flavor when refined, a high smoke point, and a similar fat content, so it swaps 1:1 without changing the texture or taste of your cake. This makes it a reliable substitute in nearly any baked good, from pound cakes to boxed mixes.
Ingredients
- 1 cup (240 ml) peanut oil (refined, not cold-pressed or roasted)
- 2 cups (250 g) all-purpose flour
- 1 ½ cups (300 g) granulated sugar
- 3 large eggs (room temperature)
- 1 cup (240 ml) buttermilk (room temperature)
- 2 teaspoons baking powder
- ½ teaspoon baking soda
- 1 teaspoon salt
- 2 teaspoons vanilla extract
- Optional: 1 tablespoon lemon zest or 1 teaspoon almond extract
Instructions
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans or one 9x13-inch pan.
- In a large bowl, whisk together the flour, sugar, baking powder, baking soda, and salt.
- In a separate bowl, beat the eggs lightly, then add the peanut oil, buttermilk, and vanilla. Whisk until combined.
- Pour the wet ingredients into the dry ingredients. Stir with a spatula or whisk until just combined—do not overmix. The batter should be smooth with no dry streaks.
- If using lemon zest or almond extract, fold it in now.
- Divide the batter evenly between the prepared pans. Tap the pans gently on the counter to release air bubbles.
- Bake for 28–32 minutes (for 9-inch rounds) or 35–40 minutes (for a 9x13 pan), or until a toothpick inserted in the center comes out clean. The cake should spring back when lightly pressed.
- Cool in the pans for 10 minutes, then turn out onto a wire rack to cool completely before frosting or serving.
Tips
- Use refined peanut oil: Refined peanut oil has a neutral taste and high smoke point. Unrefined or roasted peanut oil will add a strong nutty flavor that may overpower a delicate cake.
- Measure accurately: Use a liquid measuring cup for the oil. Do not scoop with a dry cup—it's easy to add too much, which makes the cake greasy.
- Substitute for other oils: Peanut oil works 1:1 for vegetable, canola, or sunflower oil. If a recipe calls for melted butter, replace only half the butter with peanut oil to keep the right moisture balance.
- Check for allergies: If you're baking for others, remember peanut oil is a common allergen. Use a different neutral oil (like grapeseed or canola) if you're unsure about your guests.
Serving Suggestions
This cake is moist and tender, perfect with a simple vanilla buttercream, cream cheese frosting, or a dusting of powdered sugar. Serve it with fresh berries, a drizzle of chocolate ganache, or a scoop of vanilla ice cream. It also pairs well with coffee or tea for an afternoon treat.
Variations
- Citrus cake: Add 2 tablespoons of lemon or orange zest and replace the vanilla with lemon extract.
- Spice cake: Add 1 teaspoon cinnamon, ½ teaspoon nutmeg, and ¼ teaspoon cloves to the dry ingredients.
- Chocolate version: Replace ¼ cup of the flour with unsweetened cocoa powder and increase the sugar by 2 tablespoons.
- Vegan option: Use a flax egg (1 tablespoon ground flaxseed + 3 tablespoons water per egg) and a plant-based buttermilk (1 cup plant milk + 1 tablespoon lemon juice).
Storage and Reheating
Store the unfrosted cake in an airtight container at room temperature for up to 3 days. Frosted cakes can be refrigerated for up to 5 days—bring to room temperature before serving. You can also freeze the unfrosted cake layers wrapped tightly in plastic wrap and foil for up to 3 months. Thaw overnight in the refrigerator, then bring to room temperature. To refresh a slice, microwave for 10–15 seconds or warm in a 300°F (150°C) oven for 5 minutes.
Frequently Asked Questions
Will peanut oil make my cake taste like peanuts?
Only if you use unrefined or roasted peanut oil. Refined peanut oil is flavorless and neutral, so your cake will taste exactly as it would with vegetable oil.
Can I use peanut oil in a boxed cake mix?
Yes. Replace the vegetable oil called for on the box with the same amount of refined peanut oil. The cake will bake up just as moist and tender.
Is peanut oil healthier than vegetable oil?
Both are high in unsaturated fats, but peanut oil has slightly more monounsaturated fat and vitamin E. However, for occasional baking, the difference is minimal. Use whichever you have on hand.
What if I only have roasted peanut oil?
You can still use it, but the cake will have a distinct nutty flavor. This works well in spice cakes, banana bread, or chocolate cakes, but may clash with delicate vanilla or citrus flavors.
Can I substitute peanut oil in a recipe that calls for melted butter?
Yes, but not 1:1. Butter is about 80% fat and 20% water. Replace half the melted butter with peanut oil and keep the other half as butter to maintain moisture and flavor. For example, if a recipe calls for 1 cup melted butter, use ½ cup peanut oil and ½ cup melted butter.
Does peanut oil change the baking time?
No. Peanut oil has a similar fat structure to vegetable oil, so baking time and temperature remain the same. Check for doneness with a toothpick at the lower end of the suggested time range.