We provide a precise microscopic definition of the recently observed inverse Edelstein effect in which a nonequilibrium spin accumulation in the plane of a two-dimensional (interfacial) electron gas drives an electric current perpendicular to its own direction. The drift-diffusion equations that govern the effect are presented and applied to the interpretation of the experiments.