Résumé : For the construction of installations in refineries and petrochemical industry metal alloys are used among which steel is most popular. One of the most substantial problems of these materials is corrosion, which can cause huge financial losses, as well as causes threats to the environment and human life, therefore various methods of corrosion monitoring are used. There are many variations of corrosion that can be more or less dangerous but all are very undesirable. Corrosion can be caused by chemical compounds, but also by microorganisms such as fungi or bacteria. This type of corrosion is most commonly found in tanks with crude oil or petroleum products. The use of corrosion-resistant steel alloys is expensive, so other methods of corrosion protection are often used, the most important of which is application of protective coatings and the addition of compounds having corrosion-inhibiting properties. The use of corrosion inhibitors is a relatively cheap and effective method, which is why many compounds have been tested for corrosion inhibition, and many corrosion inhibition mechanisms have been found. Currently, very often tested and dynamically developed group of compounds are organic inhibitors, especially quaternary geminal ammonium salts. Many studies are also conducted on the use of polymer compounds as inhibitors. The goal of conducted research was to investigate the effect of compounds with corrosion inhibiting properties on the rate of both microbiological and chemical corrosion. To determine the aptitude of these compounds as corrosion inhibitor, a gravimetric method was used. In the case of study on the effect on microbiological corrosion, the added inhibitor did not show a significant effect on corrosion rate. It was different in the case of study on the effect on chemical corrosion, in which both tested inhibitors contributed to the slowdown of this process.