Toothache due to cavity
A cavity can cause toothache when decay reaches dentin or pulp, and treatment depends on how far the damage has progressed.
The short answer
A cavity can cause toothache when decay reaches the sensitive dentin or inflames the pulp, and the tooth needs treatment matched to the depth of decay.

What is the direct answer?
What does this question mean?
Cavities begin when acids from bacterial plaque remove minerals from enamel and dentin. Sensitivity to cold, sweet foods, or biting can occur as the lesion approaches the pulp, the living tissue containing nerves and blood vessels.
What can you do next?
Keep brushing with fluoride toothpaste and clean between the teeth while arranging an examination. Avoid frequent sugary or acidic drinks, chew on the opposite side if needed, and use suitable temporary pain relief according to the label.
When should you seek dental care?
Arrange care for toothache, sensitivity that lingers, a visible hole, or pain on biting. Fever, swelling, pus, or trouble swallowing or breathing can indicate urgent infection.
What should you ask the dentist?
Ask how deep the cavity is and whether the pulp is healthy, inflamed, or infected. Ask whether a filling, indirect restoration, root canal, or extraction best preserves function.
Frequently asked questions
Can a cavity cause pain only with cold?
Yes. Dentin exposure or an irritated pulp can react to cold, although the duration and pattern help the dentist assess severity.
Can brushing remove an established cavity?
Brushing supports remineralization of early weakened enamel, but a formed cavity requires dental assessment and may need a restoration.
