A temporary dental filling is usually a short-term stop-gap to maintain the integrity and comfort of a tooth after the decayed enamel has been removed. The temporary filling only lasts for a week or two while a dental lab prepares the permanent dental filling made from gold or porcelain ceramic.