 Built at Hamburg, she was constructed at speed, as she and her sisters were seen as war winning weapons and thus vitally important to the German war effort.Like all Type XXIII U-boats, "U-2331" had a displacement of when at the surface and while submerged.She had a total length of (o/a), a beam width of (o/a), and a draught depth of.