This post may contain affiliate links. Please read our disclosure policy.
This gluten free olive oil cake has a tender crumb, bright, lemony flavor, just enough sweetness, and a richness unique to baking with olive oil. It stays fresh on the counter for days, and you can make it dairy free with ease!

What makes this cake work
Olive oil has a distinct flavor, so it's not commonly used in baking sweets. In fact, even oil-based cakes, like our gluten free carrot cake, are typically made with a neutral-tasting oil, like canola, vegetable, grapeseed, or peanut oil.
In this recipe, though, everything from adding buttermilk to using lemon zest is designed to brighten and enhance the distinct flavor of olive oil. So be sure to use an oil with a rich taste you love.
This easy recipe is also made in only one bowl. You need a mixer to beat the olive oil with sugar and then eggs until creamy, but then you sift the dry ingredients right into the same bowl to create a soft batter that bakes quickly and evenly.

Key ingredients
The ingredients you'll need to make this olive oil cake are similar to those we use in most of our cakes, with a few notable exceptions:
- Gluten free flour – Any high quality all purpose gluten free flour blend with a superfinely ground rice flour, in combination with cornstarch to lighten it, will work to make a tender cake. And be sure to sift the flour for the smoothest mouth feel!
- Olive oil – Select an olive oil with a smell and taste you love. Baking will only intensify the flavors, like with wine.
- Buttermilk – Be sure to use real buttermilk (or a real buttermilk substitute: half milk, half plain yogurt by volume), not milk with a bit of lemon juice, which doesn't mimic the texture properly. Here, it brings the batter together and adds moisture and tenderness.
- Lemon zest – The finely grated zest of 1 lemon brightens the flavor of the oil and creates perfect balance of acidity.
Recipe tips and tricks
Measure carefully
Measure as many ingredients as possible by weight with a scale, not by volume—especially your gluten free flours. Otherwise, you're very likely to measure improperly, and your cake may be dense (too much flour) or oily (too much oil).
Use good olive oil
You don't need fancy olive oil for this cake. You only need to like the taste and smell of your chosen oil. If you like your olive oil on a salad, you'll like it in this cake. I use extra virgin Spanish olive oil from Trader Joe's.
Beat well
Don't stop beating your olive oil, sugar, and eggs at the beginning of the recipe until the batter has increased in volume. It will also become a pale yellow color as you work to incorporate air into it. This step is part of what helps keep the cake from leaking oil or tasting oily.

Be sure to try some of my other cakes as well like my gluten free carrot pineapple cake and gluten free zucchini cake.
Serving suggestions
I love this simple cake with simple fruit and cream toppings. Here are some more serving suggestions to turn a simple cake into a tiny celebration:
- Serve each slice with berries and fresh whipped cream, as you see in the photos here
- Serve with a fresh sprig of mint and some grapefruit or orange slices, supremed (with the entire membrane and pith cut away)
- Serve plain with a hot cup of coffee or bright, lemony tea
Storage instructions
One of the best parts about this gf olive oil cake is how well it stays fresh at room temperature for at least three days. Just wrap it tightly in individual slices or the unsliced remainder of the cake and store it on the counter.
Freezing gluten free olive oil cake
For longer storage, I don't like refrigerating cake, as I find the refrigerator can dry out baked goods. Instead, wrap each cooled slice tightly in freezer-safe wrap and place it in the freezer for up to two months.
Defrost at room temperature or by unwrapping, sprinkling with water, and in a 275°F toaster oven until fragrant and defrosted in the center.

Ingredient substitutions
Dairy free
It's quite easy to make this oil-based cake dairy-free. You only need to replace the buttermilk with a nondairy alternative. I recommend using half nondairy milk (my favorite is unsweetened almond milk) and half plain nondairy yogurt.
Vegan
To make this into a vegan gluten free olive oil cake, you'll need to replace the buttermilk as instructed above, plus the eggs. You can try replacing the eggs with a “chia egg” each (1 tablespoon ground white chia seeds + 1 tablespoon lukewarm water, mixed and allowed to gel).
Check your other ingredients carefully, too, if you're a strict vegan. Granulated sugar is often made using bone char.
Corn-free
If you can't have corn, you'll need to replace the cornstarch in this recipe. You can try arrowroot or even potato starch in its place. Avoid Cup4Cup gluten free flour entirely, as it's made with quite a bit of cornstarch.

