Preheat the oven to 350°F.
Mix the butter and sugar together with an electric mixer until light and fluffy (about 2-3 minutes).
Add the egg and molasses to the butter mixture and mix well.
In a separate bowl, stir together the flour, baking soda, salt, cinnamon, and ginger.
Gradually add the dry ingredients to the wet mixture and mix until combined.
Scoop dough balls a little smaller than a golf ball. If you like, roll the dough balls in sugar.
Place the dough balls on a baking sheet, about 2-3 inches apart.
Bake for 10-12 minutes, let them cool on the baking sheet for 10 minutes, then transfer to a wire rack to cool completely.