The removal of heavy metals from desalter effluent is an important issue due to the toxicity of these pollutants. In this study, micellar-enhanced ultrafiltration (MEUF) is applied for the removal of heavy metals from synthetic desalter effluent. MEUF is a process in which surfactants above their critical micellar concentration (CMC) form micelles. Micelles bind compounds with low molecular weight; then, these are rejected by a semi-permeable membrane.Rhamnolipid is an anionic biosurfactant that has advantages such as biodegradability and low CMC. Rhamnolipid complexation with synthetic desalter effluent demonstrates high efficiency for heavy metal removal. The highest overall removal efficiency was reached at a rhamnolipid concentration of 300 mg/L with 94.07%, 81.93%, 99.81%, 76.00%, and 41.91% for Zn +2 , Mg +2 , Cu +2 , Mn +2 , and Na + , respectively. Additionally, loading capacity on rhamnolipid micelles was evaluated to have better selectivity for Mn +2-