The constituency was created by the Great Reform Act for the 1832 general election as a parliamentary borough, Whitby being at that point one of the most prosperous towns in England which had not previously been represented.
Whitby's shipbuilding industry had been in decline even before the new borough was established, and by 1885 a separate MP for the town could no longer be justified.