We have developed a microfluidic device that enables the computation of three-dimensional (3-D) images of flowing samples. Using a microfluidic channel that is tilted along the optical axis, we record several progressively defocused images of the flowing sample as it passes across the focal plane. The resulting focal stack is then deconvolved to generate 3-D images. Experimental results on flowing yeast cells reveal both volume and surface profile information. The microfluidic channel eliminates the need for a precise translation stage to control defocusing and enables high sample throughput in an insulated, nontoxic, liquid environment. The experimental device can be implemented in all existing microscopes as a modified slide stage and is ideally suited for 3-D profiling in flow cytometers.