The appointment was made following the overseas departure of IGP Priyantha Weerasuriya.
Dharmaratne will oversee the duties of the IGP until Weerasuriya returns to the country, police said.