• 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. Rommel says

      July 18, 2025 at 11:37 am

      Hi! I wanted to just have plain carrot cake without raisins and nuts.can i substitute adding additional carrots and pineapple? Thanks!

      Reply
      • Rachel says

        July 18, 2025 at 12:21 pm

        The raisins and nuts just add more texture and flavors, so you can leave them out entirely without changing the rest of the recipe.

        Reply
    2. Ann says

      April 18, 2025 at 8:08 am

      5 stars
      I’ve always loved carrot cake but for the most part I and my sisters grew up eating it made from the recipe our Dad who lived and worked away from home during the week and would come home on weekends and he brought it to my mom back when we were kids (I’m 64 today) and my mom was able great cook and her carrot cake was great. But years later I had the version with Raisins and nuts but didn’t realize there was likely pineapple in it too. So I sat at to find a really good one that’s not too difficult to make. And this one is grate (pardon the pun) its got quite alot of ingredients but most are 3/4 cups or larger and for the most part they’re main ingredients that are fun to add the way its done too.
      Anyway, this cake turns out delicious ain’t no other way about it!! Yummy, yummy 😋

      Reply
    3. Jack Tippenhauer says

      April 06, 2025 at 12:25 pm

      I made this for my sisters birthday.. It was absolutely fantastic.
      Carrot cake has been my favorite for 60 years.
      Since I was a teenager, as my mom taught me, the best carrot cake has pineapple in it..
      I lost her recipe boxes in a house fire a couple of years ago.
      I will make this again.. and again, and again..

      Reply
    4. Carol says

      September 01, 2024 at 5:24 pm

      5 stars
      Wow it’s absolutely awesome and so moist!

      Reply
    5. Marj says

      October 11, 2023 at 1:47 pm

      This recipe sounds amazing, I have yet to find one that doesn’t have so much oil in it. I can hardly wait to try it, but I have a question about the buttermilk, do you use a full fat buttermilk or one with less fat in it? Thank you and I look forward to hearing from you.
      Kindest regards,
      Marj

      Reply
      • Rachel says

        October 12, 2023 at 10:12 am

        One of the ways that I cut oil in baking recipes is to substitute applesauce for about half cup of the oil. Works well with my zucchini muffins for example. The rise and texture is good and hasn’t failed me yet. However, I haven’t tried it in a cake or a recipe with buttermilk that I can remember. I have used both whole and low-fat cultured buttermilk without a problem in most of my recipes. I don’t think I have ever found non-fat buttermilk in my grocery stores to be honest.

        Reply
    6. Elizabeth says

      March 30, 2021 at 2:20 pm

      5 stars
      Hello,
      I had a question on the buttermilk. Can it be substituted with something else? Can’t wait to try the recipe.

      Reply
      • Rachel says

        March 31, 2021 at 9:03 am

        If I can’t find buttermilk, I use a trick with lemon juice and either whole or 2% milk. Measure one tablespoon of lemon juice into a liquid measuring cup. Fill the measuring cup with of milk to the measurement line.
        Stir the mixture together and let sit for 5 minutes. It will thicken and curdle. While I don’t feel this trick leaves quite the same taste as real buttermilk when making, say, buttermilk biscuits, it works well in this recipe for rising the cake. Enjoy!

        Reply
    « Older 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.