If you’re one of the millions of people who grind and clench their teeth during sleep, an injection of Botox might be the answer, a small study suggests.

The condition, called bruxism, can lead to pain, headaches, jaw problems and damaged teeth. However, the researchers reported that shots of Botox into the chewing muscles in the cheek can block the signals that tell these muscles to contract, relieving the grinding and clenching.

Though small-scale, the study showed that Botox is better than a placebo in treating teeth grinding.