In this study, surfactants were used to enhance heavy oil–solid separation, and a detailed mechanism was explored by SARA (saturates, aromatics, resins, asphaltenes) analysis, element analysis, AFM measurement, and molecular dynamic simulation. Surfactants could effectively decrease oil/solid interaction force and then oil–solid separation would be enhanced. The oil–solid interactive force was in relation to surfactants concentration, pH value, asphaltene content, and salinity. The molecular dynamics simulation results show that the dissociation of saturated hydrocarbon, aromatic hydrocarbon, resin, and asphaltene (SARA) on carbonate minerals is gradually weakened for all surfactants. In the process of molecular dynamics simulation of surfactant stripping SARA, firstly, the surfactant molecules adsorb on the surface of SARA molecules. After that, the surfactant peels SARA molecules off the surface of calcite under the influence of molecular thermal motion. In this process, surfactant molecules will not be directly adsorbed on the surface of trace minerals. The results of energy/temperature balance indicated that saturates, aromatics and resins could remain stable when the molecular dynamics simulation time reached 2000 ps with the phenomenon that saturates, aromatics could liberate from minerals totally within 2000 ps. The molecular dynamics simulation of asphaltenes will not liberate from calcite surface within 6000 ps, meanwhile, they could not reach the energy balance/energy balance within 6000 ps. The functional groups of surfactant molecules would have interactions with the SARA functional group, resulting in different dissociation effects of SARA. The results of molecular dynamics simulation are consistent with the experiment results. The separation effect of saturated hydrocarbon, aromatic hydrocarbon, resin, and asphaltene in five kinds of surfactants were different. The molecular dynamic simulation results were in accordance with the SARA analysis.