FAQs
Stick with extra virgin olive oil, which is made with cold-pressed olives, unlike regular olive oil, which is made with a blend of more highly processed and cold-pressed oils.
No! This cake will stay fresh for up to three days on the kitchen counter, when wrapped tightly. If I know I'm going to serve this cake in five days, though, I'd wrap the cooled cake very tightly and freeze it.
















This is a 5-star plus recipe! My family and people at my church beg for this cake. One parishioner always says she’s taking the whole cake home. I wondered whether the sifting was necessary, but I trust Nicole and do it. I have a feeling it helps make the cake lighter.
This cake was so delicious! The texture was light with a delicate crumb with none of the gritty or gummy textures that have plagued my other attempts at GF baking. Served just like the picture, my dinner guests had no idea that it was GF until they realized that I was eating it too! This is the first recipe I have made from this website and I can’t wait to try more. I have really missed baking! Thank you, Nicole!
Made this today. Delicious. Loved the taste and texture. No one would know this is a gf cake (unless I tell them). I’ve been making your gf carrot cake for years. Thank you.
So glad you loved the olive oil cake, and the carrot cake, Cathy! Thank you so much for sharing your experience.
This is a great recipe. I used King Arthur Meaure for Measure gluten free flour. Because I live at 7,000 ft elevation, I reduced the baking powder to 1 teaspoon. The cake did not fall! and it was so perfectly textured.
So glad to know what you did to compensate for elevation, Eric. It’s so useful whenever a reader is willing to post what worked for them at elevation since I can’t recreate that condition. Thank you so much, and I’m so glad you enjoyed the cake!
TOTALLY AMAZING! And thank you for the tip on not over-baking it. It’s great just plain with the crunchy sugar top. It will definitely be a regular in our house! THANK YOU!?
You’re very welcome, Jane. I’m so glad you enjoyed the cake, and thank you for sharing your experience!
This cake was delicious. Light, nice crumb and hint of lemon flavour. Dairy free here, so used coconut yogurt for the buttermilk.
I’m really glad to know the cake worked well with coconut yogurt, Debbie. Thanks for sharing that.
I made this cake dairy free by replacing the buttermilk with a combination of So Delicious brand Coconut Yogurt Alternative, vanilla flavor, with So Delicious brand unsweetened coconut milk. The yogurt was sweetened, but I did not decrease the sugar in the recipe., nor the amount of vanilla extract.
The cake was delicious, and I ate almost half of the 8″ round cake the first day!
I got enough zest from the lemon for 2 cakes, along with enough yogurt to make another cake.
I will try the next cake with monkfruit sweetener.
Thank you for another wonderful recipe.
You’re very welcome, Lois! So glad it worked with your substitutions. I appreciate when readers share those, since it definitely helps other readers out and I can’t try every possible combination myself!
This cake turned out absolutely delicious, which I am very pleased about; I made a double recipe – one to keep and one for my niece and her husband. (My niece has celiac ds and a dairy allergy like me, and has been unwell recently.) I made some changes out of necessity: For the milk I used half plain DF yogurt and half cashew milk (Just cashews & water, works very well in GF recipes.) I used 6 eggs for the doubled recipe as mine were a bit small. Did not have a lemon so used mandarin zest, and combined the juice with powdered sugar to make the glaze.
One change that I made streamlined making the cake and had no impact on taste, rise, outcome, etc. I combined all the wet ingredients except the milk/yogurt combo, and mixed in my stand mixer. Combined all the dry ingredients in a bowl, then added dry mix to mixer bowl alternating with the milk/yogurt mixture, as one would do in glutinous baking (I used to bake a lot back in the gluten days…) I was a bit short on time and this worked well. I did not sprinkle sugar on top, since I intended to glaze the cakes.
This recipe is a keeper. Haven’t had an olive oil cake in prob 15 years. This is going to be in regular rotation. Thank you so much for the recipe!