We derive a quantum theory of matter-wave detection from microscopic considerations. We calculate both the short-time approximation and the long-time correction to the detection rate of matter waves. The detection rate can be related to the flux of the matter waves through a detector medium.