This study aims to develop efficient topical therapy for keratomycosis using sertaconazolenitrate (STZN)-loaded leciplex (LP). The D-optimal design was used to optimize STZN-loaded LP by utilizing soy phosphatidylcholine (SPC) molar ratio (X1), cationic surfactant molar ratio (X2), and cationic surfactant type (X3) as the independent variables, whereas their impact was studied for entrapment efficiency percent (EE; Y1), particle size (PS; Y2), polydispersity index (PDI; Y3), zeta potential (ZP; Y4), and permeability coefficient (Kp; Y5). The optimized formula was evaluated regarding morphology, ex vivo permeation, mucoadhesion, stability, and in vivo studies. The optimized formula was spherical and showed EE of 84.87 ± 1.71%, PS of 39.70 ± 1.35 nm, PDI of 0.242 ± 0.006, ZP of +54.60 ± 0.24 mV, and Kp of 0.0577 ± 0.0001 cm/h. The ex vivo permeation study revealed that the optimized formula enhanced the Kp and corneal deposition by 2.78 and 12.49 folds, respectively, compared to the aqueous drug dispersion. Furthermore, the optimized formula was stable and revealed promising mucoadhesion properties. Finally, the in vivo studies showed that the optimized formula was superior to the drug dispersion in treating rats with induced keratomycosis. These results confirmed the capabilities of LP as a promising nanocarrier for treating ocular diseases topically.