Toothache or tooth pain occurs most often when the nerves of the teeth are stimulated, but there are many other causes of tooth pain. Risk factors for toothache include dental infections, gum disease, dental plaque, tooth decay, damage, cracked teeth, poor filling or crown position, failed or leaky fillings or crowns, tooth loss (including tooth extraction), Mandibular joint (TMJ) disease, and obstructive sleep apnea.