Swimming in the ocean or pool is fine, but the life of your treatment may be compromised if you swim regularly. A leave-in serum or conditioner is a great product to apply before swimming to protect the hair from the elements such as chlorine and salt in the water.