Keto Flan

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published May 21, 2021 • Updated February 25, 2026

Reader Rating
4.8 Stars (4 Reviews)

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
639K+ subscribers
Discover More Keto Recipes on Our Channel

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

Recipe
Print Pin

Keto Flan

4.8 (4) Prep 35m Cook 60m Total 95m 4 servings

Ingredients

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?

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.

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 sugar free caramel sauce I use behaves exactly the same way. 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.9 Stars (95 Reviews)

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
145 Mins
Keto Almond Flour Chocolate Chip Cookies
4.8 Stars (36 Reviews)

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.8 Stars (5 Reviews)

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.9 Stars (13 Reviews)

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

See the Recipe
chocolate chip with whipped cream
6 Mins
Keto Chocolate Chaffle
4.7 Stars (12 Reviews)

Cream cheese (not mozzarella) makes this chocolate chaffle recipe taste like actual dessert. Six ingredients, five minutes, 4g net carbs.

See the Recipe
star piped pink and white cheesecake fluff in a small bowl topped with white, red and purple sprinkles
5 Mins
Keto Cheesecake Fluff
4.8 Stars (6 Reviews)

I make this low carb cheesecake filling in about five minutes with four ingredients. Creamy, mousse-like texture you can scoop straight from the bowl...

See the Recipe
Reviews 11
4.8 Stars (4 Reviews)
  1. M
    Mei Mar 9, 2026

    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.

  2. D
    Dani Feb 26, 2026

    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.

    1. Annie Lampella
      Annie Lampella Feb 27, 2026

      Ha, keep that secret. Took me four rounds of testing to get that zest balance right. Your mom has a good palate.

  3. C
    Camila Feb 23, 2026

    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.

    1. Annie Lampella
      Annie Lampella Feb 25, 2026

      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.

  4. E
    Emily Feb 20, 2026

    Does blending actually kill that eggy custard taste, or is the macadamia milk doing the heavy lifting?

    1. Annie Lampella
      Annie Lampella Feb 20, 2026

      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.

  5. K
    Kendra Feb 17, 2026

    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.

    1. Annie Lampella
      Annie Lampella Feb 17, 2026

      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.

  6. A
    Amy R Hejtmancik Aug 24, 2023

    Would like to know what, if any, adjustments would be needed to make this flan recipe for ramekins.

    1. Annie Lampella
      Annie Lampella Jan 5, 2024

      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.

Leave a Review