People were warned not to travel on South Western Railway services to Waterloo following the incident this morning.
A train struck an object in the Walton area and the line had to close between Woking and Surbiton.
Network Rail Wessex says early investigations show the front wheels of a train derailed but no one was injured.