Toothpaste is typically alkaline (basic) with a pH generally ranging from 7.5 to 10. The basic nature of toothpaste helps to neutralize the acids produced by bacteria in the mouth after eating. These bacterial acids are responsible for eroding tooth enamel and causing cavities. By creating a more alkaline environment, toothpaste helps protect teeth from decay.