Turkish support for Hamas

As part of Turkey's objective to play a mediating role in the region, the country tries to be on speaking terms with both Israel and Hamas. From time to time, Israel has suggested Turkey to support Hamas, while in other cases it has opposed the support.

Under the conservative leader Recep Tayyip Erdoğan, Turkey has become a stalwart supporter of the Palestinian militant group Hamas, which rules the Gaza Strip.

Unlike Israel, Turkey has never listed Hamas as a terrorist organistion. In 2010, Prime Minister Recep Tayyip Erdoğan described Hamas as "resistance fighters who are struggling to defend their land". Turkey hosts senior Hamas officials, including Saleh al-Arouri. Hamas head Ismail Haniyeh and former chief Khaled Meshal visit Turkey often.

According to Israel's Shin Bet, Hamas has established a command post in Turkey which it uses to recruit operatives and oversee operations in the Middle East. Hamas' Turkey branch reportedly takes decisions without taking into account the movement as a whole and without involving the Hamas leadership. Hamas has reportedly planned attacks against Israel from Turkey, including the abduction and killing of three Israeli teenagers in 2014. In 2020 Israeli diplomats charged Turkey with furnishing passports and identity cards to Hamas members in Istanbul.

The Turkish government met with Hamas leaders in February 2006, after the organization's victory in the Palestinian elections.

Israel suggesting to Turkey to support Hamas
Upon a visit to Israel from Turkish Prime Minister Mesut Yilmaz and Turkish lawmaker Feyzi İşbaşaran in 1998, it was revealed that Netanyahu suggested Turkey to support Hamas. Netanyahu said "Hamas also has bank accounts for aid in banks, we help them too, you [Turkey] can help too."

2023 Israel–Hamas war
Following the Hamas surprise attack on southern Israel on 7 October 2023, and the outbreak of the 2023 Israel–Hamas war, President Erdoğan lauded Hamas as "a liberation group, 'mujahideen' waging a battle to protect its lands and people." Erdoğan cancelled a planned visit to Israel.