She was built by Blohm & Voss of Hamburg and following just under a year of construction, launched at Hamburg on 1 September 1917. UB-104 was commissioned later the same year under the command of Oblt.z.S. Ernst Berlin. Like all Type UB III submarines, UB-104 carried 10 torpedoes and was armed with a 8.8 cm (3.46 in) deck gun. UB-104 would carry a crew of up to 3 officer and 31 men and had a cruising range of 7,420 nautical miles (13,740 km; 8,540 mi). UB-104 had a displacement of 519 t (511 long tons) while surfaced and 649 t (639 long tons) when submerged. Her engines enabled her to travel at 13.3 knots (24.6 km/h; 15.3 mph) when surfaced and 7.4 knots (13.7 km/h; 8.5 mph) when submerged.
^Helgason, Guðmundur. "WWI U-boat commanders: Ernst Berlin". German and Austrian U-boats of World War I - Kaiserliche Marine - Uboat.net. Retrieved 9 March 2015.