Conventionally, cell chemotaxis is studied on two-dimensional (2D) transparent surfaces, due to limitations in optical and image data-collection techniques. However, surfaces that more closely mimic the natural environment of cells are often opaque. Optical coherence tomography (OCT) is a noninvasive label-free imaging technique, which offers the potential to visualize moving cells on opaque surfaces and in three dimensions (3D). Here, we demonstrate that OCT is an effective means of time-lapse videomicroscopy of Dictyostelium cells undergoing 3D (2D+time) cell migration on nitrocellulose substrates and 4D (3D+time) chemotaxis within low-density agarose gels. The generated image sequences are compatible with current computer-based image-analysis software for quantification of cell motility. This demonstrates the utility of OCT for cell tracking and analysis of cell chemotaxis in complex environments.