U-97 was laid down at the Friedrich Krupp Germaniawerft in Kiel as yard number 602.
Serving with the 7th U-boat Flotilla, U-97 completed training in late 1940 and early 1941 before commencing operations.