Pistachio Ricotta Swirl Cake is my go to bake when I want something that feels a little special but still totally doable on a regular afternoon. You know those days when you want a homemade dessert, but you do not want to babysit a fussy frosting or mess with a million steps? This cake fits that mood perfectly. It is soft, lightly nutty, and the ricotta swirl makes every slice look like you tried way harder than you actually did. If you have a bag of pistachios hanging out in the pantry, you are already halfway there. 
Pistachio Ricotta Cake Recipe
Let us talk ingredients first, because this is where the magic happens. The base is a simple cake batter, and the swirl is basically sweetened ricotta that bakes up creamy and tender. The pistachios bring that buttery, slightly salty flavor that makes people go back for a second slice.
Here is what I use most of the time. You do not need anything fancy, and you can absolutely swap a couple things based on what you have.
- All purpose flour (gives the cake structure)
- Baking powder (for lift)
- Fine salt (do not skip, it wakes up the flavors)
- Unsalted butter, softened (or neutral oil if you are in a hurry)
- Granulated sugar
- Eggs
- Vanilla extract
- Ricotta cheese (whole milk is best here)
- Powdered sugar (for the ricotta swirl)
- Lemon zest (optional, but it brightens everything)
- Pistachios, finely chopped (some in the batter, some on top)
- Milk or plain yogurt (just a splash to keep the crumb soft)
A quick note on ricotta: if yours looks watery, spoon it into a fine strainer for 10 to 15 minutes. You are not trying to dry it into a brick, just getting rid of the extra liquid so the swirl stays pretty and not soupy.
Also, pistachios. I love using roasted, lightly salted pistachios. If they are very salty, just reduce the added salt in the recipe a pinch. And if you only have unsalted, that is fine too. The flavor still comes through.
When I am in a ricotta cake mood, I also keep a couple other favorites bookmarked. This one is different, but if you like the whole swirl situation, the chocolate hazelnut ricotta swirl bundt cake is a fun one for chocolate people.

