In petroleum refineries, water is used in desalting units to remove the salt contained in crude oil. Typically, 7 % of the volume of hot crude oil is water, forming a water-and-oil emulsion. The emulsion flows between two electrodes and is subjected to an electric field. The electrical forces promote the coalescence of small droplets of water dispersed in crude oil, and these form bigger droplets. This paper calculates the forces acting on the droplets, highlighting particularly the mechanisms proposed for droplet-droplet coalescence under the influence of an applied electric field. Moreover, a model is developed in order to calculate the displacement speed of the droplets and the time between droplet collisions. Thus, it is possible to simulate and optimize the process by changing the operational variables (temperature, electrical field, and water quantity). The main advantage of this study is to show that it is feasible to increase the volume of water recycled in desalting processes, thus reducing the use of freshwater and the generation of liquid effluents in refineries.