A US F-16 pilot has been rescued and is said to be in "good shape" after the crash. (AP: David Zalubowski/File)

A US F-16 pilot has been rescued after crashing near the Strait of Hormuz.

US officials are still working to determine whether the fighter jet was shot down or had mechanical issues.

President Donald Trump said the pilot was "in good shape".

US officials are scrambling to work out how and why one of its F-16 fighter jets crashed near the Strait of Hormuz.

The aircraft was flying a mission near the Middle East waterway when the aircraft crashed on Friday, US time.

US President Donald Trump said the pilot was rescued and is in "great shape", but was unsure whether the plane was shot down or suffered mechanical issues.

"We don't know exactly yet," Mr Trump told reporters in California.