Imagine biting into a silky, deeply chocolatey cheesecake bar layered with warm cinnamon, a whisper of cayenne heat, and the earthy crunch of toasted pepitas on top. These Mexican Chocolate Cheesecake Bars bring the soul of Mexican hot chocolate — that intoxicating combination of cocoa, cinnamon, and chili — into a luscious, cream cheese-based dessert that holds beautifully in the fridge for days. The buttery almond flour crust shatters gently beneath the dense, velvety filling, while the pepita crumble adds a nutty contrast that makes every bite interesting. This is not a compromise dessert — it is the kind of treat that makes everyone at the table forget you are eating keto.

Each serving delivers 46 grams of fat and only 5 grams of net carbs, making these bars a textbook ketogenic dessert. The cream cheese filling provides the bulk of the fat, while the almond flour crust and pepitas contribute healthy fats along with a moderate 12 grams of protein per serving. With fat accounting for roughly 85 percent of the calories, these bars keep you firmly in ketosis while satisfying even the most stubborn sweet tooth.

Best of all, this recipe is designed for batch prep. You bake one pan, slice it into portions, and store them in the refrigerator for three to five days of ready-to-eat dessert. The bars actually taste better after a night in the fridge, as the flavors meld and the filling sets into that perfect cheesecake density. Make them on Sunday evening and you have a keto treat waiting for you all week long.

Ingredients (serves 4)

For the cinnamon almond crust:

  • 1/2 cup (48g) almond flour
  • 2 tablespoons (28g) unsalted butter, melted
  • 1 tablespoon granulated erythritol
  • 1/2 teaspoon ground cinnamon
  • Pinch of fine sea salt

For the Mexican chocolate filling:

  • 12 ounces (340g) full-fat cream cheese, softened to room temperature
  • 1/4 cup (40g) granulated erythritol or monk fruit sweetener blend
  • 2 tablespoons (12g) unsweetened cocoa powder
  • 1 large egg, at room temperature
  • 1 teaspoon pure vanilla extract
  • 1 teaspoon ground cinnamon
  • 1/4 teaspoon cayenne pepper
  • 1/4 teaspoon freshly grated lime zest
  • Pinch of fine sea salt

For the toasted pepita crumble:

  • 2 tablespoons (16g) raw pepitas (pumpkin seeds)
  • 1 tablespoon (14g) unsalted butter
  • 1 tablespoon granulated erythritol
  • 1/4 teaspoon ground cinnamon
  • Tiny pinch of cayenne pepper

Instructions

  1. Preheat and prepare the pan. Preheat your oven to 325°F (165°C). Line a small 8x4-inch loaf pan or a 6-inch square baking pan with parchment paper, leaving overhang on two sides for easy removal. Lightly grease any exposed edges with butter.

  2. Make the cinnamon almond crust. In a small bowl, stir together the almond flour, melted butter, erythritol, cinnamon, and salt until the mixture resembles wet sand. Press the mixture firmly and evenly into the bottom of the prepared pan using the back of a spoon or the flat bottom of a measuring cup. Bake for 8 to 10 minutes, until the edges just start to turn golden. Remove from the oven and let it cool for 5 minutes while you prepare the filling. Keep the oven on.

  3. Beat the cream cheese filling. In a medium bowl, beat the softened cream cheese with a hand mixer or a sturdy whisk until completely smooth and free of lumps, about 2 minutes. Add the erythritol and cocoa powder and beat until incorporated. Add the egg, vanilla extract, cinnamon, cayenne, lime zest, and salt. Mix on low speed until just combined — do not over-beat, as excess air will cause cracks on the surface.

  4. Pour and bake. Scrape the filling over the par-baked crust and spread it evenly with an offset spatula or the back of a spoon. Tap the pan gently on the counter two or three times to release any trapped air bubbles. Bake for 22 to 25 minutes, until the edges are set but the center still has a slight jiggle when you shake the pan. The center will firm up as it cools. Do not overbake — a slight wobble is exactly what you want for a creamy texture.

  5. Prepare the pepita crumble while the bars bake. Melt the butter in a small skillet over medium-low heat. Add the pepitas and toast, stirring frequently, for 2 to 3 minutes until they begin to pop and turn golden. Remove the skillet from heat and stir in the erythritol, cinnamon, and cayenne. Spread the mixture onto a small piece of parchment and let it cool completely — it will crisp up as it cools.

  6. Cool and top. Let the baked cheesecake cool in the pan at room temperature for 30 minutes, then transfer to the refrigerator for at least 2 hours or ideally overnight. Once fully chilled and set, use the parchment overhang to lift the bars out of the pan. Scatter the toasted pepita crumble evenly over the top, pressing gently so it adheres. Slice into 4 equal bars using a sharp knife wiped clean between cuts.

  7. Store for the week. Wrap each bar individually in plastic wrap or place in separate airtight containers. Refrigerate for up to 5 days. The bars taste best cold, straight from the fridge.

