First Great Western Trains say that one of their drivers suffered serious cuts and bruises to his face after an object the size of a brick was thrown from a bridge.
The 'rock' smashed through the driver's window as the train made its way from Romsey to Salisbury.
The Portsmouth to Cardiff service was delayed by an hour. A doctor on board the train treated the injured driver and a South West Trains driver stepped in to take the locamotive to Salisbury.
More top news
Wednesday's weather for the west of the region
Dorset's Weymouth Beach has been named the UK's best by travellers, with Fistral Bay, Cornwall, coming in second place.
Wednesday morning's weather for the west of the region