"Naval forces, as part of their mission to secure the Mediterranean coast, spotted three suspicious fishing boats off the coast of Alexandria," the military said on its Facebook page.
"While inspecting them, they found, in addition to 17 crew, 228 people of different nationalities who were trying to emigrate illegally from Egypt," the statement said.
It did not disclose the identities of the migrants or of the crew, but said they were taken to a naval base in Alexandria. It also did not say when the operation took place.
In one picture a soldier bandaged the foot of a man and in another a soldier handed out plastic water bottles.
The UN refugee agency UNHCR yesterday said 366,402 migrants had crossed the Mediterranean to Europe this year, with 2,800 dying or going missing en route.