Vegan lemon bars — a bright, tangy dessert that tastes impossibly like the classic version. Made without eggs and with just nine ingredients, these bars are easy to prepare and great for sharing.
I made these vegan lemon bars when I wanted something sweet but different from my usual snacks. The result was a tender shortbread crust topped with a silky, tart lemon filling. They keep well, travel easily, and are an excellent option for gatherings where some guests prefer plant-based treats.
How to make vegan lemon bars
- Preheat the oven to 350ºF (180ºC). Line a 9×13-inch (about 23×33 cm) baking dish with parchment paper and set aside.
- Prepare the shortbread crust: combine the crust ingredients in a large bowl and mix until evenly combined.
- Press the dough firmly and evenly into the bottom of the prepared baking dish to form the crust.
- Bake the crust for 20–25 minutes, until the edges are lightly golden. Remove from the oven and set aside.
- Make the lemon filling: whisk all filling ingredients together in a saucepan until smooth.
- Heat the filling mixture, bringing it to a gentle boil, then reduce the heat and simmer while whisking constantly until the mixture thickens and becomes glossy.
- Pour and spread the hot filling evenly over the baked crust, smoothing the top with a spatula.
- Bake again for 15–20 minutes so the filling sets.
- Cool the pan completely at room temperature, then refrigerate for at least 2 hours (or ideally overnight) until thoroughly chilled and firm.
- Lift the chilled block out of the pan using the parchment paper, optionally dust the top with powdered sugar, and cut into squares. Serve immediately or store chilled.


Ingredients and tips
- All-purpose flour: The recipe uses all-purpose flour for the shortbread crust. You can try a gluten-free flour blend if you need the bars to be gluten-free, but you may need to adjust the amount to get the right dough texture.
- Vegan butter: Use a store-bought vegan butter or homemade vegan butter. Melt it before mixing into the crust.
- Granulated sugar: Regular granulated sugar works well; you can substitute brown sugar, coconut sugar, or cane sugar if you prefer. Ensure the sugar is vegan if that matters to you.
- Full-fat coconut milk: The filling calls for full-fat coconut milk (or coconut cream). The higher fat content helps the filling set and gives it a smooth mouthfeel; lower-fat milks are unlikely to produce the same result.
- Lemon juice and optional lemon zest: Freshly squeezed lemon juice gives the best flavor. Zest is optional but adds an extra bright lemon aroma.
- Cornstarch: Cornstarch is used to thicken the filling. Other starches may work, but results can vary.
- Turmeric or yellow coloring (optional): A tiny pinch of turmeric or a drop of yellow food coloring can enhance the filling’s color without affecting flavor.
Do lemon bars need to be refrigerated?
Yes. Because the filling contains coconut milk and is thickened rather than baked into a dry texture, refrigerate the bars to preserve their consistency and flavor. Stored in an airtight container, they will keep in the fridge for up to one week.
Can you freeze lemon bars?
Yes. For longer storage, place the cut bars in a freezer-safe bag or container and freeze for 3–4 months. Thaw in the refrigerator or at room temperature before serving.
Looking for more vegan snacks?
- Vegan cookie dough
- Vegan donuts
- Apple nachos
- Vegan white chocolate
- Vegan chocolate

Did you make these vegan lemon bars?
If you try this recipe, please leave a comment and let me know how it turned out. I love seeing variations and tips from readers.
Vegan Lemon Bars
A simple, crowd-pleasing dessert: a buttery shortbread crust topped with a silky, tangy lemon filling. Makes about 24 bars.
Prep: 15 mins | Cook: 35 mins | Total: 50 mins | Servings: 24 bars
Ingredients
For the shortbread crust:
- 2 cups all-purpose flour
- 1 cup vegan butter, melted
- ½ cup granulated sugar
For the lemon filling:
- 2 cups granulated sugar
- 1¼ cups full-fat coconut milk (use mostly the white part)
- 1 cup lemon juice
- ½ cup cornstarch
- Zest of 1 lemon (optional)
- ⅛ teaspoon turmeric powder or yellow food coloring (optional)
Instructions
- Preheat the oven to 350ºF (180ºC) and line a 9×13-inch pan with parchment paper.
- Mix the crust ingredients until combined, press into the pan, and bake 20–25 minutes until edges are lightly browned. Let cool slightly.
- Whisk the filling ingredients in a saucepan until smooth. Heat to a boil, then simmer while whisking constantly until thickened.
- Pour the filling over the crust, smooth the top, and bake 15–20 minutes more to set the filling.
- Cool at room temperature, then refrigerate for at least 2 hours or overnight. Dust with powdered sugar if desired and cut into squares.
- Store leftover bars covered in the refrigerator for up to 1 week or freeze for 3–4 months.
Notes
- If you need a gluten-free version, try a gluten-free flour blend but be prepared to adjust quantities for texture.
- Use a vegan-certified sugar if that is important for your diet.
- Full-fat coconut milk or coconut cream is recommended for the best texture in the filling.
- Cornstarch is used for thickening; other starches may work but could change texture.
Nutrition (per bar)
Calories: 223 kcal | Carbohydrates: 32.2 g | Protein: 1.5 g | Fat: 10.4 g | Saturated fat: 5.1 g | Sodium: 83 mg | Fiber: 0.6 g | Sugar: 21.5 g