The inhibitory capabilities of the sweet yellow capsicum extract (SYCE) toward the rusting of steel rebars in cement pore solution (CPS) were tested employing the electrochemical and mass loss methods. Gallic acid, caffeic acid, p-coumaric acid, ferulic acid, luteolin, and cinnamic acid are the most important constituents in the SYCE extract. By adsorbing them on steel bars, the organic compounds in the CSA extract enable them with an effective mixed-type inhibition, suppressing both anodic and cathodic procedures. At 300 ppm, the highest performances were 95.3 and 97.5% utilizing mass loss and electrochemical approaches, respectively. The activation energy for the corrosion process is greatly increased by the addition of the SYCE extract, going from 13.2 kJ mol −1 (blank solution) to 30.0 kJ mol −1 (300 ppm SYCE extract). The physical adsorption actions of the SYCE extract are described by the Freundlich equilibrium constant's smallest value, which is 0.074 ppm −1 . Many future investigators will be attracted by these discoveries to work relentlessly to uncover the anticorrosion characteristics of novel plant extracts in the area of concrete additives.