No!

It is not safe for your dog to have coffee. Coffee contains chemicals called methylxanthines and caffeine, which are highly toxic to dogs. These chemicals can cause vomiting, an abnormal heart rate, seizures, and sometimes death.