We study thermomechanical deformations of a viscoplastic body deformed in simple shear. The effect of material elasticity is neglected but that of work hardening, strain-rate hardening, thermal softening, and strain-rate gradients is considered. The consideration of strain-rate gradients introduces a material characteristic length into the problem. A homogeneous solution of the governing equations is perturbed at different values t 0 of time t, and the growth rate at time t 0 of perturbations of different wavelengths is computed. Following Wright and Ockendon's postulate that the wavelength of the dominant instability mode with the maximum growth rate at time t 0 determines the minimum spacing between shear bands, the shear band spacing is computed. It is found that for the shear band spacing to be positive, either the thermal conductivity or the material characteristic length must be positive. Approximate analytical expressions for locally adiabatic deformations of dipolar (strain-rate gradient-dependent) materials indicate that the shear band spacing is proportional to the square-root of the material charateristic length, and the fourth root of the strain-rate hardening exponent. The shear band spacing increases with an increase in the strain hardening exponent and the thermal conductivity of the material.