Keto Boston Cream Pie

Annie Lampella @ Ketofocus

By Annie Lampella, Pharm.D.

Published June 16, 2026

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

This Keto Boston Cream Pie has everything you love about the classic dessert: soft, moist vanilla cake layers, a light and fluffy custard filling, and a rich chocolate topping. Made with a special low carb flour blend, it's the kind of showstopping dessert nobody will believe is low carb.

I’ve never understood why they call it Boston Cream Pie when it’s clearly a cake. The first time I had one, I was expecting a pie and instead got layers of vanilla cake sandwiched around a creamy custard filling and topped with chocolate. Whatever the reason behind the name, I’ve been a fan ever since. I’m also a complete sucker for any dessert that combines cream filling and chocolate, so creating a keto Boston cream pie was high on my list.

Whole keto Boston cream pie layered with vanilla custard and topped with a thick chocolate ganache that drips down the sides.

The challenge with making a low carb version is getting the cake texture right. I didn’t want dry, dense cake layers that fall apart the second you slice into them. That’s why I use a special flour blend. The combination of almond flour and oat fiber creates a cake that’s soft, moist, and tender while still holding up to that thick layer of custard in the middle. Almond flour brings a great flavor and keeps the recipe approachable since it’s one of the easiest keto flours to find, while oat fiber helps create a texture that’s much closer to traditional cake.

And then there’s the custard filling, which might be my favorite part of the whole dessert. It’s rich, silky, and surprisingly fluffy, but getting that texture comes down to one important step during cooking. Once layered between the vanilla cake and finished with a rich chocolate topping, you end up with a dessert that looks impressive enough for a special occasion but tastes like something you’d happily sneak a slice of straight from the refrigerator. If you’ve been missing Boston cream pie since going low carb, this recipe delivers everything you remember about the classic version.

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 Boston Cream Pie

Prep 30m Cook 40m Total 70m 12 servings

Vanilla Cake Ingredients

Custard Filling Ingredients

  • 6 large egg yolks
  • 1 cup granulated allulose sweetener
  • 1/4 cup cornstarch
  • pinch of salt
  • 2 cups milk of choice
  • 1/2 cup heavy cream
  • 2 tablespoons unsalted butter, softened
  • 2 teaspoon vanilla extract

Chocolate Frosting Ingredients

  • 1 ⅓ cup powered allulose
  • 3 tablespoons unsweetened cocoa powder
  • 3 tablespoons hot water
  • 1 teaspoon unsalted butter, softened
  • 1 teaspoon vanilla extract

Equipment Ingredients

Step by Step Instructions

Step by Step Instructions

1
Prepare the cake pans

Spray two 8-inch round cake pans with cooking oil and line the bottom with a parchment circle. Preheat the oven to 350 degrees F.

Two round cake pans lined with parchment paper, prepared for baking the keto Boston cream pie cake layers.
2
Special keto flour blend

In a medium bowl, sift together almond flour, oat fiber, egg white protein powder, baking powder, xanthan gum, arrowroot powder, and salt. Set the bowl aside.

Almond flour mixture being sifted through a fine-mesh strainer into a glass mixing bowl for the cake batter.
Tip If there are bigger, coarse pieces from the almond flour left in the sift, discard them.
Ingredients for this step
  • 2 cups almond flour
  • 2/3 cup oat fiber
  • 1/3 cup egg white protein powder
  • 2 tablespoons baking powder
  • 1 tablespoon xanthan gum
  • 1 tablespoon arrowroot powder
  • 1/2 teaspoon salt
3
Mix wet ingredients

In a large bowl, cream together 1/2 cup butter, oil and 1 ¾ cups granulated allulose using an electric mixer at medium speed. Mix until light and fluffy for about 3-4 minutes. Mix in eggs one at a time. Then mix in 2 teaspoons vanilla extract.

Keto cake batter partially mixed in a large bowl with a spatula, showing the ingredients just coming together.
Ingredients for this step
  • 1/2 cup unsalted butter, softened to room temperature
  • 1/2 cup olive oil
  • 1 ¾ cups granulated allulose
  • 4 large eggs
  • 2 teaspoons vanilla extract
4
Finish cake batter

Using a spatula, pour in about ¼ of the milk to the butter mixture. Mix until combined. Then sprinkle in ¼ of the dry ingredients and mix until combined. Continue alternating between adding each and mixing until just combined. 

Smooth keto cake batter fully mixed and ready to be divided between prepared cake pans.
Tip Over mixing can over beat the egg. 
Ingredients for this step
  • 1 ¼ cup milk of choice (I used macadamia nut milk)
5
Bake the cakes

Evenly divide the cake batter between the two prepared cake pans. Bake at 350 degrees F for 28-30 minutes or until a toothpick inserted into the middle comes out clean. Remove the pans from the oven and set aside to cool for 3-4 minutes. Loosen the sides of the cake with a knife and then flip onto a wire rack to cool completely.

Two baked keto cake layers cooling in round cake pans on a wire rack.
6
Make the custard

In a medium saucepan, whisk together egg yolks and sugar until well combined. Whisk in cornstarch and salt. In a slow, steady stream, whisk in milk and then the cream. Add butter. Cook mixture over medium-low heat, stirring constantly with a wooden spoon, just until it starts to thicken. Immediately whisk mixture until smooth, then continue to cook and stir custard until it has come to a very low boil for 2 minutes, about 6 to 8 minutes total. Stir in vanilla. Cover with plastic wrap, pressing the plastic directly onto the surface. Chill for at least 3 hours and up to 24 hours.

