The flotilla was founded at Danzig in November 1939 under the command of Korvettenkapitän Hannes Weingärtner as the Unterseebootsausbildungsflottille ("U-boat Training Flotilla"). It was redesignated 1.