The invention belongs to the technical field of chemical analysis detection, and particularly relates to a sulfite ratiometric fluorescence probe and a preparation method thereof. The molecular structural formula of the sulfite ratiometric fluorescence probe refers to description. The preparation method of the sulfite ratiometric fluorescence probe includes the following steps: reacting N1,N1 dimethyl benzene-1,4-diamine with crotonaldehyde to obtain N,N,2-trimethylquinoline-6-amine; reacting N,N,2-trimethylquinoline-6-amine with selenium dioxide to obtain 6-(dimethylamino) quinoline-2-formaldehyde; reacting 2,3,3-trimethylindoline with iodomethane to obtain 1,2,3,3-tetramethyl-3H-indoliu iodide; reacting 6-(dimethylamino) quinoline-2-formaldehyde and 1,2,3,3-tetramethyl-3H-indoliu iodide with piperidine to obtain the probe. According to the invention, molecular synthesis of the probe is simple, the cost is relatively low, the selectivity to sulfite is good, the preparation method is simple, raw materials are cheap and easy to obtain, and the method is easy to realize.