Chemotaxis allows bacteria to approach sources of attractant chemicals or to avoid sources of repellent chemicals. Bacteria constantly monitor the concentration of specific chemoeffectors by comparing the current concentration to the concentration detected a few seconds earlier. This comparison determines the net direction of movement. Although multiple, competing gradients often coexist in nature, conventional approaches for investigating bacterial chemotaxis are suboptimal for quantifying migration in response to concentration gradients of attractants and repellents. Here, we describe the development of a microfluidic chemotaxis model for presenting precise and stable concentration gradients of chemoeffectors to bacteria and quantitatively investigating their response to the applied gradient. The device is versatile in that concentration gradients of any desired absolute concentration and gradient strength can be easily generated by diffusive mixing. The device is demonstrated using the response of Escherichia coli RP437 to gradients of amino acids and nickel ions.