This post may contain affiliate links. Please read our disclosure policy.

Bake this buttery, crisp, gluten free shortbread in one of those fancy British shortbread pans with only 5 simple pantry ingredients. Sprinkle the top with some powdered sugar, and impress your guests the easiest way possible!

Closeup image of square of shortbread in metal pan
Want to save this recipe?
Enter your email and we’ll send it to you! Plus, get new recipes every week.

Why this recipe works

Crisp and tender, with melt-in-your-mouth crumbles, this easy recipe is made with only 5 simple ingredients: gluten free flour, butter, sugar, salt, and vanilla. It's the simplest recipes that require the most precise ingredients in the right balance.

Be sure you measure your ingredients by weight, since it's impossible to avoid human error when measuring ingredients by volume. And use butter that's at cool room temperature, which means it's not at all greasy.

The temperature of the butter will warm up just enough when you beat it properly with the light brown sugar. If the butter starts out too warm, the shortbread will be chewy instead of tender.

This recipe also requires a pan made from cast aluminum, that's truly nonstick but greased fully with butter, and that's light in color so it doesn't attract or retain too much heat.

We love our cookies around here so if you do too be sure to try out my gluten free sugar cookies, my gluten free mexican wedding cookies and gluten free spritz cookies.

Overhead image of cut shortbread squares in pan with powdered sugar on white paper

Making shortbread cookies in a pan

Whenever I've shared other shortbread recipes like our classic gluten free shortbread cookies with flavor variations, I'm often asked if they can be baked in a pan. I honestly didn't know the answer, so I started to experiment!

When I tried baking each of those recipes, as written, in an English shortbread pan like you see above, the cookies were terrible! They were way too dry and crumbly, likely because they had to be baked too long for the amount of gluten free flour in the recipe.

To bake gluten free shortbread in a pan, I learned, you need less gluten free flour, on balance. You also need to beat the butter and the sugar together quite well, and to use a flour blend with less starch.

The pan I use, and that you see in the photos here, is a cast aluminum nonstick “English shortbread pan” made by Nordic Ware. I think King Arthur Flour makes another, similar pan. Be sure yours is nonstick and light in color, so the shortbread doesn't burn or stick to the pan.

Expert tips

This recipe works like a charm when it's made exactly as written. But some more detail can be quite useful, so here goes:

Working with the raw dough

This raw shortbread dough isn't especially wet, especially when compared to other gluten free cookies. But it will still stick to your fingers as you scrape it off the spatula and out of the mixing bowl. That's part of why we let it rest before pressing it into the pan.

Dock the dough

Docking raw dough of any kind means piercing small holes into it, usually with the tines of a fork. It helps air escape during baking that might cause unsightly bubbles in the cookies.

Use the right doneness test

This shortbread is ready when it no longer has a wet shine, even all the way in the center of the pan.

Removing the shortbread from the pan

To remove the shortbread from the pan in one piece, let it cool for about 10 minutes in the pan, undisturbed. Then, run a thin knife or spatula around the edge so it doesn't cling to the pan, place a cutting board or other flat surface on top of the pan, then invert both over quickly. The shortbread will come right out.

Slice immediately

You can make the cleanest cut in shortbread baked in a pan when it's still a bit warm from the oven, since it will crisp as it cools. Cut along those perforations left by the pattern in the pan the moment you turn it out.

Raw shortbread in pan
Shortbread baked in pan
Hand holding a knife cutting apart squares of shortbread on cutting board

Ingredient substitutions and variations

