SM U-21 was a U-boat built for the Imperial German Navy shortly before World War I. The third of four Type U-19-class submarines, these were the first U-boats in German service to be equipped with diesel engines. U-21 was built between 1910 and October 1913 at the Kaiserliche Werft (Imperial Shipyard) in Danzig.

