The German Imperial Navy was having difficulties in finding trained submarine crews and offered to sell UB-47 and a sister boat UB-43 to the Austro-Hungarian Navy. After the terms were agreed to in June 1917, both boats were handed over at Pola. When commissioned into the Austro-Hungarian Navy, the B in her designation was dropped so that she became U-47 or U-XLVII.