Pulpitis occurs when the innermost tissue in your tooth becomes inflamed. Bacteria that enter your tooth through a cavity or crack cause the infection. Early pulpitis is reversible. Without treatment, the inflammation will get worse and you'll need a root canal or tooth extraction.