Urban trees cool cities more effectively than previously understood by combating the urban heat island effect that makes cities 1–7°C hotter than countryside areas.