Israeli rockets struck what the army calls "terror targets" in Gaza overnight Thursday, hours after two rockets were fired toward Tel Aviv.
The military gave no other details, but Palestinian media say the rockets were fired at the southern Gaza port of Khan Yunis.
There are no reports of damage or casualties.
Just hours earlier, two rockets were fired toward Tel Aviv from Gaza, setting off air raid sirens across much of central Israel.
The army said Israel's Iron Dome missile defense system intercepted one of the rockets while the other one likely fell on open ground.
It is unclear which militant group fired the rockets. Hamas, which rules Gaza, and Islamic Jihad both say they were not responsible.
But some Israeli officials said during an emergency security meeting late Thursday that Hamas must be held responsible.
Tension between Israel and the Palestinians in Gaza have increased in recent weeks.
A Palestinian rocket was fired into Israel last Saturday. Israel retaliated with airstrikes on Hamas targets.