Keto Flan

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published May 21, 2021 • Updated July 20, 2026

Reader Rating
4.6 Stars (19 Ratings)

This post may contain affiliate links. See my disclosure policy.

I tested this keto flan four times before I nailed the ratio. Creamy, sweet, zero eggy taste, and only 2.4 g net carbs per serving.

I kept putting this recipe off because I was scared I’d ruin the memory of the real thing. Flan is one of those desserts you either nail or you don’t, and a bad custard (rubbery, eggy, weirdly sweet) would have haunted me. But after four rounds of testing, I landed on a formula that works: four yolks to three whites. That extra yolk is the whole secret. It pushes the custard toward silky and vanilla-forward instead of tasting like scrambled eggs.

The base is simple. Three eggs, one extra yolk, unsweetened nut milk (I use macadamia, but almond works the same), heavy cream, powdered erythritol, a little lemon zest, and vanilla. Everything goes in the blender. I used to think the milk choice mattered most for flavor, but I tested this with both macadamia and almond milk and got the same silky result with both. It’s the blending that does it. The eggs get incorporated so thoroughly they stop reading as eggs.

You pour the custard over sugar-free caramel syrup, set the pan in a water bath, and bake at 325 for about an hour. Then it needs to chill. Here’s the thing I learned the hard way: eight hours minimum in the fridge. I cut into one after four hours once, and the center was still wobbly. Give it overnight. The texture firms up completely, and the caramel keeps soaking into the custard the whole time, which honestly makes it taste better the next day.

If you’re into creamy desserts, this sits right alongside my keto chocolate mousse and peanut butter mousse. The texture is different (denser, more structured), but that same creamy satisfaction is there. And if you want to lean into the caramel side, my caramel candy uses the same sugar-free approach.

One of my readers, Kendra, made this and told me it was the one dessert she mourned when she started eating low carb. Her abuela made flan every Christmas, and she thought that part of her life was over. She said the macadamia nut milk and heavy cream together nailed the silky texture she remembered. That kind of feedback is why I test recipes until they’re right.

At only 2.4 g net carbs per serving, this is one of the lightest keto desserts on my site. I serve it cold with extra caramel drizzled on top, sometimes with a scoop of vanilla ice cream on the side. It’s the kind of dessert that looks like you spent hours in the kitchen, but the hands-on time is about ten minutes of blending. The rest is oven and fridge. I’ve brought it to dinner parties, made it for holidays, and pulled it out on random weeknights when I wanted something that felt special.

Youtube
Discover More Keto Recipes on Our Channel

Explore hundreds of keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.

Recipe
Print Pin

Keto Flan

4.6 (19) Prep 35m Cook 60m Total 95m 4 servings

Ingredients

  • 1/2 cup thin sugar-free caramel syrup (the original product used for testing is discontinued)
  • 3 large eggs
  • 1 egg yolk
  • 1 cup macadamia nut milk or nut milk of choice
  • 1/2 cup heavy whipping cream
  • 1/2 cup powdered erythritol
  • 1 teaspoon lemon zest
  • 1/4 teaspoon vanilla

Step by Step Instructions

Step by Step Instructions

1
Preheat oven

Preheat the oven to 325 degrees.

red 325 degree oven temperature
2
Add caramel sauce

Pour sugar free caramel syrup into a loaf pan, ramekin or small cake pan. Tilt the pans slightly to evenly coat the bottom of the pan. Set aside.

caramel sauce on the bottom of a small cake pan
3
Blend the eggs

Add eggs and egg yolk to a blender and blend until smooth.

egg beaten in a blender
4
Add remaining ingredients

Add nut milk, heavy cream, sweetener, lemon zest and vanilla extract and blend until smooth.

flan mixture in a blender
5
Add to pan

Pour custard mixture into prepared loaf pan or cake pan.

flan in a cake pan
6
Water bath

Place the pan into a large baking dish and fill the dish with hot water (make sure not to get any water into your custard mixture) until it reaches halfway up the pan.

flan sitting in a water bath
7
Bake the flan

