The submarine was ordered on 24 June 1938 and laid down on 20 April 1939 as K XXVI at the Rotterdamsche Droogdok Maatschappij, Rotterdam. During construction she was renamed O 26. Following the German invasion of 10 May 1940, the not yet launched O 26 was captured at the yard by the invading forces.[2]