The effects of sand erosion on the performance of an Imidazoline based inhibitor for sweet corrosion of carbon steel have been studied in a flow loop using an impinging jet test cell and metal loss measurement techniques including Weight Loss Linear Polarization Resistance (LPR) Potentiodynamic Polarization 3D profilometery and Electrochemical Impedance Spectroscopy (EIS). The inhibition mechanism and the relation between inhibitor concentration and corrosion penetration rate were described by the Flory-Huggins Frumkin and Langmuir adsorption isotherms in two different sets of pH and temperature. Flow loop tests indicated that sand particle erosion reduces the efficiency of the inhibitor by removing the inhibitor protective layer from the metal surface and also in a lesser sense by the adsorption of inhibitor onto sand particles. Results indicate that an increased concentration of inhibitor in sand production may increase inhibitor effectiveness. A semi-empirical correlation is suggested for predicting the inhibited erosion-corrosion rate based on the Frumkin and Langmuir isotherms together with mechanistic models for predicting CO2 corrosion rates and sand particle erosion rates.