There were no reports of casualties in Israel. Two rockets had been fired from Gaza, the Israeli military said, one of which fell in the sea and the other had not reached Israeli territory.
Hamas' military wing said in a statement: "We have bombed the city of Tel Aviv and its suburbs with two 'M90' missiles in response to the Zionist massacres against civilians and the deliberate displacement of our people."
Israeli airstrikes killed 19 Palestinians in the central and southern Gaza Strip on Tuesday, medics said. Hamas last claimed firing rockets at Tel Aviv in May.