X-ray computed tomography was used to visualize the water configurations inside gas diffusion layers for various applied capillary pressures, corresponding to both water invasion and withdrawal. A specialized sample holder was developed to allow capillary pressure control on the small-scale samples required. Tests were performed on GDL specimens with and without hydrophobic treatments.