The present invention relates to a process for the preparation of pure Rabeprazole sulfoxide using the solvent mixture for the extraction steps and this invention further relates to the process for the preparation of amorphous Rabeprazole sodium using pure rabeprazole base in presence of aqueous NaOH and water miscible solvent and adding an anti-solvent.