What is the direct answer?
A cavity-related toothache needs dental treatment; temporary relief can come from gentle cleaning, a cold compress, and pain medicine.
What does this question mean?
A cavity is a demineralized area that can progress into a hole in the enamel and dentine. As decay approaches or reaches the pulp, the living tissue containing nerves and blood vessels, inflammation can cause sensitivity or a persistent toothache.
What can you do next?
Rinse gently with warm water, remove trapped food with careful brushing and flossing, and place a wrapped cold compress against the cheek for short periods. Use an over-the-counter pain medicine only as directed on its label and only if it is suitable for you; do not put aspirin or other tablets directly on the gum or tooth. A dentist may remove decayed tissue and place a filling, or if the pulp is infected, clean and seal the root canals before restoring the tooth.
When should you seek dental care?
Arrange a dental examination promptly if the pain persists, returns, or is triggered by hot, cold, sweet foods, biting, or pressure. Seek urgent care for facial or gum swelling, fever, pus or a bad taste, difficulty opening the mouth, swallowing, or breathing, or pain that is rapidly worsening. These findings can indicate infection that needs examination, imaging, and treatment rather than home care alone.
What should you ask the dentist?
Ask which tooth and tissue are causing the pain, whether an X-ray is needed, and whether the cavity can be treated with a filling or needs root canal treatment and a crown or other restoration. Also ask what signs should prompt urgent review and how to protect the tooth while treatment is arranged.
Frequently asked questions
Can a cavity toothache go away by itself?
Pain can temporarily settle, but the decay remains and may progress. Arrange an examination even if the tooth feels better.
Should I put aspirin on the painful tooth?
No. Do not place aspirin or pain tablets directly on the tooth or gum because they can irritate or damage the soft tissue.
Does every cavity need a root canal?
No. A filling may be enough when decay has not irreversibly affected the pulp. Root canal treatment is considered when the pulp is inflamed or infected and the tooth can be restored.

