 U-20 was armed with two 45 cm (17.7 in) torpedo tubes located in the front and carried a complement of two torpedoes. She was also equipped with a 66 mm / 26 (2.6 in) deck gun and an 8 mm (0.31 in) machine gun.
