|Ordered||5 Jun 1941|
|Laid down||12 May 1942||Deutsche Werft AG, Hamburg (werk 361)|
|Launched||18 Dec 1942|
|Commissioned||10 Mar 1943||Kptlt. Lorenz Kasch|
|Successes||No ships sunk or damaged|
Sunk 17 Oct 1943 east of Cape Farewell, Greenland, in position 58.38N, 31.56W, by depth charges from 2 British Liberator aircraft (Sqdn. 59/D & 120/H). 55 dead (all hands lost).
U-540 operated with the following Wolfpacks during its career:
Schlieffen (16 Oct 1943 - 17 Oct 1943)
Men lost from U-boats
Unlike many other U-boats, which during their service lost men due to accidents and various other causes, U-540 did not suffer any casualties (we know of) until the time of her loss.