German submarine U-1227 was a Type IXC/40 U-boat of Nazi Germany's Kriegsmarine during World War II.
The submarine was laid down on 1 February 1943 at the Deutsche Werft yard at Hamburg, launched on 18 September 1943, and commissioned on 8 December 1943 under the command of Oberleutnant zur See Friedrich Altmeier.
The submarine was powered by two MAN M 9 V 40/46 supercharged four-stroke, nine-cylinder diesel engines producing a total of 4,400 metric horsepower (3,240 kW; 4,340 shp) for use while surfaced, two Siemens-Schuckert 2 GU 345/34 double-acting electric motors producing a total of 1,000 shaft horsepower (1,010 PS; 750 kW) for use while submerged.
[3] When submerged, the boat could operate for 63 nautical miles (117 km; 72 mi) at 4 knots (7.4 km/h; 4.6 mph); when surfaced, she could travel 13,850 nautical miles (25,650 km; 15,940 mi) at 10 knots (19 km/h; 12 mph).
She torpedoed one of the escorts, the Canadian River-class frigate HMCS Chebogue, during the pursuit.