Egypt's new military rulers permanently opened the Rafah terminal late last week, ending a four-year blockade of Gaza imposed by ousted Egyptian President Hosni Mubarak in cooperation with Israel.
But Hamas abruptly shut down the terminal on Sunday, citing repeated delays at the crossing. Egypt had also closed the passage without notice a day earlier.
On Wednesday, terminal director Ayoub Abu Shaer said the crossing was reopened after Hamas reached an unspecified agreement with Egypt.
Abu Shaer says priority for passage will be given to medical cases and to people who were unable to leave Gaza late last week.