Scharnhorst's primary armament consisted of eight  21 cms SK L/40 guns, four in twin gun turrets, one fore and one aft of the main superstructure on the centerline, and the remaining four mounted in single casemates.