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.


Six killed in Swiss bus blaze after person reportedly sets themselves on fire
US says it destroyed mine-laying vessels as Trump warns Iran over strait
Britain working with allies to support shipping through Strait of Hormuz
Wildlife to replace humans on next series of UK banknotes
Five Iranian women's soccer players granted humanitarian visas in Australia
Almost 700,000 displaced after Israeli strikes on Lebanon, UN agencies say
British warship HMS Dragon departs for Eastern Mediterranean
One dead, several injured in Iranian attack on Manama building
