Prep Time::15 mins
Cook Time::40 mins
Additional Time::40 mins
Total Time:: 1 hr 35 mins
Servings::12
Yield::1 (9×13-inch) cake
Ingredients
Oops! Something went wrong. Our team is working on it.
For the Cake:
2 cups all-purpose flour
1 teaspoon salt
1 teaspoon baking soda
2 teaspoons baking powder
½ teaspoon ground ginger
2 teaspoons ground cinnamon
2 cups white sugar
4 large eggs
¼ cup unsalted butter
1 cup coconut oil
2 cups finely grated carrots, or more to taste
1 (8 ounce) can finely crushed pineapple, drained
½ cup finely chopped pecans (Optional)
½ cup finely chopped walnuts (Optional)
For the Frosting:
1 (8 ounce) package cream cheese, softened
¼ cup unsalted butter, softened
1 ½ teaspoons vanilla extract, or to taste
3 cups confectioners' sugar, or to taste
Directions
Preheat the oven to 350 degrees F (175 degrees C).
Place flour in a bowl. Add salt, baking soda, and baking powder. Sprinkle in ground ginger and cinnamon. Whisk thoroughly until combined. Set aside.
Add sugar to a separate bowl. Whisk in eggs until mixture is smooth and pale yellow, 2 to 3 minutes.
Heat butter and coconut oil in a saucepan over low heat until just melted but not too hot. Whisk into the bowl with the eggs and sugar until well combined. Add carrots, crushed pineapple, pecans, and walnuts. Stir well.
Stir flour mixture into the carrot mixture until no dry spots remain. Pour batter into a greased 9×13-inch baking pan. Tap the pan against your counter to let any big air bubbles rise to the surface.
Bake in the preheated oven until a toothpick inserted into the cake comes out clean, 40 to 45 minutes. Let cool completely before frosting, at least 40 minutes.
Beat cream cheese, butter, and vanilla extract together using an electric mixer until light and fluffy. Gradually beat in the confectioners' sugar to form a smooth frosting. Spread evenly over the cooled cake. Chill completely before slicing.
Chef John Chef’s Notes
You can substitute vegetable oil for the coconut oil. If you use coconut oil, you can use a 'virgin' coconut oil, which will have a fairly strong coconut aroma and identifiable flavor, or you can go with a more refined coconut oil, which is virtually odorless and flavorless. I used the latter, but the former would be fine if that's what you're into.
Divide batter between two 9-inch round pans if you want to make a layer cake.