• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Scientifically Sweet
  • ABOUT
  • RECIPES
  • CONTACT
  • COOKBOOKS
  • SHOP
  • Follow me on Social

    • Instagram
    • Pinterest
  • Christina's Cookbooks
  • Order a book!
menu icon
go to homepage
  • ABOUT
  • RECIPES
  • CONTACT
  • COOKBOOKS
  • SHOP
    • Instagram
    • Pinterest
  • subscribe
    search icon
    Homepage link
    • ABOUT
    • RECIPES
    • CONTACT
    • COOKBOOKS
    • SHOP
    • Instagram
    • Pinterest
  • ×
    Home » Cakes

    Raspberry Pistachio Cake

    author bio
    Updated: Dec 20, 2025 by christina.marsigliese · 16 Comments
    Jump to Recipe

    You will swoon over this gorgeous, soft and moist Raspberry Pistachio Cake that is just bursting with flavor from earthy roasted pistachios, vanilla whipped cream and slightly tart homemade raspberry compote. This is one of my favorite cakes because the bold flavors really light up your tastebuds, and it has such a balance between decadence and light and refreshing. The barely sweet whipped cream marries the bright raspberry and the earthy pistachio cake so well. This recipe is inspired by my Lemon Pistachio Cake, and if you love baking with pistachios, then try my Pistachio Carrot Cake and these Salted Pistachio Chocolate Chunk Cookies as well!

    raspberry pistachio cake slice with bite on cutting board

    WHY THIS RECIPE WORKS

    • Easy recipe - I love a single layer cake because it is so approachable, fuss-free and it means less dishes!
    • Soft and moist pistachio cake - the cake is tender with a moist crumb and slightly bouncy texture.
    • Fresh raspberry cake - you can use fresh or frozen raspberries through the batter.
    • Quick raspberry jam - you'll make a quick 3 ingredient raspberry compote that cooks in under 2 minutes in the microwave. It looks so beautiful swirled through the cream frosting.
    • Fresh cream frosting - simple vanilla whipped cream is the perfect topping to this fruity pistachio cake.
    top view of raspberry pistachio cake on cutting board before slicing

    INGREDIENTS FOR RASPBERRY PISTACHIO CAKE

    Here are some on the key ingredients for this recipe. For a full list of ingredients, check out the recipe card at the bottom of the post.

    • All purpose flour - unbleached all-purpose flour works great for fluffy spongy cakes. You could use cake flour, but if you use bleached flour (a lot of cake flour is bleached) then it tends to absorb more water and might give the cake a drier texture.
    • Oil - liquid oil will keep this cake soft and helps with movement of leavening gases through the batter for a nice even rise to create a flat cake. Any neutral-tasting oil will work, and even olive oil would be delicious as it pairs well with pistachios.
    • Pistachios - the lovely green color of this cake is naturally coming from the pistachios and a bit of matcha powder. For the most flavor, I like to roast the pistachios before grinding them. These roasted salted pistachios are convenient.
    • Granulated sugar - simple granulated sugar keeps this cake moist and doesn't interfere with the strawberry and lemon flavor.
    • Egg - one large egg will add nice structure but won't get in the way of the pistachio flavor.
    raspberry pistachio cake ingredients
    raspberry pistachio cake sliced on cutting board
    • Pure vanilla extract - vanilla will elevate and complement the lemon and strawberry taste. I like this Madagascar Bourbon Vanilla extract.
    • Almond extract - this is optional, but almond will enhance the taste of the pistachios.
    • Yogurt - use full fat plain yogurt to add tanginess to this recipe and complement the fruity notes.
    • Matcha powder - this is optional, if you have it or want to try it, but it will really enhance the green color and it also adds a nice earthy taste that complements the pistachios.
    • Milk - any type of milk will do. I prefer whole milk for baking.
    • Raspberries - you can use fresh or frozen raspberries for this recipe. If you use frozen berries, do not thaw them as they will leach juices that will turn the batter grey. 
    • Cream - you'll need heavy whipping cream with 35% milk fat for the topping.
    raspberry pistachio cake slice with bite on cutting board

    STEP BY STEP INSTRUCTIONS

    • STEP 1). First grind the pistachios. Place 60g (about ½ cup) of roasted salted pistachios in a food processor and pulse until it forms fine crumbs. Be sure not to process too long or it can turn into a paste.
    • STEP 2). Combine dry ingredients. Sift flour, baking powder, matcha powder (if you have it) and salt into a large bowl. Add sugar and ground pistachios and whisk until evenly blended. N
    • STEP 3). Combine wet ingredients. Combine oil, egg, yogurt, milk, vanilla and almond extracts in a medium bowl and whisk until completely smooth.
    • STEP 4). Add wet ingredients to dry ingredients. Make a well in the center of the dry ingredients and pour the wet ingredients. Gently fold it all together being sure to get down to the bottom and bring up any dry pockets. Stop right when the batter is fully combined and be careful not to over mix. Add frozen raspberries and gently fold them through. Do not mix too much or the juices from the berries can turn the batter grey.
    • STEP 5). Bake. Spread the batter evenly into the prepared pan and bake for 30-35 minutes until a skewer inserted into the center comes out clean. Let cool for 20 minutes in the pan and then transfer cake to a cooling rack.
    • STEP 6). Make the raspberry swirl. Place frozen berries and sugar in a small heatproof bowl and mash together with a fork until it looks like jam. Place it in the microwave for 30 second intervals, stirring after each interval, for a total of 1 ½ to 2 minutes until boiling. Set aside to cool and thicken.
    • STEP 7). Make the frosting. Place cream, powdered sugar and vanilla into a medium bowl and use and electric hand mixer or a whisk to whip to soft peaks. Use an offset spatula to spread frosting over the cooled cake. Dollop little spoonfuls of the cooled raspberry compote randomly over the frosting and then swirl it in gently. Sprinkle extra chopped pistachios on top. Enjoy!
    top view of raspberry pistachio cake slice showing cross section

    EXPERT BAKING TIPS FOR RASPBERRY PISTACHIO CAKE

    • Use room temperature ingredients. Since this is a simple dump and mix (almost one bowl) method, there is minimal mixing steps involved so it is important to have all ingredients at the same temperature (not cold!) in order to help them blend evenly together.
    • Roast the pistachios. If you only have raw pistachios, definitely roast them to bring out the flavor. Just place them in a dry frying pan over medium heat until they begin to darken and become fragrant.
    • Sift the dry ingredients. This is optional, but it will minimize the amount of mixing needed to combine the ingredients evenly so that you do not over-mix the batter.
    • Do not over-mix the batter. Once the flour is combined then the batter is ready for baking. You can use a whisk and mix by hand if you are concerned about over-mixing.
    top view of raspberry pistachio cake slice showing cross section
    top view of raspberry pistachio cake slice showing cross section

    RECIPE FAQ

    Can I make this raspberry pistachio cake with melted butter?

    I highly recommend using oil for this recipe because the oil will give it a softer texture in the presence of all the nuts which have a tendency to firm up the crumb.

    Can I make raspberry pistachio cake with vegetable oil?

    Yes, you can use any type of cooking oil, such as canola oil, olive oil or sunflower oil. You can also use coconut oil, but it has a much higher melting fat profile so it will make the crumb more crumbly and less soft.

    Why is my cake not fluffy?

    If your cake turns out dense, then it could be a couple of things: you over-mixed the batter, or your raising agents are not active. Make sure to use fresh baking powder. Also, be very gentle with mixing. Fold the berries in before all of the flour is incorporated to prevent any chance of over-mixing.

    What causes cake to be dry and dense?

    Too much flour and not enough sugar is the main reason why cake can turn out dry and dense. It is important to have the right proportions of liquid to dry ingredients in a one bowl cake recipe.

    What can I use as a substitute for yogurt?

    I really recommend using plain yogurt for this recipe (2-5% fat) because it gives the perfect amount of fat and acidity, however you can make this cake with Greek yogurt or sour cream. The texture will just be slightly firmer from the higher protein content.

    Can I make this in a round cake pan?

    Yes, you can make this in an 8 or 9-inch round pan. If you use an 8-inch pan, you will need to add at least 5 minutes to the baking time.

    raspberry pistachio cake sliced on cutting board

    If you love cake and fruit, check out these recipes!

    Caramel Apple Cake
    Dark Chocolate Cherry Almond Cake
    Copycat Starbucks Lemon Loaf recipe
    Raspberry Almond Cake
    ULTIMATE Moist Chocolate Fudge Cake
    Lemon Cupcakes with Cream Cheese Lemon Curd Frosting
    Creamy Raspberry Cheesecake
    Sticky Toffee Date Cake
    Moist Lemon Blueberry Bread
    Olive Oil Chocolate Bundt Cake
    Blueberry Peach Upside Down Cake
    Blueberry Swirl Lemon Loaf Cake

    More delicious cake

    Check out these delicious cake recipes:

    • tuxedo cake
      Tuxedo Cake
    • strawberry sheet cake
      Fresh Strawberry Sheet Cake
    • chocolate chip banana bread coffee cake
      Chocolate Chip Banana Bread Coffee Cake
    • hostess cake
      Hostess Cake

    Baking with pistachios

    Here are some more wonderful pistachio recipes to try:

    • white chocolate brown butter caramelized pistachio cookies
      Caramelized Pistachio Brown Butter White Chocolate Chip Cookies
    • raspberry pistachio thumbprint cookies
      Raspberry Pistachio Thumbprint Cookies
    • white chocolate raspberry pistachio cookies
      White Chocolate Raspberry Pistachio Cookies
    • orange cardamom pistachio sugar cookies
      Orange Cardamom Pistachio Sugar Cookies

    Video

    Raspberry Pistachio Cake

    Christina Marsigliese, Food Scientist MSc.
    raspberry pistachio cake
    This soft and moist Raspberry Pistachio Cake that is just bursting with flavor from earthy roasted pistachios, vanilla whipped cream and slightly tart homemade raspberry compote. The flavors are balanced between decadent and light, bright and refreshing.
    5 from 1 vote
    Print Recipe Pin Recipe
    Prep Time 30 minutes mins
    Cook Time 30 minutes mins
    Servings 9 servings

    Ingredients
      

    Pistachio Cake Batter:

    • 1 cup (142g) all purpose flour
    • 1 ½ teaspoon baking powder
    • 1 teaspoon matcha powder (optional)
    • ¼ teaspoon salt
    • ¾ cup (150g) granulated sugar
    • ½ cup (60g) roasted salted pistachios (no shell) plus extra for decorating
    • ¼ cup (60g) oil (such as olive or any neutral liquid oil like canola, vegetable or sunflower oil)
    • 1 large egg, at room temperature
    • ½ cup (120ml) full fat plain yogurt
    • ¼ cup (60ml) whole milk, at room temperature
    • ½ teaspoon (5ml) pure vanilla extract
    • ¼ teaspoon pure almond extract
    • 1 cup (100g) fresh or frozen raspberries

    Raspberry Compote:

    • ¾ cup (80g) frozen raspberries
    • 3 tablespoon (40g) granulated sugar
    • 2 teaspoon (6g) corn starch

    Whipped Cream Frosting:

    • ⅔ cup (160ml) 35% heavy whipping cream
    • 1 tablespoon powdered confectioner's sugar
    • ¼ teaspoon pure vanilla extract

    Instructions
     

    • Preheat the oven to 350°F and line an 8x8-inch metal baking pan with parchment paper.
    • First grind the pistachios. Place 60g (about ½ cup) of roasted salted pistachios in a food processor and pulse until it forms fine crumbs. Be sure not to process too long or it can turn into a paste. I like to grind a bit more than ½ cup and reserve the extra for decorating, or you can just chop up extra whole pistachios for topping.
    • Make the cake batter. Sift flour, baking powder, matcha powder (if you have it) and salt into a large bowl. Add sugar and ground pistachios and whisk until evenly blended. N
    • Combine oil, egg, yogurt, milk, vanilla and almond extracts in a medium bowl and whisk until completely smooth.
    • Make a well in the center of the dry ingredients and pour the wet ingredients. Gently fold it all together being sure to get down to the bottom and bring up any dry pockets. Stop right when the batter is fully combined and be careful not to over mix. Add frozen raspberries and gently fold them through. Do not mix too much or the juices from the berries can turn the batter grey.
    • Spread the batter evenly into the prepared pan and bake for 30-35 minutes until a skewer inserted into the center comes out clean. Let cool for 20 minutes in the pan and then transfer cake to a cooling rack.
    • Make the raspberry swirl. Place frozen berries and sugar in a small heatproof bowl and mash together with a fork until it looks like jam. Place it in the microwave for 30 second intervals, stirring after each interval, for a total of 1 ½ to 2 minutes until boiling. Set aside to cool and thicken.
    • Make the frosting. Place cream, powdered sugar and vanilla into a medium bowl and use and electric hand mixer or a whisk to whip to soft peaks. Use an offset spatula to spread frosting over the cooled cake. Dollop little spoonfuls of the cooled raspberry compote randomly over the frosting and then swirl it in gently. Sprinkle extra chopped pistachios on top. Enjoy!

    More Cakes

    • carrot cake coffee cake
      Carrot Cake Coffee Cake
    • chocolate texas sheet cake
      Chocolate Texas Sheet Cake
    • praline crunch carrot cake layer cake
      Praline Crunch Carrot Cake Layer Cake
    • carrot cake loaf cake
      Carrot Cake Loaf Cake

    Reader Interactions

    Comments

      Leave a Comment and Rating Cancel reply

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

      Recipe Rating




    1. Ari

      April 18, 2026 at 9:22 am

      Hi do you know if this would be fine to make with a non dairy milk alternative?

      Reply
      • christina.marsigliese

        April 19, 2026 at 2:34 am

        Hi Ari! I haven't tested that but I think it should work.

        Reply
    2. Meagan

      March 23, 2026 at 1:54 am

      5 stars
      Just made this today and actually put the batter into 2 6” layers and it was exceptional! I’m already looking forward to making it again. My family and friends loved it!

      Reply
      • christina.marsigliese

        March 23, 2026 at 2:54 am

        Thanks for the feedback Meagan! Glad everyone loved the cake 🙂

        Reply
    3. Mani

      March 01, 2026 at 7:04 am

      What are your thoughts on adding cardamom powder to the cake and how much would you add?

      Reply
      • christina.marsigliese

        March 01, 2026 at 2:16 pm

        Hi Mani! Yes you can do that. You could try 1/2 to 3/4 teaspoon of cardamom depending on how strong you want the flavor.

        Reply
    4. Maria

      December 16, 2025 at 12:09 am

      Hi Christina,
      I plan to make pistachio cake for Christmas.
      Should I follow Raspberry Pistachio Cake recipe and omit the raspberries OR the Lemon Pistachio Cake recipe and omit the lemon zest? I'd like for the cake to be pistachio-forward, but not dry. Also, should I consider adding pistachio cream in the batter as well (add 2 Tbsp pistachio cream, but decrease olive oil to 2 Tbsp instead of 1/4 Cup)?
      Thank You!

      Reply
      • christina.marsigliese

        December 16, 2025 at 3:34 am

        Hi Maria! You could use either, but the Raspberry Pistachio Cake has a bit more pistachio. You can also try that substitution you mentioned, or it could be interesting to incorporate the pistachio cream into the whipped topping.

        Reply
        • Maria

          December 20, 2025 at 1:38 am

          The instruction states baking soda, how much? It’s not listed in this ingredients. Thank You!

        • christina.marsigliese

          December 20, 2025 at 2:55 am

          Hi Maria! Thanks for pointing that out. Baking soda was not suppose to be in the instructions. I corrected the error 🙂

        • Maria

          December 23, 2025 at 5:27 am

          My family was in love with the pistachio cake! Overall, they thought that the pistachio flavor was noticeable. My mom enjoyed the cake alone without the frostings/fillings LOL.
          I doubled the ingredients to make a 3-tier cake in a 2 8-inch round pans (I cut 1 of the cakes in half to make 3 tiers), bake it for 35 minutes. The cake remained moist for 2 days before it was cut and served at our family gathering. It also transported well in a cooler with ice packs after 5 hours on the road.
          Here are the adjustments I made:
          -Made the batter without the raspberries for a pistachio-forward cake
          -Made pistachio buttercream and raspberry buttercream frostings/fillings as well
          -To add even more pistachio flavor, I reduced the amount of olive oil to half and the rest I used pistachio cream/spread (For example in a 1x recipe, it would be 2 Tablespoons olive oil and 2 Tablespoons pistachio cream/spread).
          Will definitely be baking this cake again!
          Thank you for sharing your recipe Christina 🙂

        • christina.marsigliese

          December 23, 2025 at 2:27 pm

          You are welcome Maria! Sounds delicious! Glad the cake was a success 😀

    5. Sarah

      December 06, 2025 at 8:38 pm

      Does this recipe work well with gluten free flour? Which gluten free flour alternative do you recommend?

      Reply
      • christina.marsigliese

        December 07, 2025 at 4:13 am

        Hi Sarah! This recipe has only been tested with AP flour, but many readers have reported success with King Arthurs gluten free flour.

        Reply
    6. jesslyn

      December 01, 2025 at 7:14 am

      Hii, is it possible for me to make this but omit the frozen raspberries? Berries are hard to find where I come from and frozen berries in supermarkets can get quite pricey.

      Reply
      • christina.marsigliese

        December 02, 2025 at 2:38 am

        Hi Jesslyn! If you want to make a pistachio cake without berries, I recommend my Lemon Pistachio Cake recipe. You can swap the frostings if you wish.

        Reply

    Primary Sidebar

    Hi, I'm Christina!

    Hi, I'm Christina! I have a Master's Degree in Food! Welcome to my world of sweet science where I share all of my professional baking recipes and tips backed by Food Science.

    More About Me

    Popular Recipes

    • best moist chocolate cake
      The BEST Moist Chocolate Cake Recipe
    • brown butter chocolate chip cookies
      The BEST Chewy Brown Butter Chocolate Chip Cookies
    • bakery style chocolate chip cookies
      THE BEST Chocolate Chip Cookies (Bakery-Style)
    • best cinnamon rolls
      The BEST Classic Cinnamon Rolls
    • vanilla whipped ganache frosting
      Vanilla Whipped Ganache Frosting
    • lemon pistachio cake
      Lemon Pistachio Cake
    • salted pistachio chocolate chunk cookies
      Salted Pistachio Chocolate Chunk Cookies
    • best carrot cake
      The BEST Carrot Cake with Fluffy Cream Cheese Frosting

    Footer

    ↑ back to top

    Cookbooks

    • About Christina's cookbooks
    • Order a copy
    • Privacy Policy

    Subscribe

    • Sign Up! for brand new recipes directly to your inbox!

    Contact

    • Contact
    • Services
    • About Christina

    As an Amazon Associate I may earn from qualifying purchases.

    Copyright © 2025 Scientifically Sweet Inc.