Iran had accused the vessel, the MT Riah, of smuggling contraband fuel when it was detained, amid mounting tensions between the Iranian government and Britain and the United States over shipping in the Strait of Hormuz.
The release left 21 other Indians in Iranian detention, including three others from the MT Riah and 18 from the British-flagged Stena Impero, which was captured by Iranian forces last week.