There is no hard and fast rule for how long to avoid swimming after dyeing hair, but people must protect their hair from the chemicals in the pool. It is also important to protect the hair from the sun.
After dyeing the hair, wear a swimming cap to swim in so that the hair is not loose in the pool, being affected by the chlorine and other chemicals. Adding a strengthening conditioner or olive oil to the hair can also prevent the absorption of chemicals for an extra layer of protection. When it comes to the sun, wear a hat and a spray that protects against ultraviolet rays.