How long after swimming in a pool should you wait to dye your hair?

I depends if it is a chlorinated pool. If so, wait 24-72 hours. If it is natural water, you do not have to wait.