We present lattice Boltzmann simulations of rarefied flows driven by pressure drops along two-dimensional microchannels. Rarefied effects lead to non-zero cross-channel velocities, nonlinear variations in the pressure along the channel. Both effects are absent in flows driven by uniform body forces. We obtain second-order accuracy for the two components of velocity the pressure relative to asymptotic solutions of the compressible Navier-Stokes equations with slip boundary conditions. Since the common lattice Boltzmann formulations cannot capture Knudsen boundary layers, we replace the usual discrete analogs of the specular diffuse reflection conditions from continuous kinetic theory with a moment-based implementation of the first-order Navier-Maxwell slip boundary conditions that relate the tangential velocity to the strain rate at the boundary. We use these conditions to solve for the unknown distribution functions that propagate into the domain across the boundary. We achieve second-order accuracy by reformulating these conditions for the second set of distribution functions that arise in the derivation of the lattice Boltzmann method by an integration along characteristics. Our moment formalism is also valuable for analysing the existing boundary conditions. It reveals the origin of numerical slip in the bounce-back other common boundary conditions that impose conditions on the higher moments, not on the local tangential velocity itself. © 2012 American Institute of Physics.