An inlay is similar to a filling, but it lies within the cusps (bumps) on the chewing surface of your tooth. An onlay is more extensive than an inlay and covers one or more cusps. Inlays or onlays can be made of gold, composite resin (plastic) or ceramics. They can last for decades. However, how long they last depends on the material used, the teeth involved, the forces of chewing and how well the patient maintains them with good oral hygiene and regular visits to a dentist.