<p>A process for treating a reverse osmosis membrane with a biocide to kill bacteria on or in the vicinity of a membrane by contacting a reverse osmosis membrane with a halogen biocide in combined form which slowly releases halogen in a sufficient amount to disinfect the membrane and to kill any bacteria and thereby eliminate or prevent forming a biofilm on said membrane.</p>