The potential of tuned-composition waterflooding to enhance oil recovery from carbonate reservoirs has been widely investigated, where wettability alteration is the dominant mechanism. It is hypothesized that the sulfate in seawater adsorbs on the rock surface, removing acidic hydrocarbon species adsorbed thereon. Glycine, the simplest amino acid, has also been investigated as a wettability modifier for carbonates that acts similarly to sulfate.Wettability alteration by the adsorption of sulfate ion and glycine anion has been satisfactorily modeled by extending calcite's surface complexation model (SCM) based on zeta potential measurements. However, determining the relevance of the individual geochemical reactions is obscured by the complexity of the SCM. Moreover, the large number of equilibrium constants and their associated uncertainty result in many degrees of freedom when matching corefloods and spontaneous imbibition experiments.This research determines the chemical reactions in the calcite's SCM that govern wettability alteration and the incremental oil recovery by glycine-enhanced waterflooding in carbonate reservoirs. We found that the wettability alteration by SCM can be approximated by two anion exchange reactions between the wettability modifiers, sulfate and glycine anions, and the carboxylic acids adsorbed on the rock surface. Moreover, the wettability of the system described by the adsorption of carboxylic acids and the incremental oil recovery by waterflooding are linearly correlated with the K value of the reaction of carboxylic acids with the carbonate surface and the concentration of carboxylic acids in the system, which is a function of the total acid number.We present analytical solutions for the two-phase, multicomponent reactive-transport model coupled with anion exchange reactions. To the best of our knowledge, this is the first time the presented analytical solutions are applied to describe enhanced waterflooding in carbonate reservoirs where more than one wettability modifier is injected. The analytical solutions showed that glycine injection enhances oil recovery over waterflooding by the formation of two wettability alteration waves. The number of waves and their types (rarefaction or shock) depend on glycine's and sulfate's concentration at the injection. The improvement in oil recovery by wettability alteration mainly occurs because the more favorable mobility ratio increases the displacement efficiency with no reduction in residual oil saturation. A synergy was found between glycine and sulfate, where the presence of glycine promotes the formation of a wettability-alteration shock by sulfate that improves the displacement efficiency.