 After obtaining a BSc at Bristol University he became a geography teacher and later lectured at Bristol Polytechnic.Cocks contested Bristol West in 1959 and South Gloucestershire in 1964 and 1966.He was Member of Parliament for Bristol South from 1970 until 1987, after being deselected as a candidate in 1986 and replaced by Dawn Primarolo.