X-ray phase-contrast imaging and tomography make use of the refraction of X-rays by the sample in image formation. This provides considerable additional information in the image compared to conventional X-ray imaging methods, which rely solely on X-ray absorption by the sample. Phase-contrast imaging highlights edges and internal boundaries of a sample and is thus complementary to absorption contrast, which is more sensitive to the bulk of the sample. Phase-contrast can also be used to image low-density materials, which do not absorb X-rays sufficiently to form a conventional X-ray image. In the context of materials science, X-ray phase-contrast imaging and tomography have particular value in the 2D and 3D characterization of low-density materials, the detection of cracks and voids and the analysis of composites and multiphase materials where the different components have similar X-ray attenuation coefficients. Here we review the use of phase-contrast imaging and tomography for a wide variety of materials science characterization problems using both synchrotron and laboratory sources and further demonstrate the particular benefits of phase contrast in the laboratory setting with a series of case studies.