It rises at coord on the fringes of the Pamirs in Tajikistan, flowing due west for some 300 kilometers , passing Penjikent before entering Uzbekistan at coord, where it turns west-to-north-west, flowing past the legendary city of Samarkand, where it feeds the Dargom Canal, which is entirely dependent on the oasis thus created, until it bends left again to the west north of Navoiy and further to the south-west, passing Bukhara before it is lost in the desert beyond the city of Qorako‘l (Karakul), not quite reaching the Amu Darya, of which it was formerly a tributary.