In vivo high-resolution imaging of the pancreas was facilitated with the pancreatic intravital imaging window.