Its generally recommended to avoid hot beverages like coffee for at least 24 to 48 hours after a dental extraction. Hot liquids can dissolve the blood clot in the socket, leading to a painful condition known as dry socket. If you must drink coffee, ensure it is lukewarm to avoid complications.