"There is a role for nearly every country in the world to play, including Iran," Kerry said.
Earlier this week, Iran's supreme leader Ayatollah Ali Khamenei said that he had personally rejected overtures from the US for cooperation in fighting IS.
Kerry: There is a role for nearly every country in the world to play
Iranian Foreign Minister Mohammed Javad Zarif also warned that the "dangerous phenomenon" of IS would not be "eradicated through aerial bombardments".
Kerry's comments came as Tehran and the six world powers - China, France, Russia, Britain, US and Germany - Friday began fresh round of talks on Iran's disputed nuclear programmes.
The US and France are the only countries so far to have announced taking a military approach in the fight against the IS.
President Francois Hollande said French jets carried out their first strikes Friday, hitting an IS depot in Iraq. The US has carried out over 170 air strikes against the militant group in Iraq since August.