We present exact, nonsingular solutions of the scalar-wave equation for beams that are nondiffracting. This means that the intensity pattern in a transverse plane is unaltered by propagating in free space. These beams can have extremely narrow intensity profiles with effective widths as small as several wavelengths and yet possess an infinite depth of field. We further show (by using numerical simulations based on scalar diffraction theory) that physically realizable finite-aperture approximations to the exact solutions can also possess an extremely large depth of field.