Someone who got a silver filling should wait at least 1 hour before eating anything, and those people who got a white filling don't have to wait to eat, according to Studio Dentaire. Silver fillings, also known as amalagam fillings, take up to 24 hours to harden, so eating solid foods should be avoided for that time. White fillings, also known as composite fillings, harden immediately upon exposure to the dentist's blue light.
Tooth sensitivity can persist for several hours after getting any filling, according to Colgate. For that reason, people who have gotten fillings should take care when eating or drinking hot or cold foods after the procedure. Keeping the mouth closed can also lessen pain from tooth sensitivity, since cold air can cause pain.