Bake at 325 degrees for 60 to 75 minutes or until the flan is set on top but lightly jiggly. Remove from the oven and the water bath. Place on a cooling rack for 30 minutes. Then transfer to the refrigerator to set for at least 8 hours.

a cake pan filled with baked flan
8
Unmold

Loosen the flan from the sides of the loaf pan using a knife to unmold. Center your serving dish on top of the pan and carefully flip the pan and plate together. The flan should fall onto the plate and the caramel will run all over the top of the flan. (If the flan does not come out, flip it back over and let set at room temperature for 5-10 minutes or place the cake pan in a hot water bath for a few minutes to melt the caramel. Then flip again to loosen).

an upside down cake pan over a plate
Nutrition Per Serving
180 Calories
15.9g Fat
5.6g Protein
2.4g Net Carbs
2.7g Total Carbs
4 Servings
Nutrition disclaimer

The nutrition information provided is an estimate and is for informational purposes only. I am a Doctor of Pharmacy (Pharm.D.); however, this content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always consult your physician or other qualified health provider before making any lifestyle changes or beginning a new nutrition program.

Your Macros. Your Recipes. Calculated in 60 Seconds.

Get personalized keto macros and instantly see which recipes fit your targets. No more guessing what to eat.

Get My Macros + Recipes →

Get weekly keto recipes from Annie.

Join the list and get new recipes delivered to your inbox every week.

Keto Flan

Frequently Asked Questions

Which sweetener works best for the caramel?

The store-bought ChocZero syrup I originally used has been discontinued, and I have not verified its current products as a 1:1 replacement. For homemade caramel, allulose is the best candidate because it melts and stays fluid more like sugar; erythritol tends to recrystallize. This recipe still needs a kitchen retest with a current bottled option.

Can I make this in ramekins instead of a loaf pan?

I've made it in both. Ramekins work, but you need to adjust the bake time. I start checking at about 15 minutes, maybe 20 depending on the size. The custard sets faster in smaller vessels. Everything else stays the same. I prefer a loaf pan because it's easier to unmold one big flan, but individual ramekins look great if you're serving guests.

How long does this really need to set in the fridge?

Eight hours minimum. I know that sounds like a lot, but I've cut in at four hours and the center was still wobbly. Overnight is the easiest approach. I usually make mine the night before. The texture firms up completely, and the caramel keeps soaking into the custard. It genuinely tastes better after a full night in the fridge.

Can I make this dairy-free with coconut milk?

I haven't tested a fully dairy-free version yet, so I can't promise the same texture. You could swap the nut milk for full-fat coconut milk (the canned kind, not the carton), but the heavy cream is harder to replace. Coconut cream is the closest substitute. Expect a coconut flavor that changes the profile. For a tested dairy-free dessert, my dairy-free ice cream is one I've made dozens of times.

Why do I need a water bath? Can I skip it?

Don't skip it. The water bath regulates the temperature so the custard cooks gently and evenly. Without it, the outside overcooks while the middle stays raw, and you get a cracked, rubbery flan. I've tested it both ways. With the water bath, the custard comes out smooth every time. Without it, I got a ring of rubber around a liquid center.

What type of milk works best?

I use macadamia nut milk because it's the most neutral, but I've tested this with almond milk and got the same result. Any unsweetened nut milk works. The milk is more of a background player here. The real flavor comes from the egg yolks, heavy cream, and vanilla. Just make sure whatever you pick is unsweetened so you don't add extra carbs.

Can I make this in advance?

This is actually better made ahead. I usually make it the day before I need it. The custard needs at least eight hours to set anyway, so making it the night before is the easiest approach. I've served it two days later and the texture was just as good. My cheesecake bites are another great make-ahead option if you want variety.

Is this suitable for egg allergies?

No. The eggs are the structure of the entire custard, and I haven't found a substitute that holds up. I wouldn't try flax eggs or commercial egg replacers here because the texture depends on real egg proteins setting during baking. If you need an egg-free dessert, I'd point you toward something mousse-based or no-bake instead.

Browse by Ingredient
Similar Recipes

Others looking for “Keto Flan” also liked:

Low Carb Flan Recipe

a slice of flan on a plate topped with sliced strawberries

