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 look ahead at the forecast for the Border region.
Pictures from the commemoration marking the centenary of the Quintinshill rail disaster, which killed more than 200 people, is underway.
The 100th anniversary of Britain's worst rail disaster will be commemorated at a special service today.