Thirteen Israelis and four Thai nationals arrived in Israel on Sunday in the second release of hostages from Hamas captivity in exchange for Palestinian prisoners.
The captives were handed over to the International Committee of the Red Cross late on Saturday.
Six of the 13 Israelis released were women and seven were teenagers or children.
Meanwhile, Israel released 39 Palestinians - six women and 33 minors - from two prisons, the Palestinian news agency WAFA said.
Some of the Palestinians arrived at Al-Bireh Municipality Square in Ramallah in the Israeli-occupied West Bank, where thousands of people awaited them.
Saturday's swap follows the previous day's initial release of 13 Israeli hostages in return for the release of 39 Palestinian women and teenagers from Israeli prisons.
On Friday, Hamas also released a Philippine national and 10 Thai farm workers.


India's parliament approves landmark bill to expand legislatures
Nepal declares dead thousands missing since August floods
Russian strike on Kyiv shopping mall kills four, after days of deadly attacks
North Korea's Kim tours Tianjin as China state visit extends to third day
4 injured after debris from intercepted Houthi missile falls on Riyadh tower
'Do not ignore this': Big Tech warns world to adopt advanced encryption as AI advances
Bangladesh ex-PM Hasina defers planned homecoming, party leader says
German embassy damaged as Russia pounds Ukraine, killing at least 21