Everything you need is probably already in your kitchen: three large eggs, one egg yolk, unsweetened nut milk (I use macadamia, but coconut or almond work too), heavy cream, a cup-for-cup sweetener like erythritol or monkfruit, lemon zest, and vanilla. The key is the egg-to-yolk ratio. Four yolks to three whites. That’s what gives you a silky custard instead of something that tastes like scrambled eggs. I tested other ratios, and this one consistently produces the best texture.

a slice of flan part way out

What Is Flan?

Flan is a baked custard dessert served chilled with caramel sauce on top. It goes back centuries (the Spanish were the first to top it with clear caramel, and the Mexican version added flavors like coffee and coconut), but the traditional version is loaded with sugar, whole milk, and condensed milk. I make mine with heavy cream, unsweetened nut milk, and powdered erythritol.

For the caramel, I skip making it from scratch. Erythritol recrystallizes as it cools, so homemade caramel turns grainy within minutes. Monkfruit burns before it melts properly. If you want to DIY, allulose is the only sweetener that behaves like real sugar. I just pour store-bought sugar-free caramel syrup in the pan and move on.

a mini flan topped with caramel sauce and mint leaves

What Does It Taste Like?

The flavor is smooth, milky, and vanilla-forward. Not eggy at all, which is the whole point of that extra yolk. The caramel on top isn’t thick like candy. It’s a thin, clear sauce that soaks right into the custard as it chills. The syrup I originally used has been discontinued, and I have not verified a current bottled syrup as a 1:1 replacement. And because I add that fourth yolk (four yolks to three whites), the vanilla comes through first instead of that flat egg taste you get from most custard recipes.

Why the Water Bath Matters

The water bath regulates the temperature so the custard cooks gently and evenly. Without it, the outside sets hard while the middle stays liquid, and you end up with a cracked, rubbery mess. I place my loaf pan inside a larger baking dish, then fill the dish with hot water until it reaches halfway up the sides. Just make sure no water splashes into the custard.

You can use a ramekin, loaf pan, or small cake pan. I usually go with a loaf pan because it’s easier to unmold, but ramekins work too (just cut the bake time to about 15-20 minutes depending on size).

If the flan won’t release when you flip it, set the pan in a hot water bath for 5-10 minutes to melt the caramel underneath. Then try again.

close up of the creamy texture of flan

Tips for the Best Custard

  • Don’t overbake. Overbaked flan turns rubbery from the overcooked eggs. I pull mine when the top is set but still jiggles slightly in the center.
  • Don’t underbake either. If it’s completely liquid in the middle, give it more time. Touch the surface lightly. It should wobble, not slosh.
  • Use the water bath. It regulates the temperature so the custard cooks evenly throughout. Don’t skip it.
  • Chill it properly. Eight hours minimum. Overnight is better. The custard firms up completely and the caramel keeps soaking in. I always make this the day before I need it.

How to Store It

Flan is meant to be cold, so it stores perfectly in the fridge. The caramel keeps soaking into the custard over time, which makes it taste even better the next day. I keep mine covered for up to 3 days. Don’t freeze it. I tried once and the custard texture completely broke down. If you want another make-ahead keto dessert that holds up well, my cheesecake fluff lasts several days in the fridge too.

About the Author
Annie Lampella, Pharm.D.

Annie Lampella, Pharm.D.

Annie is a Doctor of Pharmacy, mom, and the recipe creator behind KetoFocus. With a B.S. in Genetics from UC Davis, she has over 14 years of experience developing family-friendly keto recipes based on the science of human metabolism.

More Dessert Recipes

slice of keto carrot cake
45 Mins
Keto Carrot Cake with Almond Flour
4.8 Stars (106 Ratings)

Almond flour, real shredded carrots, and cream cheese frosting with sour cream. 5.6g net carbs per slice. I make this every Easter and Thanksgiving.

See the Recipe
keto chocolate chip cookie stack
55 Mins
Keto Almond Flour Chocolate Chip Cookies
4.7 Stars (53 Ratings)

I accidentally invented these while making butter bars, and they turned out to be the chewiest almond flour chocolate chip cookies I've ever baked....

