We report on direct numerical simulations of the effect of electrostatic charges on particle-laden duct flows. The corresponding electrostatic forces are known to affect the particle dynamics at small scales and the associated turbophoretic drift. Our simulations, however, predicted that electrostatic forces also dominate the vortical motion of the particles, induced by the secondary flows of Prandtl's second kind of the carrier fluid. Herein, we treated flows at two frictional Reynolds numbers (Re-tau = 300 and 600), two particle-to-gas density ratios (rho(p)/rho = 1000 and 7500) and three Coulombic-to-gravitational force ratios (Fel/Fg = 0, 0.004 and 0.026). In flows with a high density ratio at Re-tau = 600 and F-el/F-g = 0.004, the particles tend to accumulate at the walls. On the other hand, at a lower density ratio, respectively a higher F-el/F-g of 0.026, the charged particles still follow the secondary flow structures that are developed in the duct. However, even in this case, the electrostatic forces counteract the particles' inward flux from the wall and, as a result, their vortical motion in these secondary structures is significantly attenuated. This change in the flow pattern results in an increase of the particle number density at the bisectors of the walls by a factor of five compared with the corresponding flow with uncharged particles. Finally, at Re-tau = 300, rho(p)/rho = 1000 and F-el/F-g = 0.026 the electrostatic forces dominate over the aerodynamic forces and gravity and, consequently, the particles no longer follow the streamlines of the carrier gas.