Gather all ingredients. Preheat the oven to 375 degrees F (190 degrees C).
Stir flour, baking soda, and baking powder together in a small bowl.
Beat sugar and butter together in a large bowl with an electric mixer until smooth.
Beat in egg and vanilla.
Gradually blend in flour mixture.
Roll dough into walnut-sized balls and place 2 inches apart onto ungreased baking sheets.
Bake in the preheated oven until edges are golden, 8 to 10 minutes. Cool on the baking sheets briefly before removing to a wire rack to cool completely.
