When a German U-571 submarine with a sophisticated encryption machine onboard is sunk during a World War II battle at sea, the Allies send an American Navy force led by Lieutenant Andrew Tyler (Matthew McConaughey) to retrieve it for study.