Heavy metal enrichment in road dust has resulted from intensive anthropogenic activity, particularly urbanization, industrial activities and traffic emission, posing a hazard to urban ecosystems and human health. To promote optimal road dust management in urban environments, it is necessary to assess the possible ecological and health impact of toxic elements in road dust. In a heavily populated megacity like Dhaka, Bangladesh, large-scale risk assessments of contamination in road dust with heavy metals are limited. The present study aims at presenting a concentration of twenty-five metals in road dust (Na, K, Cs, Rb, Mg, Ca, Sr, Ba, Al, Zn, Cd, Pb, As, Sb, Sc, Ti, V, Cr, Mn, Fe, Co, Ni, Cu, Zr and W) in Dhaka megacity. We used a critical source-based positive matrix factorization model, source-oriented potential ecological risks and health risks. Out of the studied metals, Na, Ca, Zn, Cd, Cu, Zr and W exceeded the shale value. About 73%, 48%, 29% and 32% of sampling sites showed a higher level of pollution based on PLI, NIPI, PER and NIRI, respectively. PMF model identified that Cd (85.3%), Cr (62.4%), Ni (58.2%), Zn (81.8%) and Mn (65.9%) in road dust were primarily attributed to traffic emission, fuel combustion, metal processing, transport sources and natural sources, respectively. Fuel combustion and metal processing posed considerable and high risks based on modified potential ecological risk and NIRI. Based on health hazards, traffic emission posed a high cancer risk in adult males (29%), whereas transport sources contributed to females (21%) and children (23%).