In a large bowl, combine the flour, salt, and sugar (if using).
Add the cold butter cubes to the flour mixture. Use a pastry cutter, fork, or your fingers to work the butter into the flour until it resembles coarse crumbs with pea-sized pieces of butter remaining.
Slowly add the ice water, 1 tablespoon at a time, mixing gently with a fork until the dough begins to come together. You may not need all the water, so stop adding once the dough holds together when pressed.
Turn the dough out onto a lightly floured surface and gently knead it a few times to bring it together into a ball. Flatten it into a disc and wrap it tightly in plastic wrap. Chill in the refrigerator for at least 60 minutes before rolling out.
Once chilled, roll the dough out on a lightly floured surface to about ⅛ inch thickness, rotating it as you go to prevent sticking. Transfer it to your pie dish and trim the edges, leaving about 1 inch of overhang. Fold the edges under and crimp them to your desired pattern.
If filling and adding a top, dampen your finger, then add the top crust and press together before crimping the edges, then trim off any excess crust.
For a blind-baked crust (if you’re using it for a no-bake filling or need to pre-bake), line the crust with parchment paper and fill it with pie weights or dried beans.
Bake at 375°F for 20-25 minutes, then remove the weights and parchment and bake for an additional 5-10 minutes until golden. Then add filling and top crust and bake per instructions of the specific pie recipe.