They said that the raids hit three training bases of the Ezzedine al-Qassam brigades, the military wing of Hamas, in Gaza City and a fourth in the southern city of Khan Yunis.
An Israeli military statement spoke only of three hits in total and did not give their location or identify the targets.
“Yesterday, June 3, 2015, two rockets were launched at southern Israel from the Gaza Strip,” it said, adding that they fell on open ground near the southern city of Ashkelon and the town of Netivot. “No injuries were reported.”
“In response to this attack, the Israel Defence Forces struck three terror infrastructures in the Gaza Strip,” it said.
Defence Minister Moshe Yaalon blamed the territory’s de facto rulers Hamas for the rocket fire.
“We will hold Hamas responsible for everything that happens in the Gaza Strip and we will not tolerate any attempt to harm our citizens,” he said in a statement.
“We will not compromise the security of Israeli citizens and we will not accept a return to a situation of regular fire (from Gaza).”
On Wednesday night Israeli police reported that three rockets were fired but that patrols were searching to find where they had fallen.
There was no immediate claim of responsibility, but Israel has a general policy of holding Hamas responsible for every rocket attack from the territory under its control, no matter which group actually launched it.
Israeli public radio said the latest volley could be related to internal Gaza infighting between Hamas and its extremist opponents.
Hamas security forces on Tuesday shot dead a Salafist leader in Gaza City Tuesday during a confrontation.
The incident came as Hamas stepped up measures against militants belonging to Islamic extremist groups, some of whom are known as Salafists.
Salafists are Sunni Muslims who promote a strict lifestyle based on that of early “pious ancestors”. In Gaza they have made no secret of their disdain for Hamas over its observance of a tacit ceasefire with Israel and its failure to implement Islamic law.
Since last summer, when Israel and Hamas fought a deadly 50-day war in and around Gaza, there have been growing signs of internal unrest between Hamas security forces and extremist splinter groups.