Two new quaternary ammonium salts of indolizine derivatives 4a(1-{2-[N'-(3-cyano- indolizine-1-carbonyl)-hydrazino]-2-oxo-ethyl}-pyridinium; chloride) and 4b(1-{2-[N'-(3-Cyano-indolizine-1-carbonyl)-hydrazino]-2-oxo-ethyl}-2-methyl-pyridinium; chloride) as fluorescent sensors for Cu2+ were synthesized. The structures of the two compounds were determined by IR, 1H NMR, MS and elemental analysis. Their UV and fluorescence spectra were measured. The influences of sixteen metal ions such as Cu2+, Zn2+, Ca2+, Cr3+, Co2+, Al3+, Mn2+, Ni2+, Ba2+, Hg2+, Fe3+, Cd2 +, Mg2+, Pb2+, Li+ and Ag+ on their fluorescence properties were studied. Spectroscopic studies revealed that the two compounds had rather strong affinity toward Cu2+. The specificities of the two probes toward Cu2+ were determined. Compound 4a nearly no fluorescence intensity changes were observed in emission spectra together with Zn2+, Ca2+, Co2+, Mn2+, Ni2+, Ba2+, Hg2+,Cd2+, Mg2+, Pb2+, Li+ and Ag+, respectively. Compound 4b nearly no fluorescence intensity changes were observed in emission spectra together with Zn2+, Ca2+, Cr3+, Co2+, Al3+, Mn2+, Ni2+, Ba2+, Hg2+, Cd2+, Mg2+, Pb2+, Li+and Ag+, respectively. However, under identical conditions, the results showed that compounds 4a and 4b had fluorescence quenching together with Cu2+. So we have developed two new fluorescent sensors(4a and 4b). They showed high sensitivity and selectivity toward Cu2+ in aqueous solution.