Gold and silver fillings take at least 24 hours tofully set. Porcelain and composite fillings are exposed to a blue UV light, which causes it to harden immediately. With non-metal fillings, you can usually eat again as soon as you leave the office, but waiting two hours is often recommended.