EU chiefs Donald Tusk and Jean-Claude Juncker have backed Turkish President Recep Tayyip Erdogan's government and urged a "swift return" to normal after a coup attempt.
"The tensions in and challenges for Turkey cannot be solved with guns," EU President Tusk told reporters during an Asia-Europe summit in Mongolia.
"Military coups have no place in modern Turkey. There is no alternative to democracy and the rule of law."
The comments followed a joint statement by Mr Tusk, European Commission head Mr Juncker, and EU foreign policy head Federica Mogherini calling for "a swift return to Turkey's constitutional order."
"Turkey is a key partner for the European Union. The EU fully supports the democratically elected government, the institutions of the country and the rule of law," it added.
EU representatives at the gathering met earlier in the day to discuss the unfolding situation.
In pictures: Attempted coup foiled in Turkey
Brussels will be watching with deep concern as events progress in Turkey, a key partner on its southeastern flank which has been trying to join the EU for many years without success.
Turkey is also a crucial partner for the EU because of the controversial deal they signed in March to tackle the migration crisis.
Under the deal, Ankara agreed to take back migrants and refugees from the Greek islands and to stop people crossing the Aegean Sea. In return it is to get aid and visa-free travel for 80 million Turks to the EU.
The bloc overcame its aversion to Erdogan's increasingly authoritarian rule, which has received sharp criticism from the EU, to sign the deal.
Tusk said it was "too early to speculate" on the potential consequences of the coup attempt.
"The key question will be what kind of Turkey comes out from this crisis," he said, adding that how the country deals with the consequences "will be crucial not only for Turkey but the whole region and of course EU-Turkey relations."
"Our hope and intention is of course to keep Turkey as a key partner," he said.
NATO and US President Barack Obama have also backed the country's democratic institutions following the coup attempt.
Turkey will now likely dominate an EU foreign ministers' meeting on Monday which will also be attended by US Secretary of State John Kerry.
Minister for Foreign Affairs and Trade Charlie Flanagan urged Irish travellers to "avoid non-essential travel to Turkey in the context of the "unsettled and fluid situation".
He continued: "My first concern is for the safety of Irish people travelling to Turkey and those who are already in Turkey. Many thousands of Irish people holiday there each year.
"The Irish embassy in Ankara is providing consular assistance on the ground in Turkey. Any citizens who have concerns can call our consular services on 01 408 2000."
Irish citizens considering travel to Turkey are advised to delay travel until the situation becomes clearer @dfatirl
— DFATravelWise (@dfatravelwise) July 15, 2016