Coke practised as a barrister on the Midland circuit. In 1773 and 1774 he was in Italy where he met Joseph Wright of Derby. Wright was not the first to note on what an attractive man Coke was, and Coke visited Wright at his abode in Italy. Coke is thought to be the only person who appears in a Wright painting and who also bought one of Wright's industrial landscapes.[2]
From 1776 to 1780 he was a Member of Parliament for Derby, then from 1780 to 1812 for Nottingham.[1]
From 1793, Coke supported the British government's policy on war with France. By the 1802 general election he was unpopular in Nottingham because of his support for the war, blamed for high food prices, and lost to Dr Joseph Birch of Preston. He petitioned against the result and in May 1803 won the new election. He fought Birch successfully again in 1806.[1] After retiring from parliament, Coke continued as chairman of the Derbyshire quarter sessions until 1818.