SM UB-126 was a German Type UB III submarine or U-boat in the German Imperial Navy (German: Kaiserliche Marine) during World War I. She was commissioned into the German Imperial Navy on 20 April 1918 as SM UB-126. UB-126 was surrendered 24 November 1918 in accordance with the requirements of the Armistice with Germany.