SM U-27 or U-XXVII was the lead boat of the U-27 class of U-boats or submarines for the Austro-Hungarian Navy. U-27 was built by the Austrian firm of Cantiere Navale Triestino (CNT) at the Pola Navy Yard and launched on 19 October 1916. She was commissioned on 24 February 1917.