SM U-20 or U-XX was the lead boat of the U-20 class of submarines or U-boats built for and operated by the Austro-Hungarian Navy (German: Kaiserliche und Königliche Kriegsmarine or K.u.K. Kriegsmarine) during the First World War. The design for U-20 was based on that of the submarines of the Royal Danish Navy's Havmanden class (which had been designed by Whitehead & Co. in Fiume), and was largely obsolete by the beginning of the war.