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
10,000 children have increased their chances of avoiding flu this winter after a county council campaign saw figures soar by 40%.
A look ahead over the festive period.
Boxes of Hope, Cumbria, the charity which gets local communities together and helps deprived children in Eastern Europe.