Today’s recipe for gluten free chocolate pastry comes to you courtesy of my gluten free chocolate tart. I developed that recipe and realised that people have need for chocolate pastry in other places. A gluten free brownie tart, for example. Creating a post specifically for this recipe also allows me to deep dive into everything I learned while developing it. Let’s get straight to it.
Gluten free chocolate pastry
This gluten free pastry uses a simple mix of majority white rice and tapioca flour/starch as the base. Of course, we need cocoa powder! This recipe uses Dutch processed cocoa powder for a deep dark colour and a rich chocolate flavour. For flexibility, I am using xanthan gum in this recipe. Pastry and pie making are two times when I highly recommend using xanthan gum. It enables you to roll, laminate and slice with ease. It also makes latticework more of a dream and less of a nightmare.
This recipe has been tested with a sliding scale of light brown sugar measurements. We’ll go into them below, but I really wanted to make sure you could adjust the sweetness to your preferences. As always, butter is rubbed into the pastry to form a meal-like texture. I highly recommend salted butter (I always do) and additional fine salt here. It really brings out the chocolate flavour and takes the pastry to another level.
This is an easy recipe that is gluten free, nut free and majority wholegrain flour. It creates a beautifully chocolate flavoured pastry that is equal parts flaky yet easy to work with.

Ingredient notes
While I was testing my gluten free apple pie recipe, I realised that pastry filled with a wet filling easily benefits from certain flour proportions. Namely, less starch and mostly wholegrain. Starchy flours tend to become mushy and gluey when they have a wet filling baked on top, whereas wholegrain flours don’t.
I also noticed that a higher percentage of tapioca flour made the pastry (and thus the pie) taste more ‘gluten free’. While we can hide behind the cocoa in this recipe flavour wise, I still think pastry is best when made majority wholegrain.
Of course, starch does provide some elasticity to gluten free pastry. This is why the xanthan gum becomes so important here. It provides elasticity, stretch and strength to a dough that would otherwise really be lacking in it.
I always recommend salted butter. Personally, it will always be my number 1. I rarely have an instance where it contributes too much salt (in fact, I normally add a pinch more salt) so the line about controlling the salt doesn’t ring true for me. I find butter disperses the salt nice and evenly and then table salt finishes the job.
A note on the sugar content
A lot of pastry recipes are quite light on sugar, in my experience. In the tests of this recipe that I baked with a lower volume of sugar, I found the sweetness lacking in the pastry. Sure, you can make up for it with the filling (and it’s helpful to be able to control both variables) but I wanted to test options here.
So, I have tested batches of this pastry with 75g sugar, 100g sugar, 125g sugar and 150g sugar. Personally, I found the 75g and 100g sugar batches to be slightly lacking in sweetness for me. They would definitely work in a tart or pie with a super sweet filling, but with a dark chocolate ganache I wanted a bit more.
The 150g sugar batch wasn’t an excessive level of sweetness for me. It was slightly oilier on the bottom than the lower sugar varieties, which I found interesting given that the fat content didn’t change. Because sugar is a wet ingredient, I found that the higher sugar batches needed 20ml (1 tablespoon) less ice water.
Another thing I noticed is that the high sugar batch started to fray a little around the edges when baked as cookies. It had more spread (as a sugary dough does) and was slightly more prone to ‘melting’ without proper support from pie weights in the initial baking stages.
The higher sugar batch is still a very easy dough to work with; I just wanted to lay out all the information so you know what to expect before you start.
I think 125g was my personal sweet spot, but all of these quantities work nicely depending on your preferences and intended use.

Substitution notes
- I haven’t tried any other flour combinations in this recipe.
- Dutch processed cocoa is the only variety I have tried. Although I imagine regular cocoa would work, I find Dutch processed cocoa superior in almost every aspect and I mostly only work with it.
- Sorry, I haven’t tried any alternative sugars! Or butters. While I am certain a good quality vegan stick butter would work, I haven’t tested one yet. I will update the post when I do.
- Xanthan gum is yet another ingredient I haven’t attempted to substitute yet. I fully intend to trial it but I haven’t gotten around to it just yet.
- All in all, I haven’t tried any variations really! You are welcome to try, but I can’t offer any advice at the moment.
Where can I use this gluten free chocolate pastry?
I have tested this pastry recipe in a 24cm (9.5 inch) fluted tart tin and a 1.2 litre capacity pie dish (24cm inside the flared rim, 21cm at the base) (40 ounce capacity pie dish, 9.5 inch inside the flared top rim, 8 inch at the base). Both the tart and the pie had some pastry leftover which I baked off as crisp cookies (they take about 10-15 minutes to bake depending on the thickness).
In terms of the pie, this makes a pie crust but not a lid. I haven’t tested a full pie (base and lid) with this recipe, but if I ever get around to it I will update the measurements. At this stage, I’d suggest it’s probably 1 1/2 times this recipe.
This pastry would also make a lovely rich galette with a berry filling. I haven’t tried this yet either (currently on a countdown to my next trip!) but will update the post if I do.
More gluten free chocolate recipes
- Gluten free brownie cookies
- Flourless chocolate berry roulade
- Gluten free dairy free chocolate cake
- Gluten free vegan chocolate mug cake
- Gluten free halva and pistachio brownies

