German submarine U-240 was a Type VIIC U-boat of Nazi Germany's Kriegsmarine during World War II. The submarine was laid down on 14 May 1942 at the Friedrich Krupp Germaniawerft yard at Kiel as yard number 670, launched on 18 February 1943 and commissioned on 3 April 1943 under the command of Oberleutnant zur See Günther Link.