The diffusion of nonspherical particles has not been well understood due to the complexity of their contact mechanics and self‐organization of their orientations. We perform discrete element method simulations of monodisperse ellipsoids in a shear flow with Lees‐Edwards boundary conditions to quantify the relation between the diffusion coefficient and the flow parameters. The results indicate that the particle aspect ratio strongly affects the diffusion coefficient by influencing the particle orientation and alignment. We develop a scaling law for the diffusion coefficient perpendicular to the flow direction, Dyy, which combines the influences of the shear rate , the solids fraction f, the effective particle diameter deff and the particle aspect ratio Z. We show that , where kd is a dimensionless pre‐factor, and a fit is obtained for the functional form of χ(f, Z). This scaling law will be useful in developing continuum transport models for applications.