The inhibition efficacies of extracts of Cnidoscolus aconitifolius (Chaya) leaves in the corrosion of mild steel were investigated in H2SO4, and NaCl media. Weight loss method was employed to determine corrosion rate. The ribbed mild steel rod was cut into forty (40) coupons, each measuring 16 mm (diameter) by 8 mm (length) and their initial weights taken and noted. Twenty (20) beakers containing 0.5M and 1.0M each of H2SO4 and NaCl solution separately with varying volumes of the extracts ranging from 5ml to 20ml were set up with four (4) coupons in each beaker fully immersed using nylon strings. The set up was allowed to stand for an exposure time of 672hrs with a coupon withdrawn from each beaker every 168 hours and processed using standard procedures before being reweighed using digital weighing balance. The weight difference for each coupon was obtained and used for corrosion rate calculation using the formula, CPR= K∆W/ρAt. Other corrosion parameters were also obtained using the relevant formulae: inhibition efficiency, IE%=(〖CR〗_c-〖CR〗_i)/〖CR〗_c ×100 and surface coverage, , θ=(〖CR〗_c-〖CR〗_i)/〖CR〗_c .The results obtained indicated that the normal corrosion rate profile for passivating metals was followed with the weight loss by the coupons being higher in the control media than those ones in the inhibited media. It was also observed that increase in volumes of these extracts from 5ml to 20ml decreased the corrosion rate of mild steel in the media. We found that in both media Cnidoscolus aconitifolius (Chaya) exhibited high inhibition efficiencies of 78.14% in H2SO4 and 64.15% in NaCl at extract concentration of 20 ml. Plots of the Langmuir adsorption isotherms suggest uniform surface covering of the adsorbent molecules at equilibrium state of the adsorbate–adsorbent system, with very strong adsorption forces. Based on these findings, the results suggest that Cnidoscolus aconitifolius (Chaya) leaves extract is a veritable green inhibitor for both acidic and salt media and can be a suitable alternative to the synthetic inhibitors widely used in the oil and gas industry.