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
A man involved in a violent burglary while on police bail for leaving a baby home alone has been locked up by a judge
The weekend is hours away - and if you are in Cumbria you have the bonus of it being a Bank Holiday.
Changes to maternity services in Cumbria are "likely", according to the Chief Executive of the NHS Trust that runs the hospitals.