A composite filling can be a long-lasting restoration for a tooth that has had a cavity, but long-lasting is not quite the same as permanent—most composite fillings will need to be replaced at some point. There aren’t any dental filling options that can be guaranteed to last a lifetime.