An American was stabbed in the neck as he came out of the US embassy in central Cairo on Thursday, a security official told AFP.
The American was rushed to hospital after the attack in Cairo's Garden City neighbourhood near Tahrir Square, which houses several embassies and has seen a rise in crime and unrest in recent months.
Police guarding the embassy managed to arrest the assailant, described only as "an unemployed man" by the security official, who requested anonymity.
The motive for the attack and the condition of the victim national remain unclear.
Insecurity has surged in Egypt since the 2011 uprising that toppled Hosni Mubarak, with a rise in reported robberies and random crimes.