Fareham station was first opened by the London and South Western Railway (LSWR) in 1841 on the line from Eastleigh to Gosport.
There was also a line to Alton via the Meon Valley, branching from the Eastleigh route at Knowle, north of the tunnel.