A dental abscess is a collection of pus that forms on your teeth or gums as a result of a bacterial infection. The main symptom of a dental abscess is a severe, throbbing toothache at the site of the abscess. The pain usually occurs suddenly and then gradually subsides over a few hours or a few days.