These bars taste like your favorite candy bar, but they’re made with almond flour, maple syrup and real peanut butter. The base is buttery and tender, the middle is rich and chewy, and the chocolate top snaps cleanly.

We think they’re the best kind of treat: simple to mix, no eggs or dairy needed, and easy to cut into neat little squares for sharing.
Why you’ll love this recipe
This is my go-to when I want something sweet without the sugar crash. The layers are easy to build in one pan, and the peanut butter filling tastes indulgent even though it’s made with wholesome ingredients.
Ingredients
Full quantities are in the recipe card below.
- Almond flour: provides the sturdy, golden shortbread base. Substitute with fine oat flour for a nut-free version, though the texture will be slightly softer.
- Coconut oil: binds the base and sets the filling and chocolate layers. Substitute with melted vegan butter if you prefer a buttery flavor.
- Pure maple syrup: sweetens every layer and helps the base hold together. Substitute with honey if you’re not vegan.
- Vanilla extract: rounds out the nutty and chocolate flavors. Substitute with the seeds of half a vanilla bean if you have it.
- Salt: sharpens the sweetness and keeps the bars from tasting flat. Substitute with a pinch of flaky sea salt on top.
- Natural peanut butter: gives the caramel-like middle its richness. Substitute with almond butter for a milder flavor.
- Chocolate chips: create the crisp top layer. Substitute with dairy free dark chocolate bars, chopped finely.
How to make peanut butter Twix bars
Step 1: Make the shortbread base
Stir together the almond flour and salt in a bowl. Add the cooled coconut oil, maple syrup and vanilla, then mix until the dough clumps together.
Press it firmly into a parchment-lined 8-inch square pan. Packing it well keeps the base from crumbling when you cut the bars.
Step 2: Chill the base
Place the pan in the fridge for about 15 minutes. This firms up the coconut oil so the peanut butter layer won’t soak into the base.
Step 3: Prepare the peanut butter layer
Whisk the peanut butter, maple syrup, coconut oil, vanilla and sea salt until smooth. A drippy natural peanut butter blends most easily.
Spread the mixture evenly over the chilled base. Smooth the top with a spatula for a clean, even layer.
Step 4: Freeze the peanut butter layer
Freeze the pan for 20 to 30 minutes until the filling is firm to the touch. A firm layer keeps the chocolate from mixing in.
Step 5: Add the chocolate top
Melt the chocolate chips with the tablespoon of coconut oil in 20-second bursts, stirring between each. Pour it over the frozen layer and spread it gently.
Step 6: Set and slice
Chill the bars for about 30 minutes until the chocolate is set. Lift them out with the parchment and cut into squares with a sharp knife.
Tips
- Use drippy peanut butter: thick, stiff peanut butter makes the filling hard to spread and gives a dry texture.
- Cool the coconut oil: hot oil can melt the shortbread’s structure and make it greasy.
- Press the base firmly: loose crumbs will fall apart when sliced.
- Chill before layering: a cold base keeps the peanut butter layer neat and prevents bleeding.
- Melt chocolate gently: short bursts prevent seizing and keep the top glossy.
- Cut with a warm knife: wipe the blade between cuts for clean edges.
- Let them sit briefly: five minutes at room temperature softens the filling slightly for easier biting.

Storage & make ahead
Keep the bars in an airtight container in the fridge for up to one week. The coconut oil firms up when cold, so the layers stay sharp and sliceable.
For longer storage, freeze the bars in a single layer for up to three months. Thaw them in the fridge for about an hour before serving.
We often make a batch on Sunday so we have an easy treat for the week ahead.
Variations
Crunchy version
Stir a tablespoon of crushed roasted peanuts into the peanut butter layer for extra texture and a bit of crunch.
Chocolate-free version
Skip the chocolate top and sprinkle the bars with flaky sea salt for a lighter, nutty treat.
Frequently Asked Questions
Are these peanut butter bars truly gluten free?
Yes, when made with almond flour and gluten free ingredients. Check your peanut butter and chocolate labels, since some brands may contain cross-contamination or added gluten.
Can I make these bars without coconut oil?
You can use vegan butter in the base, but the filling needs coconut oil to set firmly. Avoid substituting with liquid oils, which won’t firm up in the freezer.
Do I need to freeze the peanut butter layer?
Freezing for 20 to 30 minutes keeps the chocolate from sinking into the filling. Without it, the layers can blend together and the bars won’t slice cleanly.
Can I use a different sweetener?
Honey works in place of maple syrup if you’re not vegan. Agave also works, but the flavor will be milder and the texture slightly looser.
How do I get clean slices?
Chill the bars fully, then cut with a warm, dry knife. Wipe the blade between each cut for neat squares.
Healthy Peanut Butter Twix Bars (Vegan & Gluten Free)

Ingredients
- 1 ½ cups packed fine blanched almond flour
- 3 tablespoons melted and cooled coconut oil
- 2 tablespoons pure maple syrup
- 1 teaspoon vanilla extract
- ¼ teaspoon salt
- ⅔ cup drippy natural peanut butter (crunchy or creamy works)
- 1/3 cup pure maple syrup
- 1/4 cup coconut oil
- 1 teaspoon vanilla extract
- 1/4 teaspoon sea salt
- 3/4 cup chocolate chips, dairy free if desired
- 1 tablespoon coconut oil
Instructions
- Stir together the almond flour and salt in a bowl.
- Add the cooled coconut oil, maple syrup and vanilla, then mix until the dough clumps together.
- Press the dough firmly into a parchment-lined 8-inch square pan.
- Chill the base in the fridge for about 15 minutes.
- Whisk the peanut butter, maple syrup, coconut oil, vanilla and sea salt until smooth.
- Spread the peanut butter mixture evenly over the chilled base.
- Freeze the pan for 20 to 30 minutes until the filling is firm.
- Melt the chocolate chips with 1 tablespoon coconut oil in 20-second bursts, stirring between each.
- Pour the melted chocolate over the frozen layer and spread gently.
- Chill for about 30 minutes until the chocolate is set, then cut into 16 bars.
Notes
- Use drippy natural peanut butter for easiest spreading.
- Store in the fridge for up to one week or freeze for up to three months.

