Sirens alerted residents that rockets were coming into the area just after 9 p.m. local time on Thursday. Hours later, Israeli aircraft carried out the strikes.
The rockets were fired at Tel Aviv by the Islamic Jihad group, according to Israeli media.
There were no injuries and no damage reported in Israel.
On Friday, Hamas cancelled protests near the border with Israel, which have been taking place on a weekly basis, in a possible attempt to deescalate the situation.
Both Israel and Hamas agreed to cease fire for the time being, according to The Times of Israel.