How to Make Pistachio Ricotta Cake
This is the part where you can relax. The method is simple, and even if your swirl is not perfect, it will still taste amazing. Pistachio Ricotta Swirl Cake is pretty forgiving, which is honestly my favorite kind of baking.
Simple step by step directions
- Preheat your oven to 350 F. Grease a 9 inch round pan or an 8 inch square pan, then line the bottom with parchment if you want easy removal.
- Mix your dry ingredients: flour, baking powder, and salt in a bowl.
- Cream butter and sugar until it looks fluffy. Add eggs one at a time, then vanilla.
- Stir in part of the ricotta to the batter if you want an extra tender crumb, or save all the ricotta for the swirl. I usually do a little of both.
- Add the dry ingredients, alternating with a splash of milk or yogurt. Stop mixing as soon as the flour disappears.
- Fold in chopped pistachios.
- Make the swirl: mix ricotta with powdered sugar, a pinch of salt, and lemon zest if using.
- Spread half the cake batter in the pan, dollop the ricotta mixture over it, then add the rest of the batter. Use a butter knife to gently swirl a few loops through the layers.
- Sprinkle a few pistachios on top.
- Bake 40 to 55 minutes depending on your pan. It is done when a toothpick comes out mostly clean, with maybe a moist crumb or two.
- Cool at least 20 minutes before slicing. The swirl sets as it cools.
My biggest tip is not to over swirl. It is tempting to keep going until it looks like fancy latte art, but too much swirling makes the layers muddy. A few loose figure eights is enough.
And if you are wondering about serving, I love it slightly warm with coffee. The pistachio flavor really pops. Pistachio Ricotta Swirl Cake also holds up well the next day, and I swear it might be even better after the flavors settle overnight.
Expert Tips
I am not a professional pastry chef, but I have baked this enough times to learn what actually matters and what does not. These little details make the cake consistently good, even if you are baking on a random weeknight.
Small details that make a big difference
Use room temperature ingredients if you can. When butter, eggs, and ricotta are not ice cold, the batter mixes smoothly and bakes more evenly.
Do not crush pistachios into dust. A mix of fine and slightly bigger bits gives better texture. I like to chop by hand so I do not overdo it.
Watch the top color. If your oven runs hot and the top browns too fast, loosely lay foil over the pan for the last 10 minutes.
Let it cool before judging it. Ricotta cakes can seem too soft right out of the oven. Give it time and it slices cleaner.
“I made this for a family dinner and everyone asked for the recipe. The ricotta swirl stayed creamy, and the pistachios made it taste like something from a bakery.”
Jamie R.
If you enjoy ricotta baked goods, there are a lot of fun directions you can go. I have done versions with orange zest, mini chocolate chips, and even a simple jam swirl. But this Pistachio Ricotta Swirl Cake is the one I come back to when I want that balance of cozy and impressive.
More Ricotta Cake Recipes
Sometimes you just get on a ricotta kick, and honestly I support it. Ricotta makes cakes tender without feeling heavy, and it plays well with everything from chocolate to fruit.
If you want a lighter, springy vibe with a cozy twist, check out this carrot ricotta sheet cake with cream cheese swirl. It is great for potlucks because it feeds a crowd and slices neatly.
And if you are obsessed with pistachio like I am, you might also like this chocolate pistachio ricotta cake. It leans richer and deeper, while Pistachio Ricotta Swirl Cake stays more bright and snackable.
I like keeping a couple of these in my back pocket because ricotta is one of those ingredients that feels a little fancy, but it is actually super friendly. You can dress it up for guests or eat a slice standing at the counter. No judgment here.
Pantry Essentials
This cake is easiest when you stock a few basics. I am not saying you need a perfectly curated pantry, but having these on hand turns spontaneous baking into a real thing you can do without a grocery run.
What I like to keep around
Flour and baking powder: Check your baking powder expiration. Old baking powder makes cakes sad and flat.
Sugar: Granulated for the batter, powdered for the swirl. If you only have granulated, you can still sweeten the ricotta, it just will not be quite as silky.
Vanilla extract: It helps the pistachio and ricotta taste warm and rounded.
Pistachios: I store them in the freezer so they stay fresh. Nuts can go stale faster than you think.
Ricotta: If you bake with it even once a month, it is worth grabbing when you see it. Just check the date.
Once you have those, Pistachio Ricotta Swirl Cake is basically always within reach, which is dangerous in the best way.
Common Questions
Can I use part skim ricotta?
Yes, but whole milk ricotta gives the best texture and flavor. Part skim can bake a little drier, so add a splash more milk or yogurt to the batter if needed.
Do I need a food processor for the pistachios?
Nope. A knife works great. Just chop them into small bits. A processor can turn them into paste fast, so be careful if you use one.
How do I store Pistachio Ricotta Swirl Cake?
I cover it tightly and keep it in the fridge for up to 4 days. Let slices sit out 15 minutes before eating so the crumb softens.
Can I freeze it?
Yes. Wrap slices well and freeze up to 2 months. Thaw in the fridge overnight or on the counter for about an hour.
Why did my swirl sink?
Usually the ricotta mixture was too wet or the batter was too thin. Strain the ricotta briefly next time, and do not overmix the batter.
A sweet little sign you should bake this soon
If you have been craving a homemade dessert that feels comforting but not boring, Pistachio Ricotta Swirl Cake is the answer. It is simple to mix, the swirl looks gorgeous with almost no effort, and the pistachio flavor keeps it interesting. If you want to compare versions or just get inspired, I also like reading Pistachio & Ricotta Swirl Cake – Molly Baz to see how other bakers play with the same idea. Now go preheat that oven and make it happen, and if you do bake it, I hope you sneak the first warm slice for yourself. 

Pistachio Ricotta Swirl Cake
- Total Time: 60 minutes
- Yield: 8 servings
- Diet: Vegetarian
Description
A soft and lightly nutty cake with a creamy ricotta swirl, perfect for a comforting yet impressive dessert.
Ingredients
- 2 cups all-purpose flour
- 2 teaspoons baking powder
- 1/2 teaspoon fine salt
- 1/2 cup unsalted butter, softened
- 1 cup granulated sugar
- 3 large eggs
- 1 teaspoon vanilla extract
- 1 cup ricotta cheese, whole milk preferred
- 1/2 cup powdered sugar
- Zest of 1 lemon (optional)
- 3/4 cup pistachios, finely chopped
- 1/4 cup milk or plain yogurt
Instructions
- Preheat your oven to 350°F. Grease a 9-inch round pan or an 8-inch square pan and line the bottom with parchment.
- Mix the dry ingredients: flour, baking powder, and salt in a bowl.
- Cream butter and sugar until fluffy. Add eggs one at a time, then vanilla.
- Stir in part of the ricotta to the batter or save all for the swirl.
- Add the dry ingredients, alternating with a splash of milk or yogurt, stopping as soon as flour disappears.
- Fold in chopped pistachios.
- Make the swirl by mixing ricotta with powdered sugar, a pinch of salt, and lemon zest if using.
- Spread half the cake batter in the pan, dollop the ricotta mixture over it, then add the rest of the batter, swirling gently.
- Sprinkle additional pistachios on top.
- Bake for 40 to 55 minutes until a toothpick comes out mostly clean.
- Cool for at least 20 minutes before slicing.
Notes
Be careful not to over-swirl the ricotta mixture to keep the layers distinct. The cake is best slightly warm and pairs well with coffee.
- Prep Time: 15 minutes
- Cook Time: 45 minutes
- Category: Dessert
- Method: Baking
- Cuisine: Italian
