This protocol describes how to generate human pancreas slices from deceased organ donors to study cell function under near-physiological conditions. This innovative approach enables the investigation of normal and structurally damaged islets and the intricate interplay between endocrine and exocrine compartments.