German submarine U-842

German submarine U-842 was a Type IXC/40 U-boat built for Nazi Germany's Kriegsmarine during World War II.

U-842 was ordered in January 1941 from DeSchiMAG AG Weser in Bremen under the yard number 1048. Her keel was laid down on 6 April 1942 and the U-boat was launched on 14 November the same year. She was commissioned into service under the command of Kapitänleutnant Wolfgang Heller (Crew 30) in 4th U-boat Flotilla on 1 March 1943.

Transferred to the 2nd U-boat Flotilla, U-842 left Kiel on 14 September 1943 for Bergen where she arrived three days later. On 5 October 1943. U-842 set out for operations in the North Atlantic, where she joined operations against convoy ONS-20. The U-boat escaped an attack by one of the escorts, HMS Bazely (K311) on 17 October unscathed, joining group Siegfried operating against convoy HX 262 on 23 October, and group Siegfried 3 on 26 October. In the final days of October, she was part of group Jahn off Newfoundland. In early November U-842 was among the U-boats of group Tirpitz attacking convoy HX 264, when she was spotted and attacked by an aircraft in the early afternoon of 6 November 1943. Escort Group 2, consisting of HMS Wild Goose, HMS Magpie (U82), and HMS Starling (U66), attacked the U-boat two hours later, and after more than one hour, U-842 was sunk by depth-charges from Wild Goose, there were no survivors.