This is a very, very simple recipe, so substitutions can be risky. It's already egg-free, and if you're interested in trying to accommodate other food allergies, here is what I recommend (although I can't promise results):

Dairy free

I think you should be able to make this recipe with block-style vegan butter in place of dairy butter. Try Melt brand or Miyoko's Kitchen brand vegan butter. Don't use Earth Balance buttery sticks, as they contain way to much moisture.

Vegan

If you replace the butter with vegan butter, these cookies are vegan! There's no egg or other animal product in this recipe as written.

Topping suggestions

I briefly considered dipping the underside of each of these cookies in melted chocolate, much like we did our gluten free coconut macaroons. I was thinking they may look like the LU Petit Ecolier, or Little Schoolboy, cookies I really love.

You can also try sprinkling the top of the shaped raw cookie dough, which does end up being the bottom of the cookies, with coarse sugar before baking. I'd also brush the surface with a bit of water first to help the sugar crystals adhere.

You might be able to fix a few miniature chocolate chips into the cookie dough for some subtle variation, but I wouldn't add more than 2 ounces.

Stack of 3 shortbread squares on wire rack

No, I don't recommend using this same recipe for cutout cookies. This recipe is designed to be made in a single layer in a pan. For cutout cookies, try using our gluten free sablé cookies.

If you want another quick and easy treat, my granola bar recipe is perfect for you!

Hand holding square of shortbread

Storage instructions

To maintain the shortbread's texture, allow them to cool completely, then store in a sealed glass container at room temperature for up to 5 days. Storing anything crispy in plastic will encourage the baked goods to absorb more moisture and become chewy.

For longer storage, you can flash-freeze the cut cookies in a single layer on a small baking sheet. Then, pile them into a freezer-safe container (plastic is fine in the freezer, just limit trapped air as much as possible) and store for up to 3 months.

Go Ad-Free

Classic Gluten Free Shortbread Recipe

4.94 from 60 votes
Prep Time: 15 minutes
Cook Time: 18 minutes
Resting time: 30 minutes
Yield: 9 bars
Elevate your gluten free shortbread by baking these delicious, buttery bars in a decorative pan. Made with only 5 ingredients!
Save this recipe!
Get this sent to your inbox, plus get new recipes from us every week!

Ingredients 

  • 10 tablespoons (140 g) unsalted butter, at cool room temperature
  • ½ cup (109 g) packed light brown sugar
  • 1 teaspoon vanilla extract
  • ¼ teaspoon kosher salt
  • 1 ½ cups (210 g) all purpose gluten free flour blend, (See Recipe Notes)
  • ½ teaspoon xanthan gum, omit if your blend already contains it
  • Confectioners’ sugar, for dusting (optional)

Instructions 

  • Preheat your oven to 325°F. This recipe works best with a 9-inch x 9-inch nonstick English shortbread pan. (See Recipe Notes)
  • Chop the butter into cubes about 1 tablespoon each. Place them, with the sugar, in the bowl of a stand mixer fitted with the paddle attachment, or a large bowl with a handheld mixer.
  • Beat the butter and sugar on medium-high speed until light and fluffy, pausing to scrape down the bowl as necessary (at least 3 minutes). Add the vanilla and salt, and beat to combine.
  • Add the flour, and xanthan gum, and mix until just combined. The dough will seem crumbly at first, but just keep mixing until it comes together.
  • Place the cookie dough in plastic wrap and press it into a disk. Allow it rest at room temperature for at least 10 minutes and up to one half hour.
  • Unwrap the cookie cookie dough and transfer it to the prepared baking pan. Using clean hands, press the cookie dough into an even layer in the pan.
  • Place a piece of parchment paper on top of the pan, and press it into an even layer using the palms of your hands and/or a bowl or bench scraper.
  • Remove the paper, then pierce the cookie dough all over with the tines of a fork to prevent bubbles from forming during baking. This is called docking.
  • Place the pan in the center of the preheated oven and bake until lightly golden brown on the edges and set all the way to the center (about 18 minutes). It’s set in the center when it no longer glistens.
  • Remove the pan from the oven allow it to cool for about 10 minutes, or until no longer hot to the touch (but still warm). The baked shortbread is easiest to work with when it’s still warm.
  • Run a thin spatula very carefully around the edge of the pan to free the cookies from the pan. Place a large, flat cutting board on top of the pan.
  • Invert both the pan and the cutting board, together, and carefully lift the pan off the cookies.
  • Using a large, sharp knife, slice along the perforations in the cookies that the pan has left. . Allow the cookies to cool completely.
  • Dust with the optional confectioners’ sugar before serving. Store any leftover cookies in a sealed glass container at room temperature or in the freezer for longer storage.

Video

Notes

About the pan
If your pan is not nonstick, grease it completely but don’t let any of the oil or butter pool in the pan. If you don’t have a shortbread pan, you can use a 9-inch square baking pan.
If your pan is dark, reduce your oven temperature to 300°F.
For the flour blend
I recommend Better Batter’s original all purpose gluten free flour blend, Nicole’s Best multipurpose with added 1/2 teaspoon xanthan gum, or Bob’s Red Mill 1-to-1 in the blue bag. Since these bars have the support of the pan, there's no need to add more xanthan gum to Bob's Red Mill, even though it often doesn't have enough xanthan gum for many recipes. Here, it's fine. 
To make your own high-quality gluten free flour blend, check out my mock all purpose gluten free flour blends.

Nutrition

Serving: 1bar | Calories: 243kcal | Carbohydrates: 31g | Protein: 1g | Fat: 13g | Saturated Fat: 8g | Polyunsaturated Fat: 0.5g | Monounsaturated Fat: 3g | Trans Fat: 1g | Cholesterol: 33mg | Sodium: 87mg | Potassium: 21mg | Fiber: 1g | Sugar: 12g | Vitamin A: 389IU | Calcium: 14mg | Iron: 0.1mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Like this? Leave a comment below!

About Nicole Hunn

Hi, I’m Nicole. I create gluten free recipes that really work and taste as good as you remember. No more making separate meals when someone is GF, or buying packaged foods that aren’t good enough to justify the price. At Gluten Free on a Shoestring, “good, for gluten free” just isn’t good enough!

Leave a comment

Your email address will not be published. Required fields are marked *

Recipe Rating





42 Comments

  1. Elizabeth says:

    3 stars
    I think these taste pretty good.But they are more like a pan of crumbles instead of what was supposed to a cookie.

    This was my first attempt. I measured everything on a gram scale, mixed thoroughly and pressed the batter in a 9×9 pan sprayed with canola oil spray.

    I scored the top as instructed. After fifteen minutes, I let them cool and flipped them from the pan onto a cutting board.
    They were raw. I put them back in as if they were just being baked for the first time.

    I let them bake another 15 minutes, took them out. Let them cool and cut them in squares anyway.

    Pamela’s gf flour
    Land o lakes unsalted butter
    Kroger dark brown sugar
    Vanilla
    Kosher salt.

    1. Nicole Hunn says:

      I’m afraid that the results you are seeing are because of the flour blend that you are using, which is not a high quality blend that is properly balanced. It won’t work in my recipes, which I discuss on the all purpose gluten free flour blends page which is linked in every recipe, including this one.

      1. Elizabeth says:

        Thank you! I’m going to give it another shot. ?

  2. Helen Scott says:

    I tried this recipe and I am delighted! Hard to stop eating them! I was wondering if this recipe would work for Springerlee cookie molds, or do you have another recipe that would be better.

    1. Nicole Hunn says:

      I’ve never tried that, but the concept is similar enough that I think it would work. I can’t promise results, since I haven’t tried myself, but if you already have the molds, it might be worth a shot! So glad you love them.

  3. Maria says:

    I don’t see where the kosher salt gets added in

    1. Nicole Hunn says:

      You’re so right, Maria! I’m so sorry. You add it when you add the vanilla. I’ve edited the recipe to reflect that. Thank you for pointing that out!

  4. Susan says:

    5 stars
    I’m so thrilled to give these to my GF husband! Every detail was followed and it turned out so well. I did panic at the end because my Kosher salt was on the counter and I didn’t use it. I reread the recipe and couldn’t find where I should’ve used it. I have faith it will taste delicious….since I did eat every crumb that I could! :)
    Susan

  5. Pamela says:

    I already have a shortbread pan but it is a dark one. Can I still make this recipe using the dark pan? Do I need to make any adjustments? Thanks.

    1. Nicole Hunn says:

      Please see the notes section of the recipe card, Pamela

  6. Yasmin Ortiz says:

    Hi. All I have is dark brown sugar. Any thoughts?
    Also have you a recipe in the works for gf TedLasso shortbread biscuits?

    1. Nicole Hunn says:

      Dark brown sugar has quite a bit more molasses than light brown and I’m afraid I don’t know how it would perform. I’ve thought about a recipe for the Ted Lasso Shortbread cookies, actually!

  7. Ashley says:

    Can you use this recipe for lemon bars?

    1. Nicole Hunn says:

      I have a separate recipe for lemon bars, Ashley, actually. I recommend using that!

  8. Annie Deweese says:

    These recipes look great! I’ll save for Christmas 2022. Do you think King Arthur’s Measure for Measure gluten free flour will work in your shortbread recipe?

    1. Nicole Hunn says:

      I’m afraid I really don’t like that flour blend, Annie. It’s gritty (the rice flour isn’t finely ground) and too starchy. Sorry!

  9. Carol says:

    5 stars
    I forgot to say that my clay shortbread pan from King Arthur is a round light color pan. Very pretty.Thanks for all your fantastic recipes…love them!

    1. Nicole Hunn says:

      Those are beautiful pans, indeed, Carol! And thank you for the kind words—and the great question.

  10. Carol says:

    5 stars
    I have a King Arthur clay shortbread pan. Is this acceptable for this recipe? Do I lightly butter or use the KingArthur baking spray ? Also, any recommendations for the baking time?

    1. Nicole Hunn says:

      Hi, Carol, great question! You can absolutely use your clay mold to make this recipe. Clay heats up quite slowly, though, so you’ll almost certainly need to bake the shortbread for longer. It’s also a bit more fragile. Plus, a longer baking time means that the underside of the cookies in the center is more likely to burn. I’d recommend preheating your oven to 300°F and then baking for 20 minutes and check to see if it’s still wet on top (especially toward the center). Then, continue to bake for probably another 10 minutes, if not longer, while watching it closely through the oven window. Try to avoid opening the oven multiple times. I hope that helps!