|Active||November 1939–March 1945|
|FrgKpt. Karl-Friedrich Merten|
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. Unterseebootsausbildungsflottille in April 1940, and then 24. Unterseebootsflottille in June 1940.
The flotilla trained new U-boat commanders in attack techniques in the Kommandantenschiesslehrgang ("Commanders shooting training course"). The course lasted four weeks and trained 10 to 12 officers each time. The flotilla was disbanded in March 1945.
- Danzig (November 1939–June 1940)
- Memel (June 1940–June 1941)
- Trondheim (June–September 1941)
- Memel (September 1941–October 1944)
- Gotenhafen (October 1944–February 1945)
- Eckernförde (February–March 1945)
- Korvettenkapitän Hannes Weingärtner (November 1939–July 1942)
- Kapitän zur See Rudolf Peters (July 1942–January 1943)
- Fregattenkapitan Karl-Friedrich Merten (March 1943–May 1944)
- Korvettenkapitän Karl Jasper (May–July 1944)
- Fregattenkapitan Karl-Friedrich Merten (July 1944–March 1945)
Fifty-three U-boats were assigned to this flotilla during its service.
- "uboat.net - Boats - Flotillas - 24th Flotilla". uboat.net. Archived from the original on 7 February 2010. Retrieved 13 February 2010.