The present invention provides a method for preparing a substantially pure lansoprazole containing less than about 0.2% (wt/wt) impurities sulfone/sulphide derivatives. The present invention also provides a process for recrystallizing lansoprazole to obtain a lansoprazole containing less than about 0.1 % (wt/wt) water.