We exhibit a three-dimensional (3D) photonic nanojet based on a dielectric microsphere irradiated by a plane wave with the finite-difference time-domain (FDTD) method. We investigate the influence of the refractive index of the surrounding on the properties of the nanojet by simulating the electric