Carrot Cupcakes · Pineapple

Pineapple Carrot Cupcakes with Cream Cheese Frosting

Moist, spiced carrot cupcakes made with an oil-based batter, grated carrots, walnuts and crushed pineapple, topped with tangy cream cheese frosting.

New, no ratings yet0 reviewsby Simmerbee Kitchen

Prep
25 min
Cook
22 min
Total
1 hr 17 min
Serves
12 cupcakes
Level
Easy

Ingredients

  • Cupcakes
  • 1 ½ cups all-purpose flour ≈ 188 g
    Swaps for all-purpose flour

    Instead of all-purpose flour

    • Gluten-free 1:1 baking flour: The same amount, a blend that includes xanthan gum. A little grittier and more crumbly, browns faster and dries out sooner.
    • Bread flour: The same amount. More gluten: chewier cookies and bread, tougher cakes.
    • Whole wheat flour: Up to half of the flour. Nuttier, darker and denser.

    All 4 swaps for all-purpose flour

    Cooking for an allergy? Check every label.

  • 1 tsp baking powder
    Swaps for baking powder

    Instead of baking powder

    • Baking soda + cream of tartar: ¼ tsp baking soda + ½ tsp cream of tartar for each 1 tsp baking powder. Rises the same if you don't let the batter sit.
    • Baking soda + buttermilk or yogurt: ¼ tsp baking soda + ½ cup buttermilk or thinned yogurt (in place of ½ cup of the recipe's milk) for each 1 tsp baking powder. Good rise with a light tang.
    • Self-rising flour: Use it for the flour and leave out the baking powder and salt. Each cup has about 1½ tsp baking powder and ¼ tsp salt built in, so it only fits recipes close to that ratio.

    More for baking powder

  • ½ tsp baking soda
    Swaps for baking soda

    Instead of baking soda

    • Baking powder: 3 tsp baking powder for each 1 tsp baking soda. It rises, but bakes come out paler and puffier, cookies spread less, and the extra powder can taste a little bitter.

    More for baking soda

  • 1 ½ tsp ground cinnamon
    Swaps for ground cinnamon

    Instead of cinnamon

    • Pumpkin pie spice or apple pie spice: The same amount. Mostly cinnamon, with ginger, nutmeg and allspice or cloves: a little spicier.
    • Ground allspice or nutmeg: About ¼ the amount. Much stronger and different, but warm in the same way.

    More for cinnamon

  • ½ tsp salt
    Swaps for salt

    Instead of salt

    • Kosher salt: About twice as much Diamond Crystal, or about 1¼ times as much Morton. The same saltiness when measured this way.
    • Salt by weight: 1 tsp is about 6 grams of table salt, 5 grams of Morton kosher, 3 grams of Diamond Crystal kosher. The most reliable way to swap, especially in baking and brines.

    More for salt

  • 2 large eggs, room temperature
    Swaps for eggs

    Instead of eggs

    • Flax egg: 1 tbsp ground flaxseed + 3 tbsp water for each egg. Binds well but gives less lift, so bakes are a little denser and flatter, with a mild nutty taste and brown flecks.
    • Chia egg: 1 tbsp chia seeds + 3 tbsp water for each egg. Works like a flax egg: good binding, little lift, slightly denser crumb.
    • Unsweetened applesauce: ¼ cup for each egg. Moister and denser, with a soft, slightly gummy crumb if you swap more than one egg.

    All 5 swaps for eggs

    Cooking for an allergy? Check every label.

  • ¾ cup granulated sugar ≈ 150 g
    Swaps for granulated sugar

    Instead of sugar

    • Less sugar: Up to ¼ less in cookies, muffins and quick breads. Less browning and spread, a drier, more cake-like texture, and bakes go stale sooner.
    • Brown sugar: The same amount, packed. Moister and chewier, with a caramel flavor and darker color.
    • Coconut sugar: The same amount. Darker and caramel-like, a little less sweet; cookies spread slightly less.

    All 4 swaps for sugar

  • ¼ cup brown sugar, packed ≈ 55 g
    Swaps for brown sugar

    Instead of brown sugar

    • White sugar + molasses: 1 cup granulated sugar + 1 tbsp molasses (light) or 2 tbsp (dark). The same as store-bought.
    • White sugar: The same amount. Crisper, paler cookies with less caramel flavor.
    • Light and dark brown sugar: The same amount, either way. Dark brown sugar tastes stronger and makes bakes a bit darker and moister.

    All 4 swaps for brown sugar

  • ½ cup vegetable oil
    Swaps for vegetable oil

    Instead of vegetable oil

    • Another neutral oil: The same amount. No difference.
    • Melted butter: The same amount. Richer, buttery flavor; cakes are a little less moist and firmer once cool.
    • Light olive oil: The same amount. "Light" olive oil tastes mild.

    All 4 swaps for vegetable oil

  • 1 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

  • 1 ½ cups carrots, finely grated, about 3 medium
  • ½ cup walnuts, chopped ≈ 59 g
    Swaps for walnuts

    Instead of nuts

    • Another nut: The same amount. Pecans are sweeter and softer, walnuts slightly bitter, almonds firmer and milder.
    • Toasted pumpkin or sunflower seeds: The same amount. Smaller and crunchier, with an earthy taste.
    • Leave them out, or use chocolate chips or toasted oats: The same amount (or none). Leaving nuts out doesn't change how a batter bakes.

    More for nuts

    Cooking for an allergy? Check every label.

  • ½ cup frozen pineapple chunks, thawed, finely chopped and well drained
  • Frosting
  • 8 oz cream cheese, 8 oz package, softened
    Swaps for cream cheese

    Instead of cream cheese

    • Neufchâtel: The same amount. Lower in fat and a little softer.
    • Mascarpone: The same amount. Richer, milder and softer, with less tang.
    • Ricotta or cottage cheese, blended: The same amount, blended smooth. Lighter and a little grainy; not firm enough for cheesecake or frosting.

    All 4 swaps for cream cheese

  • ¼ cup butter, softened
    Swaps for butter

    Instead of butter

    • Plant-based butter sticks: The same amount. The closest swap.
    • Refined coconut oil: The same amount: solid when the butter is soft or cold, melted when it is melted. It is all fat, so bakes are a bit more tender and rich, with no butter flavor.
    • Vegetable oil: 3 tbsp oil for every 4 tbsp (¼ cup) melted butter. Cakes and muffins come out moister and stay soft longer, without a buttery taste.

    More for butter

    Cooking for an allergy? Check every label.

  • 2 cups powdered sugar, sifted ≈ 240 g
    Swaps for powdered sugar

    Instead of powdered sugar

    • Homemade powdered sugar: 1 cup granulated sugar + 1 tbsp cornstarch, blended. Slightly grainier in uncooked frosting; fine in glazes and for dusting.

    More for powdered sugar

  • 1 tsp vanilla extract
    Swaps for vanilla extract

    Instead of vanilla extract

    • Vanilla bean paste: The same amount. Stronger, with visible vanilla seeds.
    • Vanilla bean: The seeds of 1 bean for each 1 tbsp extract. A deeper, floral flavor and visible seeds.
    • Alcohol-free vanilla: The same amount. Made with glycerin; a slightly milder taste.

    All 5 swaps for vanilla extract

Cooking for a crowd? Pans, timing and salt for 12 to 50.

Missing something? Tap Swaps next to an ingredient, or see all substitutions.

Steps

Kid helper. A child can do steps 2, 3, 4, 5, 6, 9 and 10: no knife, no heat. Steps marked “Grown-up” use heat. Cooking with kids

  1. Heat the oven to 350°F and
    line (how to line a pan) Line a pan Cover the bottom (and sometimes sides) of a pan with parchment or foil so food doesn't stick and lifts out easily. 1. For a sheet pan, tear parchment the size of the pan and lay it flat.2. For a round cake pan, trace the bottom on parchment, cut the circle out and press it in.3. For brownies and bars, leave two long sides hanging over to make handles (a "sling").4. A little grease under the paper holds it in place. Done when: The paper lies flat with no folds where the batter could run under it. How to line a baking pan with parchment: mistakes to avoid
    a 12-cup muffin tin with cupcake liners.
    350°FGrown-up: heat
  2. Whisk (how to whisk) Whisk Beat ingredients with a whisk to mix them smoothly or to add air. 1. Use a bowl big enough to whisk without splashing; set it on a damp towel to stop it spinning.2. Hold the whisk loosely and move it in quick circles or side to side, touching the bottom.3. For lumpy mixtures, add liquid a little at a time and whisk after each.4. For sauces on the stove, keep the whisk moving across the whole bottom of the pan. Done when: The mixture is even with no lumps or streaks of egg. How to whisk: mistakes to avoid
    the flour, baking powder, baking soda, cinnamon and salt together in a medium bowl.
    Kid step
  3. In a large bowl, whisk the eggs with both sugars, the oil and the vanilla until smooth and slightly thick.
    Kid step
  4. Add the dry ingredients to the wet mixture and stir with a spatula until just a few streaks of flour remain.
    Kid step
  5. Fold (how to fold) Fold Combine a light mixture (whipped cream, beaten whites) or chunky add-ins into a batter gently, so it stays airy. 1. Put the lighter mixture on top of the heavier one, or add the flour or chips.2. Cut a rubber spatula straight down through the middle to the bottom of the bowl.3. Sweep it across the bottom and up the side, then turn it over on top.4. Turn the bowl a quarter turn and repeat.5. Stop as soon as no streaks remain. Done when: There are no dry streaks or white blobs, and the mixture still looks light and puffy. Safety: Batters with raw eggs or flour aren't safe to eat raw.How to fold ingredients into a batter: mistakes to avoid
    in the grated carrots, walnuts and drained pineapple until evenly distributed.
    Kid step
  6. Divide the batter among the liners, filling each about three-quarters full.
    Kid step
  7. Bake until
    a toothpick (how to toothpick test) Toothpick test A quick way to tell if a cake, quick bread or brownie is baked through. 1. Near the end of the baking time, open the oven and pull out the rack.2. Poke a toothpick or thin skewer into the center (the last place to set).3. Pull it straight out and look at it.4. If wet batter clings, bake a few minutes more and test again. Done when: Clean, or with a few moist crumbs for brownies and fudgy cakes. Wet, shiny batter means not yet. How to test a cake with a toothpick: mistakes to avoid
    in the center comes out clean and the tops spring back lightly.
    350°F⏱ Bake: 22 minGrown-up: heat
  8. Cool the cupcakes in the tin for 5 minutes, then move them to a rack and cool completely.
    ⏱ Cool: 30 minGrown-up: heat
  9. Beat (how to beat) Beat Mix hard and fast, by hand or with a mixer, to blend ingredients fully and add air. 1. Use a mixer on the speed the recipe gives, or a fork or whisk for a few eggs.2. Add eggs one at a time, beating until each disappears before the next.3. Stop and scrape the bowl and beaters now and then.4. Mix on low once flour goes in, just until combined. Done when: The mixture is smooth and even, with no streaks of yolk or white. Safety: Turn the mixer off before you scrape the bowl or reach in.How to beat eggs and batters: mistakes to avoid
    the cream cheese and butter until smooth and fluffy, then beat in the powdered sugar and vanilla until creamy.
    Kid step
  10. Spread or pipe the frosting over the cooled cupcakes and sprinkle with extra walnuts if you like.
    Kid step

Tap an underlined word for how to do it, or see all techniques.

Tips

  • Squeeze the pineapple dry in a paper towel so the cupcakes stay tender rather than gummy.
  • Make sure the cupcakes are completely cool before frosting or the frosting will slide off.

Storage

Keep frosted cupcakes in an airtight container in the refrigerator for up to 4 days; let them sit at room temperature for 20 minutes before serving.

Make ahead

Bake the cupcakes a day ahead and store them unfrosted, covered, at room temperature; frost the day you serve.

Quick answers

Can I make it ahead?

Bake the cupcakes a day ahead and store them unfrosted, covered, at room temperature.

What can I swap?

Cooking for an allergy? Check every label.

Answered from this recipe's own storage, make-ahead and swap notes.

Estimated nutrition per serving

Calories
440
Protein
5 g
Carbohydrates
54 g
Fiber
1 g
Sugars
39 g
Fat
24 g
Saturated fat
8 g
Sodium
310 mg

Whole recipe, 12 servings: about 5,250 calories.

Estimate from USDA FoodData Central; not medical or dietary advice. Based on 17 of 17 ingredients.

How we estimate

We add up USDA FoodData Central values for each measured ingredient as written and divide by the recipe's 12 servings, so changing the servings or units here doesn't change a serving. Brands, swaps, trimming and cooking all change the real numbers.

Estimated cost

About $0.65 a serving

About $7.95 for the recipe as written (12 servings).

Estimate; prices vary by store and region. U.S. average prices for September 2026 from BLS Average Price Data and USDA ERS Purchase to Plate prices updated with the BLS Consumer Price Index. Priced: 11 of 17 ingredients, 98% by weight.

How we estimate

Each measured ingredient is weighed as in the nutrition estimate and priced at the U.S. average: BLS's average price where BLS publishes one, else USDA ERS's Purchase to Plate price for 2017-18 raised to September 2026 with the CPI for that food group. Whole packages, store brands, sales and regions all change the real cost: treat it as a ballpark.

  • cream cheese $2.35 ERS
  • walnuts $1.35 ERS
  • powdered sugar $0.80 ERS
  • carrots $0.70 ERS
  • vegetable oil $0.65 ERS
  • butter $0.50 BLS
  • frozen pineapple chunks $0.45 ERS
  • eggs $0.40 BLS
  • granulated sugar $0.35 BLS
  • all-purpose flour $0.25 BLS
  • brown sugar $0.20 ERS

Not priced (no official average price we can match, so not in the total): baking powder, baking soda, ground cinnamon, salt, vanilla extract.

More dishes for less: cheap eats.

Keep this one

Sign in to save recipes into your own collections, log the days you cook them and keep private notes, like "use less sugar next time". Only you see them.

Sign in to saveNo password: we email you a code.

Gear for this recipe

As an Amazon Associate we earn from qualifying purchases. Brands are suggestions; any similar item works.

Cleanup score 2/5 (more cleanup): 5 things to wash, muffin tin, bowl 1, bowl 2, box grater, hand mixer beaters.

More kitchen gear and our gear guides

Reviews (0)

No reviews yet. Made it? Tell us how it went.