The attacker Muhaydin Mire, of Sansom Road in east London, appeared before Westminster Magistrates' Court here and will now face a hearing at the Old Bailey starting December 11.
Prosecutors said last week's knife attack was an act of terror, with images and flags associated with the Islamic State (IS) terror group found on his phone after the attack.
A 56-year-old man was left with "serious" stab wounds and another person was injured during the attack at 19:00 GMT at the busy Leytonstone Tube station on Saturday.
Mire was arrested after being Tasered by police officers.
More From This Section
Detectives from Scotland Yard's Counter-Terrorism Command searched a home in east London over the weekend and questioned the suspect, who was seen shouting "This is for Syria" in amateur video footage of the incident.
Police are examining whether the suspect may have a history of mental health problems.
Deputy Chief Constable Adrian Hanstock of Transport Police has appealed to anyone with photos or video of the attack at the Central Line Tube station to contact the force.
"We would like to reassure passengers and people travelling this morning that we've increased our staff - they'll see a lot of police officers across the network, as well as some of our supporting and complementary teams that provide a more specialist response," he said.
Reports said Mire was most likely a 'lone wolf' who may have been inspired to act following Britain's decision last week to bomb IS targets in Syria and Iraq.
Salim Patel, the Tube station's shopkeeper who saw the attack unfold, told 'The Telegraph' he believed the attacker was Somalian or Sudanese and shouting with an "Arabic accent" to all passersby.
Patel said, "He was hitting and punching the victim so hard he fell on the floor and then he kicked him for a long time. He was a strong man. He was punching like a boxer. Everyone was shouting and screaming and he was punching the victim so hard he was screaming 'somebody help me'. Then he got punched so hard he passed out. He then took his knife out and was using it on the victim's body. His knife was going forward and backwards".
This is the first terrorist attack on British soil since the murder of fusilier Lee Rigby in May, 2013.
Britain is on its second-highest terror alert level of "severe", meaning a militant attack is considered highly likely, mainly because of the threat posed by IS militants who are encouraging supporters to attack the West.