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 cake is delicious. I didn’t use the lemon zest and I used lactose-free milk instead of buttermilk. It came out moist and delicious! I shared the first cake with friends have made it a second time in 2 days. Yum!
I replaced the vanilla with almond extract and lemon zest with orange zest and it was fantastic!
That sounds like a delicious twist, Flo. So glad you loved it!
Amazing! I added blood orange zest and subbed half the buttermilk with blood orange juice. It was great. Severed with almond whipped cream.
Oh my goodness – this is flippin’ delicious! I haven’t even added whipped cream or berries yet. I steeped the olive oil with lavender and for the sugar sprinkle on top I used lavender vanilla sugar. AMAZING!
Oooh, Yvette, that sounds so nice. Perfect for spring!
I used the mock better battery blend but substituted cornstarch for the potato starch which I didn’t. I Mauer everything exactly by weight but the battery was VERY thick; I could barely spread it in the pan. It was dense and heavy instead of light & fluffy. I’m not sure what went wrong unless it was just that I used the cornstarch instead of potato starch…
I’m afraid when building a blend, especially when making substitutions, there are so many possibilities for error, Valerie. My guess is that you may have measuring one or more of the ingredients in error.
Here are the additional questions I recommend asking yourself when a recipe doesn’t turn out as intended. Without knowing more, I’m afraid I can’t be more specific:
Phenominal cake, that stays fresh & perfect on the counter (under a glass dome on a cake stand) for 3 days. It’ll be gone in 2! :)
I made it with the sugar on top and I used the non-dairy subs both times.
That’s so great to hear, Karen! It’s amazing how fresh it stays at room temperature. Thank you for sharing your experience, and enjoy that cake!
HI again
I forgot to say that because I am allergic to milk, I used almond milk with one teaspoon of lemon juice and it worked for me. I love this cake
I’m really glad you enjoyed the cake, Lorraine! Next time, I really recommend trying half nondairy plain yogurt, half almond milk for the buttermilk. It’s the perfect buttermilk substitute and makes the cake extra moist and tender.
Thanks, I will do that!
Do you think it would be possible to substitute yogurt for the olive oil in the lemon cake. I’m also on WW and it would save 32 points.
I’m afraid not, Lori! There’s no way that would work. I do have a few WW-friendly gf baking recipes, though, that I think you’ll really like: https://glutenfreeonashoestring.com/category/weight-watchers-friendly/
Hi Nicole, any thoughts about making this a savoury cake like the French do. It would have ham or vegetables.
I’m afraid there’s no way to make this savory, no, Sharon. This really isn’t that kind of recipe at all. It sounds like you’re thinking more of a clafoutis, and the closest to a savory clafoutis I have on the blog is a quiche.
Can you make this cake dairy free too with plant milk? Also Xylitol to reduce sugar?
Please see the “Ingredients and substitutions” section of the post for substitution information, Alison.