The invention belongs to the field of medicines and in particular relates to an enteric-coated preparation of rabeprazole sodium, a proton pump inhibitor and a preparation method thereof. The properties of rabeprazole sodium are very unstable and rabeprazole sodium can be quickly degraded and discolored if rabeprazole sodium is prepared or stored improperly, thus directly affecting the curative effects and medication safety of the medicine. In order to solve the problems, the enteric-coated preparation is prepared by using rabeprazole sodium as the main medicine and adopting three layers of coatings, wherein the three coating layers are respectively an alkaline protective layer, an isolation layer and an enteric-coated layer from inside to outside; the alkaline protective layer comprises film forming agents, lubricating agents, light-screening agents, alkaline stabilizing agents and solvents and the pH value of the coating solution is 8.0-13.0; the isolation layer comprises film forming agents, lubricating agents, plasticizers, light-screening agents and solvents and the pH value of the coating solution is 7.0-8.0; the enteric-coated layer comprises film forming agents, plasticizers, lubricating agents, light-screening agents, stabilizing agents and solvents and the pH value of the coating solution is 5.0-6.0. The enteric-coated preparation has the characteristics of short product production cycle and less influence caused by environments, temperatures, humidity and dust pollution.