Palestinian medical officials in Gaza say two men were killed in the airstrike as they were riding a motorcycle. They say the attack took place near the town of Beit Hanoun along the Israeli border.
The officials said the two men have not yet been identified. But the Israeli military says they were wanted militants.
The attack took place shortly after militants infiltrated Israel from Egypt's Sinai Peninsula nearby. It was not known whether the airstrike was a retaliation.