German submarine U-2335 was a Type XXIII U-boat of Nazi Germany's Kriegsmarine during World War II. She was ordered on 20 September 1943, and was laid down on 20 July 1944 at Deutsche Werft, Hamburg, as yard number 489. She was launched on 31 August 1944 and commissioned under the command of Leutnant zur See Karl-Dietrich Benthin on 27 September 1944.