She was ordered on 2 April 1942, and was laid down on 30 April 1943, at Danziger Werft AG, Danzig, as yard number 142. She was launched on 14 October 1943, and commissioned under the command of Kapitänleutnant Martin Grasse on 1 March 1944.[2]