Keto Flan
Published May 21, 2021 • Updated February 25, 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 683+ keto recipe videos with step-by-step instructions, tips, and tricks to make keto easy.
Ingredients
1/2 cup sugar free caramel syrup
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
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.
Add remaining ingredients
Add nut milk, heavy cream, sweetener, lemon zest and vanilla extract and blend until smooth.
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?
I use store-bought sugar-free caramel syrup and skip making it from scratch. Erythritol recrystallizes as it cools, so your caramel turns grainy. Monkfruit burns before it melts properly. If you want homemade, allulose is the only sweetener that melts and stays liquid like real sugar. But I've been using ChocZero's syrup for years and it works so well I've never bothered.
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.




My daughter insisted I bought the caramel from somewhere fancy (I did not, it's just sugar-free syrup from the store), which told me everything I needed to know about this one. Four stars because my first attempt came out a little wobbly in the center, but I think I rushed the bake time, not the recipe's fault.
My mom has shot down every keto dessert I've brought to Sunday dinner for two years. She ate half this pan and wanted to know what made it taste different from regular flan. It's the lemon zest. She kept calling it 'bright' and I just let her think it was some fancy ingredient. Not about to explain macadamia nut milk to a 65-year-old.
Ha, keep that secret. Took me four rounds of testing to get that zest balance right. Your mom has a good palate.
Custard came out silky, zero eggy taste - I was skeptical but it's true. Wish someone had warned me about the four-hour minimum because I cut in way too early and the center was still wobbly. Once it set though, it was everything.
Four hours got me during testing too. Once I started making it the night before, no more wobble issues. The wait is annoying but there's no shortcut with custard.
Does blending actually kill that eggy custard taste, or is the macadamia milk doing the heavy lifting?
Both, but blending carries more weight than I expected. The eggs get incorporated so thoroughly they stop reading as eggs. Mac milk is pretty neutral (I've swapped it with almond milk and got the same result), and the lemon zest rounds it out.
Flan was the one thing I actually mourned when I started keto. My abuela made it every Christmas and I thought that part of my life was just over. Made this last night and had to sit with it after the first bite. The macadamia nut milk and heavy cream together nail that silky texture I remembered. Not gonna lie, I cried a little.
That got me. Flan is one of those recipes I kept putting off because I was scared I'd ruin the memory of the real thing. So glad the macadamia nut milk came through for you -- that combo with the heavy cream is what finally made it work for me too.
Would like to know what, if any, adjustments would be needed to make this flan recipe for ramekins.
If using ramekins, it won't take as long to bake. Depending on the size of ramekin, I would start checking about 20 minutes. Maybe even 15.