The four Turks, two Syrian nationals and one Tajik aimed to 'create chaos' in Turkey, police said. Two of the Turks were thought to have joined the ranks of ISIS, which holds territory in neighbouring Syria and Iraq.
ISIS has been blamed for at least half a dozen attacks on civilian targets in Turkey in recent months, including one on New Year's Day at Istanbul's Reina nightclub which killed 39 people.
The police said they had also seized identity cards, mobile phones and passports in the raids in four districts of Istanbul since last week.
Turks will vote on Sunday on constitutional changes that would give President Tayyip Erdogan sweeping new powers. Supporters say that will strengthen the country at a time when it faces threats from ISIS and Kurds. Opponents fear a lurch towards authoritarianism in Turkey.
Security efforts have been tightened ahead of the vote, but Kurds on Wednesday claimed responsibility for a bomb attack on a police compound in southeast Turkey that killed three people.
NATO member Turkey is part of the US-led coalition fighting ISIS and it launched an incursion into Syria in August to drive the terrorist group from its borders.
(Reporting by Tuvan Gumrukcu, Editing by Isabel Coles and Louise Ireland)