Tight environmental regulations coupled with the constant need to enhance water-based drilling mud performance for use in deeper formation where it can withstand high temperature, high pressure and high saline condition have always been an existential issue during drilling operations. This research compared the performance of biodiesel produced from waste vegetable oil with that of white oil 5#, used as additives in mud formulations. Their effectiveness was tested at high temperature high pressure, in the presence of monovalent and divalent electrolytes. The mud density, rheological behavior, yield point, fluid loss under high temperature and pressure, and cake thickness were examined.