These carrot cake cupcakes are so simple to make. This recipe is forgiving. You can make this with or without the nuts and raisins. We like using granulated and brown sugar in this recipe. If you only want to use one, choose brown sugar since it has the necessary acid to react with the baking soda.
1 ¼ cup all-purpose flour, spooned and leveled (160g)
1 teaspoon baking soda, important to level the teaspoon, see tips
¼ teaspoon fine sea salt, see tips
¾ teaspoon ground cinnamon
¼ teaspoon ground ginger, optional
¼ teaspoon ground cardamom, optional
⅛ teaspoon freshly grated nutmeg, optional
½ cup canola or other vegetable oil (118ml)
½ cup granulated sugar (100g)
½ cup light or dark brown sugar, lightly packed (105g)
1 teaspoon vanilla extract
2 large eggs, at room temperature
1 ½ cups grated peeled carrots, 2 to 3 medium carrots (150g)
¼ cup coarsely chopped pecans, optional (35g)
¼ cup raisins, optional (35g)
4 ounces full-fat block cream cheese, softened to room temperature (115g)
2 tablespoons unsalted butter, softened to room temperature (28g)
½ teaspoon vanilla extract
Pinch fine sea salt
1 ½ cups powdered sugar or confectioners sugar, plus more as needed (165g)
Pinch ground cinnamon or ground cardamom, optional
¼ cup coarsely chopped pecans, optional (35g)
1Prep: Position a rack in the middle of the oven. Preheat the oven to 350°F (176°C). Line a 12-cup muffin pan with cupcake liners.
2Whisk dry ingredients: In a medium bowl, whisk flour, baking soda, salt, cinnamon, ginger, cardamom, and the nutmeg until well blended.
3Whisk wet ingredients: In a separate bowl, whisk the oil, sugars, and vanilla. Whisk in eggs, one at a time, until combined.
4Make the batter: Switch to a large rubber spatula. Scrape the sides and bottom of the bowl, then add the dry ingredients in 3 parts, gently stirring until they disappear and the batter is smooth. Stir in the carrots, nuts, and raisins.
5Bake: Divide the batter between the prepared muffin cups, filling about ¾ of the way to the top. Bake until the tops of the cupcakes are springy when touched and when a toothpick inserted into the center of the cake comes out clean, 20 to 25 minutes. Cool cupcakes in the pan for 5 minutes, then transfer them to a cooling rack and cool them completely before frosting.
1Beat cream cheese and butter: In a large bowl, beat the cream cheese, butter, vanilla, and salt with a handheld electric mixer on medium speed until very creamy, about 2 minutes.
2Add the sugar: For the creamiest frosting, sift the powdered sugar or whisk until most large lumps are gone. Beat in the powdered sugar, a ¼ cup at a time, until fluffy. Add an additional ¼ cup to ½ cup of powdered sugar for a thicker frosting.
3Add spices: For a spiced frosting, beat in a pinch of ground cinnamon or cardamom.
4Frost: Frost the cooled cupcakes and, if you’d like, top with coarsely chopped pecans.