Homemade vanilla custard filling in a glass bowl, cooled and ready for assembling the Boston cream pie.
Tip If needed, strain custard through a fine mesh sieve into a small bowl, pushing it through with a small spatula.
Ingredients for this step
  • 6 large egg yolks
  • 1 cup granulated allulose
  • 1/4 cup cornstarch
  • pinch of salt
  • 2 cups milk of choice
  • 1/2 cup heavy cream
  • 2 tablespoons unsalted butter, softened
  • 2 teaspoon vanilla extract
7
Make chocolate ganache

In a small bowl, combine powdered allulose and cocoa powder. Stir in hot water, butter and vanilla. Mix until combined. If frosting is too thick, add another ½ tablespoon of hot water until desired consistency is reached.

Chocolate ganache being whisked in a saucepan until smooth and glossy.
Ingredients for this step
  • 1 ⅓ cup powdered allulose
  • 3 tablespoons unsweetened cocoa powder
  • 3 tablespoons hot water
  • 1 teaspoon unsalted butter, softened
  • 1 teaspoon vanilla extract
8
Assemble

To assemble, pile on the custard filling to one cake layer and spread around evenly, then top with second layer. Add the chocolate frosting on top of the cake and either spread it to the edges or you can let it spill over a bit.

Chocolate ganache being poured over a layered keto Boston cream pie filled with vanilla custard.
Nutrition Per Serving 1 slice
345 Calories
29.2g Fat
10.4g Protein
5.4g Net Carbs
16.9g Total Carbs
12 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 Boston Cream Pie

Frequently Asked Questions

Can I make this ahead of time?

Yes! In fact, I think it tastes even better after a few hours in the refrigerator. The custard has time to fully set and the flavors meld together. You can make the entire cake up to 24 hours in advance and keep it covered in the refrigerator until ready to serve.

Why do I need to sift the dry ingredients?

Sifting helps break up clumps from the oat fiber, egg white protein powder, and almond flour, resulting in a smoother cake batter and more even texture. It's a small step that makes a noticeable difference in the finished cake.

Can I use coconut flour instead of the flour blend?

No. Coconut flour absorbs liquid very differently than almond flour and oat fiber, so it can't be substituted one-for-one in this recipe. For the best texture, stick with the flour blend as written.

Why is my custard runny?

A runny custard is usually caused by not cooking it long enough or not chilling it long enough. Make sure it reaches a low boil and cooks for 2 minutes, then chill it for at least 3 hours before assembling the cake.

Browse by Ingredient
Similar Recipes

Others looking for “Keto Boston Cream Pie” also liked:

Single slice of keto Boston cream pie on a dessert plate, showcasing tender cake layers, vanilla custard filling, and chocolate ganache glaze.

Storage information & make ahead instructions

Storage

Because of the custard filling, this cake should be stored covered in the refrigerator. It will stay fresh for up to 4 days. For the best texture, keep the cake in an airtight container or loosely covered with plastic wrap to prevent it from drying out or absorbing odors from the refrigerator.

Make ahead instructions

This is a great dessert to make ahead because the custard needs time to chill and set. You can prepare the custard up to 24 hours in advance and keep it covered in the refrigerator. The cake layers can also be baked a day ahead, cooled completely, and stored tightly wrapped at room temperature. Assemble the cake the day you plan to serve it or up to 24 hours in advance and refrigerate until ready to enjoy.

Freezer instructions

For best results, freeze the cake layers and custard separately rather than freezing the fully assembled cake. Wrap the cooled cake layers tightly in plastic wrap followed by foil and freeze for up to 3 months. Thaw overnight in the refrigerator before assembling. I do not recommend freezing the assembled cake since custard fillings can separate and become watery or grainy after thawing. If you do choose to freeze leftovers, wrap individual slices tightly and freeze for up to 1 month. Thaw overnight in the refrigerator and expect a slight change in the texture of the custard.
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 (101 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.7 Stars (48 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
five golden brown chocolate chip cookies on the table with dark chips spread around
16 Mins
Best Keto Chocolate Chip Cookies
4.7 Stars (45 Reviews)

Almond flour and coconut flour together create a keto chocolate chip cookie that's close to Toll House. 1.2g net carbs per cookie. Crispy edges, soft...

See the Recipe
pretty fluted edges on a pie crust
65 Mins
Keto Pie Crust
4.8 Stars (32 Reviews)

I've been refining this recipe since I started keto in 2012. Almond flour, coconut flour, cold butter, and one secret ingredient create a flaky,...

See the Recipe
A keto pretzel chocolate chip cookie broken open to show a soft center filled with melted chocolate chips and crunchy pretzel pieces.
20 Mins
Keto Pretzel Chocolate Chip Cookies
4.5 Stars (18 Reviews)

These thick, chewy keto pretzel chocolate chip cookies land at about 2g net carbs each. I skip chill time so the pretzel pieces stay crunchy, and six...

See the Recipe
chewy keto chocolate chip cookie with melted chips
3 Mins
Keto Chocolate Chip Cookie for One
4.6 Stars (46 Reviews)

A soft, chewy keto chocolate chip cookie I make in under 10 minutes with no eggs. Bake it in the oven, air fryer, or microwave. Just 2.5g net carbs.

See the Recipe

Leave a Review