Marcus Aurelio Arduini Monzo, of Newham, has also been charged with two counts of attempted murder, two counts of grievous bodily harm, aggravated burglary and possession of a bladed article, the Metropolitan Police said.
The dual Spanish-Brazilian national will appear at Barkingside Magistrates' Court on Thursday.
Daniel Anjorin, 14, died on Tuesday as he walked to school in Hainault.
Four other people were injured in the attack - two police officers who suffered wounds that require surgery, but are not life-threatening, and two members of the public whose injuries are also not thought to be life-threatening.
Chief Superintendent Stuart Bell, of the Metropolitan Police, said he did not believe the incident was a targeted attack, and it was not believed to be terror-related.
"It is with great sadness that I confirm one of those injured, a 14-year-old boy, has died. He was taken to hospital after being stabbed and sadly died shortly afterwards," Supt Bell said.
The sword-wielding suspect was tasered and arrested at the scene but has not yet been interviewed because of his injuries, the Met said.
Dramatic footage obtained by the PA news agency captured the suspect being cornered and tasered by officers on a residential driveway.
The video shows how officers shout at the suspect, saying "Don't move, don't f****** move" after he is brought to the ground by three separate taser discharges.
The words "suspect contained" are eventually heard as a female officer pulls the sword away from the attacker.
A Buckingham Palace spokesman said the King's "thoughts and prayers are with all those affected" by the "horrific" stabbings, adding: "In particular, the family of the young victim who has lost his life."
The force was initially called to reports of a vehicle being driven into a house.