Drug therapy for eye diseases has been limited by multiple protective mechanisms of the eye, which can be improved using well-designed drug delivery systems. Mesoporous silica nanoparticles (MSNs) had been used in many studies as carriers of therapeutic agents for ocular diseases treatment. However, no studies have focused on ocular biosafety. Considering that MSNs containing tetrasulfur bonds have unique advantages and have drawn increasing attention in drug delivery systems, it is necessary to explore the ocular biosafety of tetrasulfur bonds before their widespread application as ophthalmic drug carriers. In this study, hollow mesoporous silica nanoparticles (HMSNs) with different tetrasulfur bond contents were prepared and characterized. The ocular biosafety of HMSN-E was evaluated in vitro on the three selected ocular cell lines, including corneal epithelial cells, lens epithelial cells and retinal endothelial cells (HREC), and in vivo by using topical eye drops and intravitreal injections. In cellular experiments, HMSNs caused obvious S content-dependent cytotoxic effect. HMSNs with the highest tetrasulfur bond content (HMSN-E), showed the highest cytotoxicity among all the HMSNs, and HREC was the most vulnerable cell to HMSN-E. It was shown that HMSN-E could react with intracellular GSH to generate H2S and decrease intracellular GSH concentration. Treatment of HREC with HMSN-E increased intracellular ROS, decreased mitochondrial membrane potential, and induced cell cycle arrest at the G1/S checkpoint, finally caused apoptosis and necrosis of HREC. Topical eye drops of HMSN-E could cause corneal damage. The intravitreal injection of HMSN-E could induce inflammation in the vitreum and ganglion cell layers, resulting in vitreous opacities and retinal abnormalities. The incorporation of tetrasulfur bonds into HMSN can have toxic effects on ocular tissues. Therefore, when mesoporous silica nanocarriers are designed for ophthalmic pharmaceuticals, the ocular toxicity of the tetrasulfur bonds should be considered.