This protocol describes a novel mammary imaging window with a replaceable lid (R.MIW). Intravital microscopy after implantation of the R.MIW allows for longitudinal and multi-day imaging of the healthy and diseased mammary gland with a cellular resolution during the different developmental stages.