Toothache is most commonly caused by inflammation due to the infection of the dental pulp or nerves. Inflammation may also arise from physical damage caused by an accident, or from biting on something that causes a crack in the tooth. Inflammation may be present without infection or the two may coexist.
We have millions of bacteria (germs) in our mouths. Many of them cause no harm, but scientific studies have shown that some species associated with dental decay and others are associated with gum disease and infections of the root canals. There are over 500 different species of bacteria in the human mouth. The bacteria in our mouths do not usually infect our jaws because the gums act as an effective barrier to most bacteria. If teeth become infected, this may allow bacteria to cause an infection in the bone.