Moist, warmly spiced carrot cupcakes with a touch of pineapple, crowned with silky tangy cream cheese frosting. Easy to make, bakery-soft, and perfect for any celebration.
Preheat oven to 350°F. Line a 12-cup muffin pan with paper liners.
Whisk flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt in a medium bowl.
In a large bowl, whisk granulated sugar, brown sugar, and oil until combined. Whisk in eggs and vanilla until smooth.
Stir in buttermilk. Add the dry ingredients and fold just until no dry streaks remain.
Fold in grated carrots, drained pineapple, and nuts if using.
Divide batter evenly among liners, filling each about 0.75 full.
Bake 20 to 22 minutes, until a toothpick in the center comes out clean. Cool in pan 5 minutes, then transfer to a rack to cool completely.
Make frosting: Beat cream cheese and butter on medium-high until smooth. Gradually add powdered sugar, then vanilla and salt; beat until fluffy, about 2 minutes.
Frost cooled cupcakes and garnish with extra chopped nuts or a sprinkle of cinnamon if desired.
Notes
For best texture, grate carrots finely and avoid overmixing. If using pineapple, drain thoroughly. Store frosted cupcakes covered in the refrigerator up to 4 days; bring to room temperature before serving.