German submarine U-87 was a Type VIIB U-boat of Nazi Germany's Kriegsmarine during World War II. The submarine was laid down on 18 April 1940 at the Flender Werke (yard) at Lübeck as yard number 283 and launched on 21 June 1941. She was commissioned on 21 June under the command of Kapitänleutnant Joachim Berger. U-87 trained with 6th U-boat Flotilla until 1 December 1941, when she was put on front-line service. U-87 sank five ships in her one-year career; she was a member of five wolfpacks.