This article describes microinjection and electroporation of mouse testis invivo as a transfection technique for testicular mouse cells to study unique processes of spermatogenesis. The presented protocol involves steps of glass capillary preparation, microinjection via the efferent duct, and transfection by electroporation.