Trump announced a US blockade of the Strait of Hormuz and warned Iranian vessels will be "immediately eliminated".
Iran's armed forces called the blockade an act of piracy and warned that no Persian Gulf port will be safe.
European leaders, including Spain, UK and EU Commission, refused involvement, urging restoration of freedom of navigation.
Oil prices rose above $100 per barrel and global stocks wobbled amid heightened tensions.