Seventeen officers from Lothian and the Borders Police are being moved to other departments while misconduct inquiries continue.
The officers are being investigated after emails of a racist and sexual nature were allegedly found on an internal computer system.
Four civilian staff will also be moved to other departments, and a 51-year-old has already been suspended.
More top news
Cold winds bring a taste of winter.
Cumbria Fire and Rescue Service is reminding people to clear clutter that may be blocking escape routes in the event of a fire.
Researchers are tracing the relatives of the widows and mothers of soldiers killed in World War One, who wrote letters to 'agony aunt'.