Gluten free chocolate pastry
Ingredients
For the chocolate pastry:
- 150 g white rice flour
- 25 g tapioca flour
- 75-150 g light brown sugar see notes
- 30 g Dutch processed cocoa powder
- 5 g xanthan gum
- 2.5 g (1/4 teaspoon) fine salt
- 125 g butter cubed (I use salted but both work well)
- 40-60 ml/g (2-3 tablespoons)* ice water, as needed (see notes)
To finish:
- Extra cocoa powder for rolling the dough out (I use Dutch processed again here)
Instructions
To make the pastry:
- Whisk the dry ingredients together in a medium mixing bowl.
- Add the cubed butter and use your fingers to rub the butter into the flour until it becomes a cocoa coloured meal.
- Add the water tablespoon by tablespoon and use one hand to agitate the dough in the bowl. Gently squeeze it in your hands to see it if comes together into a ball. The more sugar you add, the less water you will likely need. My batch of dough with 150g sugar only needed 40ml (2 tablespoons) ice water, whereas batches with less sugar needed 60ml (3 tablespoons).
- Wait and mix the dough with your hand for a little before adding the next tablespoon of water. Sugar is a wet ingredient so as the sugar dissolves in the dough, it will become more moist. If it still doesn’t soften, add the next tablespoon of water.
- Watch the dough – there should be no dry flour in the bowl and it should come together in a dark brown, smooth and elastic feeling dough. It shouldn’t be too wet that you can’t handle it easily, nor too dry that it crumbles if you squeeze it in your hand.
- When you are happy with the consistency, arrange the dough in a large piece of clingfilm. Cover it and then flatten it into a medium rectangle to allow it to chill efficiently. Place it into the fridge for 1 hour or overnight until you ready to use it.
To laminate the pastry:
- When you are ready to roll the dough, take it out of the fridge to come to temperature. Dough that is too cold will crack as you roll, whereas dough that is too warm will stick to the baking paper and rolling pin.
- Preheat the oven to 180C/356F.
- Sprinkle a large piece of baking paper with extra cocoa powder (I use Dutch processed because of the lovely dark colour).
- Roll the dough out into a rectangle approximately 20cm long (the length doesn’t matter too much). With the short sides of the rectangle facing you, fold the top third of the pastry down onto the middle third of the pastry. Fold the bottom third of the pastry up onto the middle third of the pastry. Turn the dough so that the short sides face you. Repeat this process of rolling and folding 2-3 more times until the pastry is smooth, pliable and doesn’t crack when you bend it.
- If it any time it starts to soften or become sticky, return it to the fridge to firm up.
To blind bake the pastry:
- Preheat the oven to 180C/356F.
- On a cocoa powdered sheet of baking paper, roll the pastry out to 2-3cm larger than the dish you are using to blind bake it in. I have tested a 24cm/9.5 inch fluted tart tin and a 1 X 1.2 litre capacity pie dish (24cm inside the flared rim, 21cm at the base) (40 ounce capacity pie dish, 9.5 inch inside the flared top rim, 8 inch at the base) pie plate and had a bit of leftover pastry in both cases.
- Place the inverted tin or plate in the centre of the pastry. Slide one hand underneath the baking paper in the centre of the dish, and place the other on top of the dish. Gently flip the dish and allow the pastry to fall into the dish. Gently peel off the baking paper.
- Be generous in allowing the pastry to fall into the tin – don’t pull or stretch it. Use scissors to trim off any areas of excess overhang.
- Make sure the pastry is flush with the base before you begin to gently adhere it to the edges. If you are using a fluted tart tin, gently press the pastry up against the edges of the dish and then press against the fluted edges to break off any excess pastry. I like to use a down and outwards motion so the top of the pastry is vertical with the other pastry and neatly trimmed.
- If you are using a pie plate, leave enough pastry to fold the top of the raw pastry edge over itself on the pie plate side. This creates neater, thicker pie top edges that don’t burn as easily and taste better. Do this the whole way around the pie.
- Dock the base of the pastry thoroughly with a fork.
- Take two long pieces of baking paper and scrunch them up in your hands. Unfold them then place the first one carefully into the dish. The two longer sides of the baking paper should be hanging over two sides of the pastry edges, protecting them from over-baking.
- Place the second piece of baking paper inside the first with the overhang protecting the other two sides of pastry edge.
- Pour your pie weights into the baking paper. Work gently but thoroughly to ensure the baking paper and pie weights are right up against the pastry without crushing it. This will help hold the pastry in place during baking. My pie weights are an old bag of rice and lentils. You will need plenty of pie weights to hold the pastry in place – ideally they will fill the pie plate.
- If your pastry is soft and warm after shaping, place it into the fridge or freezer for 10-15 minutes to allow the butter to firm up. You may need more time if you live in a humid or hot climate.
- When it is ready, place the dish in the oven for 30 minutes to bake.
- After the 30 minutes, carefully remove the dish from the oven. Gently and carefully lift the pie weights out (they will be HOT) and place them in the baking paper on a heatproof surface (I use an oven tray or large cast iron).
- Very gently peel away the second piece of baking paper. It may have stuck to the pastry and will be enmeshed in grooves if you have crimped the pie edge. Peel very slowly and try it from a different angle if you notice that you are pulling up pastry.
- Once you have removed the pie weights and paper, return the pie base to the oven for 5-10 minutes. The chocolate pastry is now blind baked and you can fill it with whatever your heart desires!
Notes
- See ingredient notes in the body of the post.
- I have tested this pastry with 75g, 100g, 125g and 150g sugar. Add the sugar according to your preferences for sweetness. Read the notes in the body of the post about the varying sugar content and the impacts before you start.
- How much water you need depends on how thirsty your flours are, how much sugar you have added (more sugar = less water needed) and how much you have rubbed the butter into the dough, among other things. Add it gradually – an ideal pastry has just enough water to bring it together but no more than that.

No Comments