Ingredients
Method
Preparation
- Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans, or line them with parchment paper.
- In a large bowl, whisk together the flour, granulated sugar, baking powder, baking soda, cinnamon, and salt until well combined.
- In another bowl, mix together the vegetable oil, eggs, grated carrots, and crushed pineapple until incorporated.
- Gradually add the wet mix to the dry ingredients, stirring gently just until combined. Fold in walnuts if using.
Baking
- Divide the batter evenly between the prepared cake pans. Bake in the preheated oven for 25-30 minutes or until a toothpick inserted in the center comes out clean.
- Remove from the oven and let the cakes cool in the pans for 10 minutes. Transfer them to a wire rack to cool completely.
Frosting
- While the cakes are cooling, beat the softened cream cheese and butter together until smooth. Gradually add in powdered sugar and vanilla extract, mixing until creamy and fluffy.
Assembly
- Once the cakes are completely cool, place one layer on a serving plate, spread a generous amount of frosting on top, then place the second layer on top and frost the top and sides as desired.
Notes
Store leftover cake in an airtight container in the refrigerator for about 5-7 days. For longer storage, wrap individual slices in plastic wrap and foil to prevent freezer burn, keeping for up to 3 months.
