The third carriage of the train between Malaga and Seville derailed at 10.21 this morning at Arahal, injuring 35 people, two of them seriously.
The train had left Malaga at 7.40am and was carrying 79 passengers at the time of the accident.
Heavy rain is believed to have been the cause of the derailment.
The track had been closed earlier because of the bad weather and had reopened at 9.25am.
Passengers planning to travel by train between Malaga and Seville will be transported by coach for the rest of the day, and those coming from Almeria will be transferred to coach for the stretch between Granada and Seville.