German submarine U-877

German submarine U-877 was a Type IXC/40 U-boat built for and operated by the Kriegsmarine during the Second World War. The ship was ordered on 2 April 1942, laid down on 22 May 1943, and launched on 10 December 1943. She was commissioned into the Kriegsmarine under the command of Kapitänleutnant Eberhard Findeisen on 24 March 1944. Initially assigned to the 4th U-boat Flotilla, she was transferred to the 33rd U-boat Flotilla on 1 December 1944.

She carried out a single war patrol, departing Horten on 25 November 1944. Two days later she was attacked by Bristol Beaufighters of No. 489 Squadron, which launched two depth charges at her. She crash dived, escaping the attackers, but losing her radar antenna.

U-877 was attacked on 27 December 1944 in the North Atlantic, north-west of the Azores, by the Royal Canadian Navy's Castle-class corvette HMCS St. Thomas (K488). She was badly damaged by St. Thomas's squid mortar and sank at position 46.41667°N, -36.63333°W, after her crew had abandoned ship. All 56 were picked up by St. Thomas.