German submarine U-771 was a Type VIIC U-boat of the German Kriegsmarine during World War II. She was ordered on 21 November 1940, and was laid down on 21 August 1942 at Kriegsmarinewerft, Wilhelmshaven, as 'werk 154'. She was launched on 26 September 1943 and commissioned under the command of Oberleutnant Helmut Block on 18 November of that year.