• Home
  • Home Projects
  • Recipes
  • Fall
  • About
menu icon
go to homepage
  • DIY Home Projects
  • Recipes
  • Fall
  • Free Email Series
  • About
    • Facebook
    • Instagram
    • Pinterest
  • search icon
    Homepage link
    • DIY Home Projects
    • Recipes
    • Fall
    • Free Email Series
    • About
    • Facebook
    • Instagram
    • Pinterest
  • ×
    Home » Recipes » Cakes & Cupcakes

    The Best Carrot Cake with Pineapple

    by Rachel · Updated Nov 3, 2022 · 29 Comments

    This page may contain affiliate links.
    ↓ Jump to Recipe
    Pin the Recipe

    The best carrot cake recipe! Made with real carrots, pineapple, raisins, walnuts, and a touch of cinnamon, this carrot cake recipe with pineapple is better than grandma’s. This cake is surprisingly simple to make and includes a step-by-step instructions for no-fail results every time.

    Slice of carrot cake covered in cream cheese frosting, garnished with chopped walnuts on white plate over blue towel and fork.

    Table of Contents

    Toggle
    • Ingredients and Notes
    • Step by Step Recipe Guide
    • Quick Tips and Substitutions
    • Easy Cake Recipes
    • Frequently asked questions
    • Recipe: Fabulous Carrot Cake Recipe

    The kid in me screams that I want to eat all my vegetables in a cake! The adult just gives a rather disapproving look, but that’s ok.

    I have been waiting until just the right time to share my special Carrot Cake recipe. Dreams of spring and Easter whispered to me that this was that time. Filled with goodies like raisins and pineapple, this cake is moist and my favorite variation that I have ever had.

    There's something about its lovely textured crumb, the perfectly spiced cake, and fresh ingredients that hit all the right notes.

    Whole carrot cake with cream cheese frosting, topped with chopped walnuts and crushed walnuts around the side on marble surface.

    The funny thing about this cake is that it came about completely by accident. I was making the carrot cake recipe I’ve used for years when I realized that I had run out of vanilla extract. Seriously, what in the world do you substitute for vanilla?

    I almost skipped it when I saw that I had rum extract in the cupboard. For whatever reason, I just went with it. And I cannot believe the results! Although subtle, the rum extract added a certain warmth to the carrot cake and livened up the spices.

    Ingredients and Notes

    Carrot Cake Ingredients with text labels.


    Flour
    – Use all-purpose flour.

    Shredded Carrots – 2 cups of carrots is usually about 3 large carrots. Carrots should be peeled and finely grated. You can use a box grater or a food processor with the shredding blade. Do not use pre-shredded carrots from the store as those are usually much too thick and chunky.

    Buttermilk – The buttermilk gives a zing and helps the cake rise to create that perfect crumb. If you can’t find real buttermilk, you can add 1 tablespoon (15 ml) of lemon juice to a liquid measuring cup. Then, add milk to the 1-cup line (237 ml) and stir. Let sit 5 minutes to thicken.

    Pineapple – Use 8oz of crushed pineapple in 100% juice, and keep the liquid.

    Nuts – Chopped pecans are my favorite to use.

    Extracts – This is my secret ingredient! I use 1 teaspoon each of vanilla and rum extracts. The rum gives it a slight warmth and brings out the spices. However, the recipe will still be amazing with 2 teaspoon vanilla if you don’t have rum extract.

    Step by Step Recipe Guide

    Making the Batter

    Step by step instructions including flouring a pan and mixing ingredients.
    1. Preheat oven to 350 degrees. Grease and flour TWO 8×8 cake pans.
    2. In medium bowl, combine flour, baking soda, salt, and cinnamon.
    3. In a second large bowl, combine eggs, buttermilk, oil, sugar, and extract. Add flour mixture, one cup at a time and mix well between each addition.
    4. In another medium bowl, combine carrots, nuts, pineapple and juice, and raisins. I do this so I don’t overmix the cake.

    Baking and Frosting Instructions

    Carrot cake recipe step by step instructions.

    5. Using a spoon or scraper, fold the carrot mixture into the batter.

    6. Pour into prepared cake pans. Bake for 1 hour or until center is done and toothpick comes out clean.

    7. Allow the cake layers to cool completely before frosting. Our amazing cream cheese frosting recipe adds the perfect touch. Sandwich the cream cheese frosting between your carrot cake layers, and then finish it off with a generous slathering. I recommend using room temperature frosting because it spreads much easier.

    8. Sprinkle some additional finely chopped pecans on the sides or top of the cake for that wow factor.

    Quick Tips and Substitutions

    • 2 cups of carrots is usually about 3 large carrots for me. I do pack the 2 cups pretty well.
    • Carrots should be peeled and finely grated. You can use a box grater or a food processor with the shredding blade. Do not use pre-shredded carrots from the store as those are usually much too thick and chunky.
    • If you can’t find real buttermilk, you can add 1 tablespoon (15 ml) of lemon juice to a liquid measuring cup. Then, add milk to the 1-cup line (237 ml) and stir. Let sit 5 minutes to thicken. Truthfully, it doesn’t rise quite as much, but this recipe is very forgiving for using a substitute.
    • I recommend using room temperature frosting because it spreads much easier.

    Easy Cake Recipes

    • Autumn Spice Cake
    • Pumpkin Cream Cheese Muffins
    • Flourless Chocolate Almond Cake
    • Bailey’s White Chocolate Cake
    • Apple Crumb Cake

    Frequently asked questions

    Can this recipe be made as cupcakes?

    Absolutely! I adore this recipe in all forms! If you prefer to make this as individual cupcakes, I have a step by step recipe for carrot cake cupcakes that you can find here.

    How do you store cake after baking?

    The cake layers can be stored wrapped or covered at room temperature or refrigerated for 1-2 days. Once the cake is frosted, it should be stored in the refrigerator due to the cream cheese in the frosting. It can be eaten chilled or you can set it out on the counter for one to two hours if you prefer room temperature cake. It can also be frozen with or without the frosting for 2-3 months and thawed in the refrigerator overnight.

    Can I substitute applesauce for the vegetable oil?

    Unsweetened applesauce can be substituted for oil in this and many other baking recipes. The oil adds a lot of fat and moisture when baking, so the texture might change slightly. With all of the other ingredients that make this recipe so delicious and moist, it shouldn’t alter the flavor too much.

    Double layered slice of cream cheese frosted carrot cake on white plate over folded blue towel next to full cake on wooden tray.
    Cookbook cover of Chicken and Rice casserole. The cookbook is titled Weeknight Supper Solutions

    Not Sure
    What's For Dinner?

    Signup for recipe updates and get a free cookbook of Easy Weeknight Supper Solutions!

    More Great Dessert Recipes

    • A slice of Guinness chocolate cake with white frosting to look like a pint.
      Guinness Chocolate Cake with Vanilla Buttercream Frosting
    • Baileys Irish Cream Cake
    • Close up of cupcake tier featuring Strawberry Cream Cheese Frosted cupcakes with fresh strawberries sliced and whole.
      Strawberry Cream Cheese Frosting
    • A slice of flourless chocolate almond cake with whipped cream on top in front of a full chocolate cake with cherries.
      Flourless Chocolate Almond Cake

    PS. If you make this recipe, leave a COMMENT AND A STAR RATING in the comments section at the bottom and be sure to take a photo and tag it #cravingcreative on Instagram! I appreciate you for taking the time to read about me and my family recipes. 

    Slice of homemade carrot cake on a plate with walnuts sprinkled on top

    Fabulous Carrot Cake Recipe

    Rachel
    The best carrot cake recipe! Made with real carrots, pineapple, raisins, walnuts, and a touch of cinnamon, this carrot cake recipe with pineapple is better than grandma's. This cake is surprisingly simple to make and includes a step-by-step instructions for no-fail results every time.
    5 from 17 votes
    Servings: 1 2 layer cake
    Print Recipe Pin Recipe
    Prep Time 30 minutes mins
    Cook Time 1 hour hr
    Total Time 1 hour hr 30 minutes mins

    Ingredients
      

    • 2 cups All Purpose Flour
    • 2 teaspoon Baking Soda
    • ¼ teaspoon Salt
    • 2 ¼ teaspoon cinnamon
    • 3 Eggs
    • ¾ cup Buttermilk
    • ¾ cup vegetable oil
    • 1 ½ cups White Sugar
    • 2 teaspoon rum extract or vanilla extract
    • 2 cups shredded carrots
    • 1 cup chopped walnuts or pecans
    • 1 can crushed pineapple in juice 8oz
    • 1 cup Raisins
    • cream cheese frosting
    Prevent your screen from going dark

    Instructions
     

    • Preheat oven to 350 degrees. Grease and flour two 8×8 cake pans.
    • In medium bowl, whisk combine 2 cups All Purpose Flour, 2 teaspoon Baking Soda, ¼ teaspoon Salt, and 2 ¼ teaspoon cinnamon. In a second large bowl, combine 3 Eggs, ¾ cup Buttermilk, ¾ cup vegetable oil, 1 ½ cups White Sugar, and 2 teaspoon rum extract or vanilla extract. Add flour mixture, a cup at a time and mix well between each addition.
    • In another medium bowl, combine 2 cups shredded carrots, 1 cup chopped walnuts or pecans, 1 can crushed pineapple in juice, and 1 cup Raisins. Using a spoon or scraper, fold the carrot mixture into the batter.
    • Pour into prepared pans. Bake for 1 hour or until center is done and toothpick comes out clean. Let cool on wire rack before frosting with cream cheese frosting.

    Recipe Notes

    • For me, this usually requires about 3 large carrots. I always peel my carrots and then use the larger hole of a box grater. I like to see the carrots. But if you don’t, you can use the smaller hole grater. Another way I like to prepare my carrots is to use a food processor with the shredding blade.
    • A single batch of my cream cheese frosting recipe will cover this cake. However, additional decorations or if you like ALOT of frosting, increase the recipe by at least 50%. 
    • HOW TO STORE CAKE – The cake layers can be stored wrapped or covered at room temperature or refrigerated for 1-2 days. Once the cake is frosted, it should be stored in the refrigerator due to the cream cheese in the frosting. It can be eaten chilled or you can set it out on the counter for one to two hours if you prefer room temperature cake. Carrot cake can also be frozen with or without the frosting for 2-3 months and thawed in the refrigerator overnight.

    Nutrition

    Calories: 463kcal
    Course Dessert
    Cuisine American, Southern
    Tried this recipe?Let us know how it was!
    « Cream Cheese Frosting
    Easy DIY Marshmallow Pops »

    Comments

      5 from 17 votes (7 ratings without comment)

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Recipe Rating




    1. Angie Siegrist says

      February 18, 2021 at 6:45 pm

      5 stars
      Excellent recipe! moist and delicious !

      Reply
    2. Rebecca says

      March 21, 2015 at 4:55 pm

      Your neighbor has a bakery!? How amazing is that?! And I love that this recipe came from a vanilla panic! I cannot stand running out of vanilla because it always happens mid-recipe! LOL Was it your homemade vanilla you ran out of?

      Reply
      • Rachel says

        March 23, 2015 at 11:43 am

        Actually, no, I have had this recipe for years and I only started making my own vanilla about 2-3 years ago. I baked a lot less back then than I do now, but running out is never a problem now with the huge homemade bottle I keep. I think it’s like 12oz or something which is a heck of a lot.

        Reply
    3. Sharon - Her Organized Chaos says

      March 09, 2015 at 11:37 pm

      5 stars
      This looks so good! I love carrot cake. Pinning and sharing! Thanks for sharing this at Totally Terrific Tuesday last week. I can’t wait to see what you have lined up for this week. It’s live right now!

      Sharon
      Her Organized Chaos

      Reply
    4. Erlene says

      March 07, 2015 at 1:14 pm

      Carrot cake is my hubby’s favorite cake. Will have to give your recipe a try 🙂

      Reply
      • Rachel says

        March 23, 2015 at 11:28 am

        Ice cream cake is my husband’s favorite but he definitely loves this cake. Let me know how it goes if and when you get a chance to try it!

        Reply
    5. Krista - TheQuinntessentialMommy.com says

      March 07, 2015 at 9:20 am

      Yum! That cake looks beautiful AND delicious. And a cake spinner sound super fun!! Thanks for linking up at #HomeMattersParty

      Reply
    6. Aliza B says

      March 07, 2015 at 2:03 am

      5 stars
      This looks amazing! I’ve got to try this recipe. I’ll tell myself that it has fruits and veggies in it so it’s okay to have. Oh, and don’t forget the dairy in the frosting. =)

      Reply
    7. Kim @The Baking ChocolaTess says

      March 05, 2015 at 10:30 pm

      Wow! I love this gorgeous carrot cake! Found you on Crafty and Delicious Party. Pinning and tweeting! Have a great week!

      Reply
    8. Cathy says

      March 05, 2015 at 10:15 pm

      5 stars
      Whoa, this looks beyond good! Carrot Cake is my fave kind of cake and I really want some of this now! I love the crushed nuts around the cake! Yum!
      Cathy

      Reply
    9. Katie says

      March 02, 2015 at 9:33 pm

      5 stars
      Ummm … I need a piece of this RIGHT.NOW. Yum!! Those pictures are making my mouth water!! I am slightly obsessed with carrot cake, and this looks like one good recipe!!

      Reply
    10. Christina at SWEET HAUTE says

      March 02, 2015 at 9:23 pm

      5 stars
      This cake is so pretty! Love the way you styled the frosting and decorative bottom edging:) Thanks for sharing! #MakeIt

      ~Be Sweet
      Christina
      at SWEET HAUTE

      Reply
      • Rachel says

        March 04, 2015 at 6:07 pm

        Thanks so much Christina! I am so terrible with decorating cakes that I had someone else do it, lol. But it is definitely one super delicious cake. Love this month’s challenge!

        Reply
    11. Cindy@DIYbeautify says

      March 02, 2015 at 8:05 pm

      5 stars
      Rachel, your carrot cake is gorgeous! I love the dusting of crushed nuts on the bottom! Pinning 🙂

      Reply
      • Rachel says

        March 04, 2015 at 6:06 pm

        Yeah, the crushed nuts was my friend’s doing. She is so talented with cakes. My only contribution to this cake’s appearance was the top. It almost looked to pretty to eat. Thanks for sharing Cindy!

        Reply
    12. Jen says

      March 02, 2015 at 2:43 pm

      This is one of my all time favorite desserts! Your cake is a work of art. Just pinned and will definitely be making this very soon.

      Reply
      • Rachel says

        March 04, 2015 at 6:04 pm

        Please let me know how it turns out, Jen! I get so paranoid that I made a mistake in the directions anytime I post a recipe. I triple checked though!

        Reply
    13. Lindsay Eidahl says

      March 02, 2015 at 11:10 am

      Oh my goodness! I could use a slice right about now! Looks delicious!

      Reply
    14. Ashley ~ 3 Little Greenwoods says

      March 02, 2015 at 11:07 am

      I love-love-love carrot cake! Thanks some for the new recipe!

      Reply
    15. Bonnie @ The Pin Junkie says

      March 02, 2015 at 9:37 am

      Yum, I love carrot cake! This look delicious!

      Reply
    Newer Comments »
    Headshot of Rachel Beach, the author of Craving Some Creativity.

    Hi, I'm Rachel!

    Creativity makes me energized and fearless. My husband and I have been renovating homes for over a decade and love to share our passion for all things home. Follow along for remodeling tutorials, recipes, and entertaining ideas sure to inspire!

    More about me →


    Popular Projects

    • Collage of large outdoor Halloween decorations you can make yourself like skeletons, spiders, and pumpkins.
      30 Large DIY Halloween Outdoor Decorations
    • Blue front door on red brick house with planters on either side.
      Small Front Porch Decorating Ideas
    • A basement bar area with brick wall, charcoal gray cabinets, and pool table in a moody color palette.
      How to Create a Cohesive Color Palette (Real Life Step by Step)
    • Cans of paint.
      4 Best Furniture Paints in 2024
    • Behr Midnight blue painted cabinets in a classic old world kitchen with modern white accents and backsplash. Wicker chairs, copper light fixtures, and wood floors add warmth.
      The Best Blue and Navy Kitchen Cabinet Paint Colors
    • Two DIY witches with glowing heads standing near a cauldron filled with skulls.
      DIY Outdoor Halloween Witches

    Featured On

    Collection of Expert Features including Better Homes and Gardens Magazine, Apartment Therapy, Angie's List, This Old House Magazine, The Huffington Post, Delish, Wayfair, and Real Simple Magazine.

    Most Popular Recipes

    • Ricotta Stuffed Shells with Sausage makes an easy italian meal for the whole family!
      The BEST Sausage Stuffed Shells Recipe
    • Hibachi Chicken and Shrimp on a plate with yum yum sauce in the center.
      How to Make Hibachi
    • Squash casserole with ritz cracker toping as a side dish served on a stack of plates.
      Squash Casserole with Ritz Crackers
    • Beef Cannelloni
    • A large pot of beef and rice soup with vegetables and a wooden spoon.
      Beef and Rice Soup
    • Restaurant style Mexican white Cheese Dip with pico de gallo topping in wooden bowl on dish cloth with chips.
      Mexican White Cheese Dip {Queso Blanco}

    Fall Favorites

    • Crockpot lasagna soup in a bowl with ricotta cheese and fresh basil on top.
      Easy Crockpot Lasagna Soup
    • Pumpkin muffins with crumb topping on a cooling rack.
      Pumpkin Cream Cheese Muffins
    • A slice of apple bread pudding with ice cream on top. Background of napkins and a small plate.
      Apple Bread Pudding
    • Two grilled pork chops with grill marks laid out on a wooden background.
      Grilled Maple Glazed Pork Chops
    • Closeup of a fall layer cake with orange frosting and a fork in front of the cake.
      Old-Fashioned Spice Cake with Cream Cheese Frosting
    • Side view of three glasses of caramel apple sangria on a rustic wood board. Cinnamon sticks lay around the glasses with slices of apple and herbs as garnish.
      Caramel Apple Sangria

    Footer

    ↑ back to top

    About

    • Privacy Policy
    • Disclaimer
    • Terms & Conditions
    • Accessibility Policy

    Favorites

    • Blog
    • Shop
    • Our Home

    Contact

    • Contact

    Copyright © 2025 Craving Some Creativity

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.