Keto Flan
Published May 21, 2021 • Updated July 20, 2026
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.
Explore hundreds of keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.
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
Preheat oven
Preheat the oven to 325 degrees.
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.
Blend the eggs
Add eggs and egg yolk to a blender and blend until smooth.
Add remaining ingredients
Add nut milk, heavy cream, sweetener, lemon zest and vanilla extract and blend until smooth.
Add to pan
Pour custard mixture into prepared loaf pan or cake pan.
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.
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.
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).
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 →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.








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.
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.
batch three, I heat the syrup first now
Carla, cold syrup pools toward the middle before the custard sets. Warm spreads properly. Trying it next time.
Oh that makes sense. First two batches I couldn't figure out why it kept pooling to the middle.
I make four ramekins at once. Week handled.
Tasha, four at a time is right. I usually start checking mine around 15 minutes though. Ramekins set faster than the loaf pan.
Good texture, a little sweet for my taste. I'll use less erythritol next time.
Try 1/3 cup first. The caramel syrup's already pretty sweet, so shaving a little erythritol off won't flatten the custard.
Skip the water bath, this one doesn't need it.
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.
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.
Granular stays gritty in custard, it never fully dissolves. Powdered is in the recipe for exactly that reason.
Held together on the flip. First custard ever.
The flip is the part I was most nervous about even on my fourth batch. First custard and you nailed it.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Yeah that cooling hits. Allulose would fix it, no back-end aftertaste. I've been meaning to test a blend myself.
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.
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.
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.
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.