Gluten free cake bars are a soft, tender dessert bar made with a blend of gluten free flours, sweetened with sugar, and baked in a square pan for easy slicing. They taste like a cross between a cake and a blondie, with a slightly crisp top and a moist crumb. These bars work well for lunchboxes, potlucks, or an afternoon snack.
Ingredients
- 1 ½ cups (210 g) gluten free all-purpose flour (with xanthan gum, or add ¾ tsp xanthan gum)
- 1 tsp baking powder
- ½ tsp baking soda
- ½ tsp salt
- ½ cup (113 g) unsalted butter, melted and cooled
- ¾ cup (150 g) granulated sugar
- ¼ cup (60 ml) vegetable oil
- 2 large eggs, at room temperature
- 1 tsp vanilla extract
- ½ cup (120 ml) milk (dairy or non-dairy)
- Optional: ½ cup (85 g) chocolate chips or chopped nuts
Instructions
- Preheat the oven to 350°F (175°C). Line an 8-inch (20 cm) square baking pan with parchment paper, leaving overhang on two sides.
- In a medium bowl, whisk together the gluten free flour, baking powder, baking soda, and salt.
- In a large bowl, whisk the melted butter, sugar, oil, eggs, and vanilla until smooth.
- Add the dry ingredients to the wet mixture, stirring until just combined. The batter will be thick.
- Stir in the milk, mixing until the batter is smooth and slightly thinner. Fold in chocolate chips or nuts if using.
- Pour the batter into the prepared pan and spread evenly.
- Bake for 28–32 minutes, until the top is golden and a toothpick inserted into the center comes out with a few moist crumbs (not wet batter).
- Let cool in the pan on a wire rack for 15 minutes, then lift out using the parchment overhang and cool completely before slicing into 16 bars.
How to Tell When They’re Done
The bars are done when the edges pull away slightly from the pan and the center springs back when pressed gently. A toothpick inserted in the center should come out with a few moist crumbs, not raw batter. Overbaking will make them dry; underbaking leaves a gummy center. If you use a glass pan, reduce the oven temperature to 325°F (160°C) and bake for 30–35 minutes.
How Long Do Gluten Free Cake Bars Keep?
Store the bars in an airtight container at room temperature for up to 3 days. For longer storage, refrigerate for up to 5 days or freeze for up to 3 months. To freeze, wrap each bar tightly in plastic wrap and place in a freezer bag; thaw at room temperature for about 1 hour. Do not leave them out for more than 2 hours total at room temperature.
Variations and Swaps
Lemon Gluten Free Cake Bars
Add 1 tbsp lemon zest and 2 tbsp lemon juice to the batter, replacing 2 tbsp of the milk. After cooling, drizzle with a glaze made from 1 cup (120 g) powdered sugar and 2–3 tbsp lemon juice.
Almond Flour Version
Replace the gluten free all-purpose flour with 1 ¾ cups (196 g) blanched almond flour and reduce the milk to ¼ cup (60 ml). Omit the baking soda and use ½ tsp baking powder. Bake at 325°F (160°C) for 25–30 minutes; the bars will be denser and more tender.
Gluten Free Cake Bars for Large Batches and Kids
Can I double the recipe?
Yes, double all ingredients and bake in a 9×13-inch (23×33 cm) pan at 350°F (175°C) for 35–40 minutes, until a toothpick comes out clean. Cool completely before cutting into 24 bars.
Can I make them dairy-free?
Use a dairy-free butter substitute (like vegan butter sticks) and replace the milk with oat milk or almond milk. The texture will be slightly softer; bake for the same time.
Can I reduce the sugar?
Reduce the sugar to ½ cup (100 g) and add ¼ cup (60 ml) unsweetened applesauce to keep moisture. The bars will be less sweet and slightly more cake-like.
Why did my bars sink in the middle?
This can happen if the batter was overmixed or the baking powder was expired. Make sure your leavening agents are fresh and mix just until combined. Also, opening the oven door during baking can cause sinking.
Can I use a gluten free flour blend without xanthan gum?
Yes, add ¾ tsp xanthan gum to the dry ingredients. If your blend already contains xanthan gum, omit the extra. The gum helps hold the bars together and prevents crumbling.
Related
- Gluten Free Shortbread Bars Recipe
- Sugar Free Dessert Bars: Easy No-Added-Sugar Recipes
- Banana Oat Granola Bars Recipe
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).