Three-dimensional X-ray imaging of WSe2 reveals localized strain associated with uneven substrate contact. Combined with continuum and atomistic modeling, the findings show how nanoscale interfaces may influence material properties and variability in devices made from layered semiconductors.