Nutrition per Serving

Nutrient Amount
Calories ~485 kcal
Fat ~46g
Protein ~12g
Total Carbs ~8g
Fiber ~3g
Net Carbs ~5g

Nutrition is approximate and calculated based on the stated ingredients using erythritol, which contributes zero net carbs and zero calories.

Tips & Variations

Room temperature ingredients are non-negotiable. Cold cream cheese will leave lumps no matter how long you beat it, and a cold egg can cause the batter to seize. Set your cream cheese and egg out on the counter at least one hour before you begin. If you forget, microwave the cream cheese in 15-second bursts and place the egg in a bowl of warm water for 10 minutes.

Adjust the heat to your preference. The quarter teaspoon of cayenne gives a gentle, warm tingle at the back of your throat — enough to evoke traditional Mexican chocolate without any real burn. If you love heat, increase to half a teaspoon. If you are sensitive to spice, reduce to a tiny pinch or omit it entirely. The cinnamon and cocoa carry the Mexican flavor on their own.

Watch your sweetener choice carefully. Erythritol and monk fruit blend work best here because they measure like sugar and dissolve cleanly. Avoid maltitol-based sweeteners, which spike blood sugar and can cause digestive distress. If using pure stevia drops, start with 8 to 10 drops and taste the batter before adding more — stevia is dramatically more concentrated than granulated sweeteners and can taste bitter if you overshoot.

Add a dark chocolate drizzle for special occasions. Melt 1 tablespoon of 85% or higher dark chocolate with half a teaspoon of coconut oil and drizzle it over the chilled bars before slicing. This adds roughly 1 gram of net carbs per serving but makes the presentation stunning. Check your chocolate label — net carbs vary widely between brands.

Swap the crust for a coconut version. If you prefer a tropical twist or want a nut-free option, replace the almond flour with an equal weight of unsweetened shredded coconut pulsed into fine crumbs. The coconut crust pairs beautifully with the chocolate filling and adds a toasty aroma. Keep in mind this substitution changes the fiber count slightly but stays well within keto range.

Frequently Asked Questions

How do these bars stay keto-friendly when they taste so rich and sweet?
The sweetness comes entirely from erythritol, a sugar alcohol that the body does not metabolize for energy. It passes through your system without raising blood sugar or insulin levels, which means it contributes zero net carbs and zero effective calories. The richness comes from cream cheese and butter — both pure fat sources that are ideal for ketogenic eating. With 46 grams of fat and only 5 grams of net carbs per serving, these bars keep your macros firmly in the ketogenic zone. Always check your specific sweetener brand to confirm it contains no added sugars or maltodextrin, which can hide carbs.
Can I use a different cheese instead of cream cheese?
Mascarpone is the best direct substitute — it has a similar fat content and creamy texture, though the filling will be slightly softer and more delicate. You can also blend ricotta until very smooth for a lighter, slightly grainier texture reminiscent of Italian-style cheesecake. If using ricotta, strain it through cheesecloth for several hours first to remove excess moisture. Avoid harder cheeses like cheddar or feta here, as they do not create the smooth, dense filling that defines a cheesecake bar. Whatever cheese you choose, make sure it is full-fat — reduced-fat versions add carbs and reduce the fat ratio you need for keto.
How should I store these bars, and can I freeze them?
Refrigerated in airtight containers or individually wrapped in plastic wrap, these bars keep beautifully for up to 5 days. They actually improve after the first night as the flavors deepen and the filling sets completely. For longer storage, freeze the bars without the pepita crumble topping for up to 6 weeks. Wrap each bar tightly in plastic wrap, then place them in a freezer-safe bag. Thaw overnight in the refrigerator and add the pepita crumble just before serving. The crumble should be stored separately at room temperature in a sealed container to maintain its crunch.
How can I make these bars dairy-free or vegan keto?
For a dairy-free version, use a high-quality vegan cream cheese — brands like Kite Hill or Miyoko's work well — and replace the butter with coconut oil in both the crust and the pepita crumble. Swap the egg for 2 tablespoons of ground flaxseed mixed with 3 tablespoons of water, rested for 5 minutes until thickened. The texture will be slightly softer and the flavor more coconut-forward, but the bars still set well when thoroughly chilled. Check your vegan cream cheese for added starches or sugars that could increase net carbs beyond keto range, and adjust your sweetener up slightly to compensate for any flavor differences.
Why did my cheesecake bars crack on top during baking?
Cracking happens for three main reasons: overbaking, over-mixing, or temperature shock. First, pull the bars from the oven when the center still jiggles — it will continue to set as it cools. Second, mix the batter on low speed and only until ingredients are just combined, since whipping in too much air creates pressure that cracks the surface as it bakes. Third, avoid opening the oven door during baking, and let the bars cool gradually at room temperature before refrigerating. If cracks do appear, do not worry — the pepita crumble topping hides them completely, and the taste is identical.