I made these on a random Tuesday when I had a lemon sitting on the counter and no regular butter in the fridge, which is how a lot of my best recipes happen. Dairy free lemon bars are my go-to when I want something bright and special without a trip to the store. The crust uses gluten-free flour and vegan butter, the filling uses coconut milk and cornstarch, and nothing here is fancy. Honestly, they taste like a treat that cost way more than it did.

What’s in Dairy Free Lemon Bars?
The crust is simple: gluten-free flour, a little erythritol for sweetness, and melted vegan butter that holds everything together and gives it a rich, shortbread-style bite. The filling is where the magic happens. Fresh lemon juice brings the tang, erythritol keeps it sweet without sugar, and cornstarch thickens the mixture into a smooth, sliceable custard. Full-fat coconut milk adds body and creaminess so the filling feels rich without any dairy, and a tiny pinch of turmeric gives it that sunny yellow color. Powdered sugar is optional, but a light dusting makes the bars look like you tried harder than you did.
Budget-Saving Tips
- Buy lemons in bulk when they are on sale, then freeze the juice in ice cube trays so you always have a batch ready.
- Use a store-brand gluten-free flour blend instead of a specialty brand. It works just as well in this crust.
- Check the baking aisle for erythritol in larger bags. It costs less per cup than the small jars.
- Make your own coconut milk from a can of full-fat coconut cream, or buy the cheapest full-fat can you can find.
- Skip the powdered sugar topping on busy weeks. The bars taste great plain and you save an ingredient.
Variations to Try
- Lime bars: Swap the lemon juice for fresh lime juice and add a little lime zest to the crust for a tangy twist.
- Extra zingy: Stir a teaspoon of lemon zest into the filling for a stronger citrus aroma.
- Berry lemon bars: Scatter a handful of fresh raspberries over the crust before pouring the filling. They add color and a little tartness.
- Coconut crust: Mix a few tablespoons of unsweetened shredded coconut into the crust for extra chew and flavor.
Serving & Topping Ideas
These bars are happiest with a cup of hot tea or a cold glass of iced tea on a warm afternoon. Try them with a spoonful of coconut yogurt, a few fresh raspberries or blueberries, a sprinkle of lemon zest, or a light dusting of powdered sugar. They also pair nicely with a scoop of dairy free vanilla ice cream when you want something a bit more indulgent.

How to Store Lemon Bars
Store the bars covered in the fridge for up to 5 days. The filling firms up more as it chills, so I like them best cold, straight from the fridge on a hot day. Cut them with a sharp knife dipped in hot water and wiped dry between slices for clean edges.
To freeze, cut the bars, arrange them in a single layer on a tray until firm, then move them to an airtight container with parchment between layers. They keep for up to 2 months. Thaw them in the fridge overnight. I do not recommend reheating them, since the filling can turn grainy when warmed.
How to Make Dairy Free Lemon Bars – Step by Step
1. Preheat your oven to 350°F (175°C) and line an 8×8 inch baking pan with parchment paper, leaving a little overhang on the sides so the bars lift out easily.
2. In a medium bowl, combine the gluten-free flour and 1/4 cup erythritol. Pour in the melted vegan butter and stir with a fork until the mixture looks like wet sand and holds together when pinched.
3. Press the crust evenly into the bottom of the pan. Bake for 15 to 18 minutes, until the edges are light golden. Set it aside while you make the filling and leave the oven on.
4. In a bowl, whisk together the 1 1/2 cup erythritol, cornstarch, and turmeric until no lumps remain. The turmeric is optional, but a pinch makes the filling a bright, cheerful yellow.
5. Add the fresh lemon juice and coconut milk and whisk until smooth. The mixture will look thin at first, which is normal. Keep whisking so the cornstarch fully dissolves.
6. Pour the filling over the warm crust. Bake for 20 to 25 minutes, until the center is set and only jiggles slightly when you nudge the pan. Watch for a glossy surface and no liquid sloshing at the edges.
7. Let the bars cool at room temperature for about 1 hour, then refrigerate for at least 2 hours until fully firm. Cutting them cold gives the cleanest slices.
8. Dust with powdered sugar if you like, cut into squares, and serve. Lift them out using the parchment overhang and wipe the knife between cuts for neat edges.
Dairy Free Lemon Bars

Ingredients
- 1 cup gluten-free flour
- 1/4 cup erythritol
- 1/2 cup unsalted vegan butter, melted
- 1 1/2 cup erythritol
- 6 tbsp cornstarch
- Pinch turmeric (optional, for color)
- 3/4 cup fresh lemon juice
- 1 1/4 cup full-fat coconut milk
- Powdered sugar (optional, for dusting)
Instructions
- Preheat the oven to 350°F (175°C) and line an 8×8 inch baking pan with parchment paper.
- In a medium bowl, combine the gluten-free flour and 1/4 cup erythritol. Stir in the melted vegan butter until the mixture holds together when pinched.
- Press the crust evenly into the bottom of the pan and bake for 15 to 18 minutes, until the edges are light golden.
- In a bowl, whisk the 1 1/2 cup erythritol, cornstarch, and turmeric until smooth.
- Whisk in the fresh lemon juice and full-fat coconut milk until fully combined and lump-free.
- Pour the filling over the warm crust and bake for 20 to 25 minutes, until the center is set and only slightly jiggles.
- Cool at room temperature for 1 hour, then refrigerate for at least 2 hours until firm.
- Dust with powdered sugar if desired, cut into 16 squares, and serve.
Notes
- Use a fresh lemon for the best flavor. Bottled juice can taste flat.
- Full-fat coconut milk from a can gives the creamiest filling. Shake the can well before measuring.
- Chilling the bars fully before cutting gives clean, neat squares.
- Store leftovers covered in the fridge for up to 5 days.

