Shanghai's urban rail network reached approximately 906 km over 21 lines with the opening of Metro Line 18's second phase on 27 December 2025. UITP ranked the Shanghai urban agglomeration first in its end-2023 comparison at 802 km under a different methodology.