Stainless steels have many properties mechanical and chemical resistances resulting from the formation of the protective layer (passive film) on their surface which prevents the metal to react with corrosive environments such as, phosphoric acid. This acid contains various impurities, including agressive agents and solid particles of gypsum, increase the risk of corrosion damage depending on the type of stainless steel used. In addition, it has been show that abrasion-corrosion causes an acceleration electrochemical process leading to a decrease in the resistance of materials. This work is to find a solution through an ecological inhibitor. That why we have been studied the effect of crude clay on corrosion behavior of Alloy 31 in polluted phosphoric acid with abrasive by electrochemical impedance spectroscopy (EIS) . The clay was characterized by X-ray fluorescence spectroscopy (FX), X-ray diffraction (DRX) and infrared spectroscopy (IR). EIS exhibited that resistance of Alloy 31 increased with increase the concentration of inhibitor.