SM UB-2 was a German Type UB I submarine or U-boat in the German Imperial Navy (German: Kaiserliche Marine) during World War I. She sank eleven ships during her career and was broken up in Germany in 1920.