Chef John's Carrot Cake

"I finally added a video to my old and trusty recipe for carrot cake, revamped with coconut oil this time. If you want to decorate it with candied carrots, simply slice them thinly and boil for a couple minutes in a syrup made from equal parts sugar and water."

Directions

Place flour in a bowl. Add salt, baking soda, and baking powder. Sprinkle in ground ginger and cinnamon. Whisk thoroughly until combined. Set aside.
Watch Now

Add sugar to a separate bowl. Whisk in eggs until mixture is smooth and pale yellow, 2 to 3 minutes.
Watch Now

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.
Watch Now

Stir flour mixture into the carrot mixture until no dry spots remain. Pour batter into a greased 9x13-inch baking pan. Tap the pan against your counter to let any big air bubbles rise to the surface.
Watch Now

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.
Watch Now

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.
Watch Now

Footnotes

Chef's Notes:

You can substitute vegetable oil for the coconut oil. If you do go with the 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.

Use more carrots for a moister cake.

Divide batter between two 9-inch round pans if you want to make a layer cake.