We study the effect of disorder on the dynamics of a transverse domain wall in ferromagnetic nanostrips, driven either by magnetic fields or spin-polarized currents, by performing a large ensemble of graphics processing unit-accelerated micromagnetic simulations. Disorder is modeled by including small, randomly distributed nonmagnetic voids in the system. Studying the domain wall velocity as a function of the applied field and current density reveals fundamental differences in the domain wall dynamics induced by these two modes of driving: For the field-driven case, we identify two different domain wall pinning mechanisms, operating below and above the Walker breakdown, respectively, whereas for the current-driven case pinning is absent above the Walker breakdown. Increasing the disorder strength induces a larger Walker breakdown field and current, and leads to decreased and increased domain wall velocities at the breakdown field and current, respectively. Furthermore, for adiabatic spin-transfer torque, the intrinsic pinning mechanism is found to be suppressed by disorder. We explain these findings within the one-dimensional model in terms of an effective damping parameter α * increasing with the disorder strength. Domain wall (DW) dynamics in nanoscale ferromagnetic wires and strips driven by magnetic fields or spin-polarized currents is a subject of major technological importance for the operation of potential future nanoscale magnetic memory 1,2 and logic 3 devices. In these devices information is typically stored as magnetic domains along a nanostrip or wire and is processed by DW motion. For the reliable operation of such devices it is of fundamental importance to understand and control the effect of imperfections or disorder on the DW dynamics, necessarily present in any realistic samples, e.g., in the form of thickness fluctuations and grain structure of the sample, or various impurities and defects in the material. At the same time, such systems constitute a low-dimensional limit of the general problem of driven elastic manifolds in a random potential. 4 While the crucial importance of disorder for the dynamics of higher-dimensional DWs is well established, resulting in phenomena such as the Barkhausen effect, 5 a majority of studies of DW motion in systems with nanostrip or wire geometry neglect disorder effects. This applies to both theoretical studies and interpretations of experimental results. Some exceptions include studies demonstrating enhanced DW propagation due to the roughness of the edges of the strip. 6,7 Recently also the effect of spatially varying saturation magnetization M s on the dynamics of vortex walls was studied, resulting in an effective damping increasing with the disorder strength.8 Similar spatially distributed disorder has also been studied in a simplified, line-based model of a transverse DW.9,10 Experimental studies of DW dynamics in wires have revealed its stochastic nature in the case of short current pulses, 11 and has been attributed to the presence of disorder in...