Lüneburg lies on the river Ilmenau, about 30 kilometres (19 mi) from its confluence with the Elbe. The river flows through the town and features in the its song; it was formerly traversed by cogs taking salt from the town to the other, larger, ports of the Hanseatic League nearby.