The invention relates to a method for preparing sulfur ether intermediates of a proton pump inhibitor. According to the method, an ortho-nitroaniline compound is subjected to a continuous three-step and one-pot reaction process of reduction, cyclization and condensation by taking water and low alcohols as solvents under the alkaline condition to prepare a series of sulfur ether intermediates of the proton pump inhibitor () in high efficiency, wherein X and Y are nitrogen atoms or carbon atoms, and R1 is selected from one of hydrogen, methoxyl, pyrrole-1-yl and difluoro methoxyl; and R2, R3 and R4 are selected from one of hydrogen, methyl, methoxyl, 3-methoxyl n-propoxy, 2,2,2-trifluoro-ethyoxyl and methyl sec-butylamino respectively. The method has the advantages that a one-pot synthetic process is reasonable in design, easy and convenient to operate and environment-friendly, separation loss in the synthetic process is avoided, and target products are high in yield. A structural general formula is shown in the specification.