There currently is one option to travel by night train from Ulm (Germany) to Hamburg (Germany), taking approximately 9 hours: Namely the ICE 618 operated by Deutsche Bahn.
For the next 7 dates with connections, the cheapest offer starts at 70 EUR. Check our connection pages below for all availabilities!