What a filling can do
A filling replaces the area lost to decay, damage or a previous filling. A small cavity with strong walls around it may be suited to a filling. A larger filling can also work in some teeth. Your dentist checks whether the part left around the filling can tolerate the way you bite.
When more of the tooth needs covering
If several walls are thin, the dentist might cover them instead of placing another filling. A full crown usually needs room around the tooth. An onlay can cover a vulnerable chewing surface and leave more of the sides intact. A crack or decay under an old filling can change the decision once it’s visible.