Skip to Content

Pineapple Cupcakes

This post may contain affiliate links. Please read my disclosure for more info.

These pineapple cupcakes are moist, buttery, and loaded with crushed pineapple. They are paired perfectly with coconut buttercream for a tropical treat.

Pineapple cupcakes with coconut buttercream frosting on a black plate.

Easy pineapple cupcake recipe

I am a huge fan of fruity desserts. So it should come as no surprise that I want to fruit in all my desserts. It’s a habit that I can’t control.

These cupcakes have been on my mind for quite some time now. I made batch after batch to develop the best recipe possible. And these are fabulous! I'm sure they'd be even more fabulous with pineapple frosting swirled on top!!

I've used the base for my pina colada cupcakes and it turned out amazing. And I did something similar with my pineapple upside-down cake.

Pineapple cupcake batter in a glass mixing bowl with a whisk stirring.
Pineapple cupcake batter in a gold muffin pan ready to be baked.

How to make pineapple cupcakes

It took me countless days to achieve a moist, buttery cupcake that was full of crushed pineapple and made completely from scratch. I’d seen recipes that called for box cake mix and a can of crushed pineapple.

Yeah, it’s simple and probably delicious but you know how we do it here. We bake from scratch whenever possible.

I decided to top these crushed pineapple cupcakes with the whipped coconut buttercream frosting that I shared with you on Wednesday. Why?

Because it was darn good, that’s why. A tender pineapple-y cupcake with a puff of silky coconut buttercream.  What more could you ask for?

Stop what you are doing right now and go bake these cupcakes. It will be the best 30 minutes you’ve ever spent. They are amazing!

A pineapple cupcake with a bite take out of it, exposing the inside.

Tips for making pineapple cupcakes

  • Measure the flour correctly! Lightly spoon the flour into the measuring cup and level with the back of a knife. For more accurate measurements, it's best to weigh the ingredients.
  • The recipe calls for one 8-ounce can of crushed pineapple. Crushed pineapple will be broken down much more than pineapple chunks. Make sure you are in fact using crushed pineapple.
  • Use the entire contents of the can of crush pineapple. The juice and all the pineapple bits!
  • Test your baking powder! If the baking powder is no longer effective, the cupcakes will not rise. Add ½ teaspoon of baking powder to ¼ cup warm water. The baking powder should fizz moderately if it is fresh. You'll need to replace the baking powder if there's no reaction.
Pineapple cupcakes arranged on a black plate with a yellow napkin in the background.

NEED MORE BAKING IDEAS? Subscribe to our newsletter and Youtube channel. Also, follow along on Facebook, Instagram, and Pinterest for all the latest updates!

Pineapple cupcakes with coconut buttercream frosting on a black plate.

Pineapple Cupcakes

Yield: 12 cupcakes
Prep Time: 15 minutes
Cook Time: 20 minutes
Total Time: 35 minutes

These pineapple cupcakes are moist, buttery, and loaded with crushed pineapple. They are paired perfectly with coconut buttercream for a tropical treat.


  • 1 ⅔ cups (216 g) all-purpose flour
  • 1 teaspoon baking powder
  • ½ teaspoon salt
  • ½ cup (113 g) unsalted butter, softened
  • ¼ cup (53 g) light brown sugar, packed
  • ½ cup (100 g) granulated sugar
  • 1 teaspoon vanilla extract
  • 2 large eggs
  • 8-ounce can (234 g) crushed pineapple, undrained
  • 1 recipe coconut buttercream frosting


  1. Preheat the oven to 350ºF. Line a 12 cup muffin pan with paper liners.
  2. In a medium mixing bowl, combine the flour, baking powder, and salt. Stir with a whisk to combine. Set aside.
  3. In a separate mixing bowl, beat the butter on medium speed until creamy. Add the sugar, continue to beat for 3 minutes. 
  4. With the mixer set to low, beat in the vanilla. Beat in the eggs, one at a time, mixing well after each addition. 
  5. Beat in the crushed pineapple and its juice. Add the flour, mixing just until combined. 
  6. Divide the batter evenly among the prepared muffin cups. Bake for 15 to 20 minutes or until a wooden toothpick inserted into the centers comes out clean. 
  7. Cool the cupcakes in the pan for 5 minutes before transferring them to a wire rack to cool completely. Top with coconut buttercream frosting.


Cupcakes can be stored in an airtight container at room temperature for up to 3 days or in the refrigerator up to 4.

Recommended Products

As an Amazon Associate and member of other affiliate programs, I earn from qualifying purchases.

Nutrition Information:
Yield: 12 Serving Size: 1
Amount Per Serving: Calories: 106Total Fat: 2gSaturated Fat: 1gTrans Fat: 0gUnsaturated Fat: 1gCholesterol: 34mgSodium: 146mgCarbohydrates: 19gFiber: 1gSugar: 5gProtein: 3g

* Percent Daily Values are based on a 2000 calorie diet. Since different brands of ingredients have different nutritional information, the values shown are just an estimate.

Tried this recipe? Share it on Instagram!

Mention @introvertbaker or tag #introvertbaker!

Super soft garlic breadsticks wrapped in a blue cloth napkin
Garlic Breadsticks
side view a muffin dotted with blueberries on a marble slab
Lemon Blueberry Muffins

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Monday 22nd of March 2021

Hi Jen, I just wanted to know if I could double this recipe, to make a layered Birthday Cake.

Jen Sobjack

Tuesday 23rd of March 2021

I haven't doubled this recipe before, so I'm not sure how it will turn out. I imagine it would be okay but just can't guarantee it will work.


Wednesday 10th of February 2021

How long can I keep the batter in the freezer for, before baking?

Jen Sobjack

Thursday 11th of February 2021

You can not make and freeze cake batter before baking.


Sunday 4th of October 2020

This recipe is amazing! So fresh, moist and delicious! I think I might use the coconut buttercream for all my vanilla cakes - gives the icing a beautiful creamy texture. The coconut offsets the sweetness. Thank you so much for sharing!


Sunday 4th of October 2020

We don’t have tinned crushed pineapple here, only tinned chunks or rings. Could I drain and finely chop or mash these instead? Or use a blender to break them down? I so want to try these!

Jen Sobjack

Sunday 4th of October 2020

While I haven't tested this myself, there have been readers who have successfully pureed fresh pineapple and it worked for them. I imagine doing this with the tinned chunks would be okay but I can't guarantee it.


Monday 20th of July 2020

Jen, this recipe inspired me to start my own baking business, I cannot thank you enough!!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Skip to Recipe