An improved scaling for the current density generated due to collisionless motion of α-particles in a tokamak is proposed. The dependence of the current density on the radial profile of the safety factor q is investigated. Monotonically increasing q profiles are considered, as well as q profiles with a minimum in the axial region of the plasma column. It is shown that the current density depends on the variation in q along the charged particle trajectories, rather than on the q value at the starting magnetic surface. The dependence of the current density on the gradient of q is strongest in the plasma core because of the large deviation of the drift surfaces from the magnetic ones in this region. At the plasma edge, the larger the second derivative of the plasma density, the greater the contribution of the gradient of q. For conventional plasma density profiles, the poloidal-angle-averaged current density calculated for a varying safety factor q is always lower than that calculated for a constant q. The effect of the nonuniformity of the safety factor on the current generation at the magnetic axis of a tokamak is investigated. © 2011 Pleiades Publishing, Ltd.