Dental problems can cause headaches in a few different ways. If you have a toothache, the pain can radiate out of your tooth and cause a headache. At the same time, an infection in your mouth can cause inflammation and pain, leading to a headache. Grinding your teeth can strain the muscles in your jaw, leading to tension headaches. If you are experiencing headaches, see a dentist to rule out any dental problems. Once dental issues are resolved, you may also find that your headaches go away.