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
Cumbria Police has defended its decision to spend one £1.8 million on replacing traditional notebooks with new electronic devices.
Hundreds of people have turned out at the Border Reivers festival in Hawick today.
A brighter afternoon but windy with showers. Further rain/showers into Sunday. Some sunshine developing but winds staying strong and cooler