I wash once a week, but I've heard rats have a tendency to pee more frequently if everything in the cage is cleaned, so I often clean the hammock at a separate time from everything else, about a day after cage cleanings.
My rats usually keep their hammock pretty clean though