The confluence of these rivers joined together and forms the headwater of the Perak. It then flows southwest through  the district of Hulu Perak, mainly in the vicinities of Gerik and Lenggong, before meeting with the Kangsar River at the royal seat of Kuala Kangsar, in its eponymous district. It then enters the Perak Tengah district, snaking through the towns of Parit, Pasir Salak and Kampung Gajah, before emptying into the Straits of Malacca near Bagan Datuk in Bagan Datuk District.
The confluence of these rivers forms the headwaters of the Perak River, which flows southwest through Hulu Perak, primarily around Gerik and Lenggong, before joining the Kangsar River at Kuala Kangsar. It then enters the Perak Tengah district, winding through Parit, Pasir Salak, and Kampung Gajah, before emptying into the Straits of Malacca near Bagan Datuk in Bagan Datuk District.