German submarine U-2530 was a Type XXI U-boat (one of the "Elektroboote") of Nazi Germany's Kriegsmarine, built for service in World War II. She was ordered on 6 November 1943, and was laid down on 1 October 1944 at Blohm & Voss, Hamburg, as yard number 2530. She was launched on 25 November 1944, and commissioned under the command of Kapitänleutnant Max Bokelberg on 30 December 1944.