Egyptian Silybum marianum ethanolic-hexane crude extract efficiency was investigated as an inhibitor of bacterial growth and iron steel corrosion in fresh water and marine environment media. Iron steel corrosion inhibition rate was quantitatively measured by two methods: one as a concentration of iron released in the medium over time intervals at different inhibitor ratios against the control using Inductive Coupled Plasma Mass Spectrometry (ICP-MS), and the second was relative weight loss method. Meanwhile, the development of the adsorption layer of the inhibitor on the surface of the iron steel specimen was monitored qualitatively using scanning electron microscopy. The adsorption of the extract constituents was found to obey Langmuir adsorption isotherm. Bacterial growth inhibition was examined using a well-diffusion method. After three days, the percentage of corrosion inhibition in fresh and marine media was 95% and 91%, respectively at the ratio of 1.5 mg/mL of the crude extract, and a homogeneous adsorption layer was observed on the surface of the iron specimen. The same dose was enough to inhibit bacterial growth in both media. Natural ecofriendly inhibitor extracted from a wild native Egyptian plant was found to be anticorrosion and at the same time antibacterial in both fresh and marine water media.