Jorge Fernandez Diaz said Francisco Jose Garzon Amo, who was slightly hurt in Wednesday’s accident, had been taken to a police station.
Francisco Jose Garzon Amo is suspected of driving too fast on a bend. Reports say the train was travelling at more than double the speed limit at the time of the crash.
The 52-year-old driver has refused to answer questions.
At least 130 people were taken to hospital after the accident near the north-western city of Santiago de Compostela.
Thirty-two people were seriously injured, including children.
People from several nationalities were among the wounded, including five Americans and one Briton. One American was among the dead.
Prime Minister Mariano Rajoy, who hails from the city of the crash, declared three days of official mourning on Thursday.
A judge was due to interview Francisco Jose Garzon Amo on Sunday, the interior minister said.
“He has been detained for the alleged crimes of reckless manslaughter,” Jorge Fernandez Diaz said.
“There are reasonable grounds to consider that he may have been responsible for what happened, which must be established by a judge and the investigation.”
The driver had been under police surveillance in hospital since the accident but he was discharged on Saturday and taken to a police station.
Police said Francisco Jose Garzon Amo had refused to answer their questions while he was in medical care.
State rail operator Renfe said the train came off the tracks about 3 or 4 km (2-2.5 miles) from Santiago de Compostela station at 20:41 local time on Wednesday.
The accident occurred on the express route between the capital, Madrid, and the port city of Ferrol on the Galician coast, with 218 passengers on board and four crew.
Footage captured by a security camera shows the train crashing as it hurtled round a bend.
The train’s data recording “black box” is with the judge in charge of the investigation.
It is unclear whether anyone else is subject to investigation.
Renfe president Julio Gomez Pomar was quoted by El Mundo newspaper as saying the driver had 30 years of experience with the company and had been operating trains on the line for more than a year.
Gomez Pomar said the train had no technical problems.
The derailment happened on the eve of Santiago de Compostela’s main annual festival where thousands of Christian pilgrims were expected to flock to the city in honor of St James.
The local tourism board cancelled all festivities as the city went into mourning.
According to official figures, the crash is one of the worst rail disasters in Spanish history.
lhZdx-kE12QAt least 158 people have died in Spain's worst flooding disaster in generations. On October…
Google has been fined two undecillion (a two followed by 36 zeroes) roubles by a…
Embarking on a home remodel is an exciting journey, promising enhanced comfort, increased property value,…
The US presidential candidates continued to campaign across key swing states on October 20. Footage…
Elon Musk has said he will give away $1 million a day to a registered…
India and Canada have decided to expel their top envoys along with other diplomats as…