The synthesis of a new compound, 10-(4-aminophenyl)-5,15-dimesitylcorrole, and its application for the preparation of optical chemical pH sensors is described. The dye materials were immobilized in a sol-gel glass matrix and characterised upon exposure to aqueous buffer solutions. The response of the sensor is based on the fluorescence intensity changing of corrole owing to multiple steps of protonation and deprotonation. Due to its containing several proton sensitive centers, the 10-(4-aminophenyl)-5,15-dimesitylcorrole based optode shows a wider response range toward pH than that of tetraphenylporphyrin (TPPH(2)) and 5,10,15-tris(pentafluorophenyl)corrole (H(3)(tpfc)). It shows a linear pH response in the range of 2.17-10.30. The effect of the composition of the sensor membrane has been studied and the experimental conditions were optimized. The optode showed good reproducibility and reversibility, and common co-existing inorganic ions did not show obvious interference to its pH measurement.