See the Recipe
holding a spoonful of fluffy jello dessert over a bowl of pink creamy pudding
5 Mins
Jello Whip
4.9 Stars (20 Ratings)

Jello whip is a fluffy, 3-ingredient keto dessert I make when I want something sweet in under 5 minutes. Whipped cream cheese, heavy cream, and sugar...

See the Recipe
creamy chocolate mousse in a small dish topped with sprinkles and strawberries
3 Mins
Keto Chocolate Mousse
4.7 Stars (31 Ratings)

When a chocolate craving hits, this 3-ingredient mousse saves the day. No cooking, no eggs, and I can have it ready in under 5 minutes.

See the Recipe
creamy ice cream dripping from a cone
35 Mins
Keto Vanilla Ice Cream
4.8 Stars (32 Ratings)

I perfected this 5-ingredient, egg-free recipe so it stays soft and scoopable straight from the freezer. No custard, no tempering. Just whisk, chill,...

See the Recipe
A stack of four no bake chocolate cookies next to slices almonds.
6 Mins
Keto No Bake Cookies
4.7 Stars (32 Ratings)

I make these keto no bake cookies almost every week. Five minutes, no oven, and the oat fiber gives them that real oat flavor and crunch without a...

See the Recipe
Reviews 49
4.6
4.6 Stars (19 Ratings)
19 ratings · 25 written reviews
Made this recipe? Tap a star to rate it.
  1. M
    Mia Aug 12, 2026

    Making this for a pool party Saturday. Been searching for a custard dessert that doesn't feel like a compromise, and this is it. If I bake Thursday night and keep it in the pan in the fridge until Saturday morning, is two days okay or does the texture suffer? Also, should I unmold the night before to let the caramel drip down, or wait until right before serving? Worried the top gets watery if it sits on the plate too long.

  2. R
    Rebecca Aug 4, 2026

    Pull it when the center still has some give. I overbaked the first two batches and both had an eggy aftertaste I couldn't shake. Got it right on batch three, that's when I understood why she tested it four times before publishing. On batch five now and I trust the jiggle more than the timer.

  3. C
    Carla Aug 2, 2026

    batch three, I heat the syrup first now

    1. Annie Lampella
      Annie Lampella Aug 3, 2026

      Carla, cold syrup pools toward the middle before the custard sets. Warm spreads properly. Trying it next time.

    2. C
      Carla Aug 3, 2026

      Oh that makes sense. First two batches I couldn't figure out why it kept pooling to the middle.

  4. T
    Tasha Jul 15, 2026

    I make four ramekins at once. Week handled.

    1. Annie Lampella
      Annie Lampella Jul 20, 2026

      Tasha, four at a time is right. I usually start checking mine around 15 minutes though. Ramekins set faster than the loaf pan.

  5. M
    Morgan Jul 8, 2026

    Good texture, a little sweet for my taste. I'll use less erythritol next time.

    1. Annie Lampella
      Annie Lampella Jul 10, 2026

      Try 1/3 cup first. The caramel syrup's already pretty sweet, so shaving a little erythritol off won't flatten the custard.

  6. A
    Andre Jun 30, 2026

    Skip the water bath, this one doesn't need it.

    1. Annie Lampella
      Annie Lampella Jul 2, 2026

      I've tested it both ways. Without the bath, the outside overcooks before the center sets and you get cracked, rubbery flan. Don't skip it, Andre.

  7. A
    Amanda Jun 20, 2026

    2.4 net carbs is what finally got me to try this. First batch I used granular erythritol by mistake, slightly gritty. Switched to powdered and the difference was obvious. Might save someone else a batch.

    1. Annie Lampella
      Annie Lampella Jun 22, 2026

      Granular stays gritty in custard, it never fully dissolves. Powdered is in the recipe for exactly that reason.

  8. J
    Jordan Jun 19, 2026

    Held together on the flip. First custard ever.

    1. Annie Lampella
      Annie Lampella Jun 22, 2026

      The flip is the part I was most nervous about even on my fourth batch. First custard and you nailed it.

  9. T
    Taylor Jun 4, 2026

    Flan is the one dessert I grew up with, the kind that showed up at every family dinner, and I gave up on it when I went keto two years ago. Tried this last weekend and the custard texture was so close I had to just sit with it for a second. The lemon zest is subtle but it's doing something that makes it taste like the real thing, not a keto 'version.' Been two years of zero flan and now I'm back here wondering what else I wrote off too soon.

    1. Annie Lampella
      Annie Lampella Jun 6, 2026

      Two years is a long time. The custard took four rounds to get right, so that reaction makes sense to me. The answer to 'what else' is probably more than you think.

  10. F
    Fatima May 5, 2026

    I've made at least four other keto flan recipes over the last two years, and the eggy aftertaste always killed it for me. This one doesn't have that. I think it's the lemon zest or the blending method (or both), but the custard tastes cleaner than anything I've tried. Going to test it with almond milk next time since macadamia nut milk required a special order.

    1. Annie Lampella
      Annie Lampella May 10, 2026

      Almond milk works just as well. I've made it both ways and didn't notice a difference in the texture. Macadamia is just the most neutral flavor-wise, but for a flan you're not going to taste the milk anyway.

  11. M
    Melissa Apr 28, 2026

    I've tried probably four or five keto flan recipes and they all had that eggy taste that ruins the whole thing. This one? Zero. The lemon zest is what I think does it, and I genuinely cannot figure out why I never saw that in another recipe.

    1. Annie Lampella
      Annie Lampella Apr 30, 2026

      It's the acid. Lemon zest cuts the sulfur from the yolk, which is what makes most custards taste eggy. Three batches before I figured that out.

  12. J
    Jen Apr 27, 2026

    The custard itself is really creamy and the lemon zest gives it a brightness I wasn't expecting. My one note is that the caramel layer was pretty thin after unmolding, so next time I'm doubling the syrup amount. Otherwise a solid dessert that actually tastes like the real thing.

    1. Annie Lampella
      Annie Lampella Apr 30, 2026

      Yeah, doubling makes sense. The syrup runs thin once you flip it. I'd try 3/4 cup first and see where that lands before going all the way to a full cup.

  13. L
    Lakshmi Apr 20, 2026

    This was my first attempt at any kind of custard, and I went in expecting to mess it up. It didn't. Texture came out smooth and the lemon zest adds something subtle I wouldn't have expected from a keto dessert. That said, once it's fully chilled the erythritol cooling hits on the back end, especially if you eat it slow. Not bad, just a reminder you're working with a sugar sub. I'd try allulose or a blend next time to see if that changes things. Four stars. Custard sets exactly right, and 2.4g net carbs for real flan is hard to argue with.

    1. Annie Lampella
      Annie Lampella Apr 25, 2026

      Yeah that cooling hits. Allulose would fix it, no back-end aftertaste. I've been meaning to test a blend myself.

  14. K
    Kristen Apr 19, 2026

    Brought this to a spring dinner, six people total, two of us on keto. Scaled to three loaf pans, same bake time, no issues. The lemon zest was what nobody could place. Three people guessed cream cheese or some kind of citrus liqueur before giving up. One of the guests is a pastry chef and she pulled me aside afterward to ask about the ratios specifically. Made it two days ahead and the texture was actually cleaner than same-day, so that's going in as standard.

    1. Annie Lampella
      Annie Lampella Apr 23, 2026

      A pastry chef pulling you aside to ask about the ratios. Of course she did. Two days ahead is actually cleaner, I just never had reason to test it that far out. Adding that to the notes.

  15. M
    Megan Mar 28, 2026

    Swapped full-fat coconut milk for the macadamia nut milk. Custard came out silky. The caramel on the bottom also caramelized a bit against the coconut, which I wasn't expecting. Keeping this version.

    1. Annie Lampella
      Annie Lampella Apr 3, 2026

      That extra caramel browning from the coconut fat makes sense. Macadamia milk doesn't have enough to do that. Now I want to try it.

Leave a Review

Rating

Get weekly keto recipes from Annie.

Join the list and get new recipes delivered to your inbox every week.