The Metropolitan Police said John Murphy, 31, from Barnet, was charged in the early hours of Monday morning and will appear at Highbury Corner Magistrates’ Court on Tuesday 19 March.
Murphy allegedly screamed “When you vote you get what you vote for” as he came from behind and smacked Corbyn with an egg.
Corbyn continued with his planned programme of constituency events at the Finsbury Park Mosque and Muslim Welfare House.
Corbyn, along with shadow home secretary Diane Abbott, had been speaking with community leaders for a national Visit My Mosque Day event.
He was unharmed and left with a police escort at around 6.30pm.
The Labour leader’s attacker was not a regular guest there and had been waiting inside the building.
The incident happened in Seven Sisters Road, and a police van could later be seen in the driveway of the centre.
Corbyn later tweeted: “Every year Muslim communities across the country open their doors to people of all faiths and none on #VisitMyMosque Day. It’s a fantastic opportunity to build understanding across communities and educate ourselves about our diverse communities. Let’s build bridges not walls.”
Finsbury park Mosque was the target of a terror attack in 2017, when unemployed Darren Osborne deliberately mowed down worshippers outside.