The present invention relates to a pharmaceutical composition containing Ilaprazole or a salt thereof, and a preparation method therefor. The pharmaceutical composition contains or consists of Ilaprazole or a salt thereof, and a Ilaprazole derivative, wherein the amount of the Ilaprazole derivative in the pharmaceutical composition is not higher than 1.3 wt% (less than or equal to 1.3 wt%). The composition can be used for treating peptic ulcer bleeding and stress ulcer and preventing upper gastrointestinal hemorrhage caused by severe diseases.La présente invention concerne une composition pharmaceutique contenant de l'ilaprazole ou un sel de celui-ci, et son procédé de préparation. La composition pharmaceutique contient ou est constituée d'ilaprazole ou d'un sel de celui-ci, et d'un dérivé d'ilaprazole, la quantité du dérivé d'ilaprazole dans la composition pharmaceutique n'étant pas supérieure à 1,3 % en poids (inférieure ou égale à 1,3 % en poids). La composition peut être utilisée pour traiter un saignement d'ulcère gastro-duodénal et un ulcère de stress et empêcher une hémorragie gastro-intestinale supérieure provoquée par des maladies graves.