An explosion occurred on the northern border of Gaza Wednesday afternoon, the second of the day.
In a statement, the IDF said the unit stationed in the area "returned fire into Gaza using tanks" in response.
There were no injuries among security forces, the IDF noted.
The IDF does not yet know who was behind "both cross border incidents."
Palestinians in Gaza fired a mortar shell at an IDF unit carrying out operational work on the Gaza border fence earlier in the day..
In a similar response, a IDF tank carried out return fire at a Hamas position in the area, the military said.
There were no injuries among IDF soldiers.
The incident marked the second straight day in which Palestinians in Gaza fired at IDF soldiers on the border.