The flotilla was formed in Königsberg, in April 1944 under the command of Fregattenkapitan Hermann Rigele. It trained mostly Type XXIII U-boats. It was transferred to Hamburg in January 1945, and in March put under the command of Korvettenkapitän Ulrich Heyse.