19th century
Until the late 19th or early 20th century, scientists were commonly referred to as "natural philosophers" or "men of science".
English philosopher and historian of science William Whewell coined the term scientist in 1833. It first appeared in print in his anonymous 1834 review of Mary Somerville's On the Connexion of the Physical Sciences, published in the Quarterly Review.
In the review, Whewell discussed what he described as an increasing tendency toward specialization within the sciences. As highly specific terms such as chemist, mathematician, and naturalist became common, the broader term philosopher no longer adequately described those engaged in scientific study. Whewell contrasted this trend with Somerville's aim of demonstrating how distinct branches of science had historically been unified through general principles.
Whewell reported that members of the British Association for the Advancement of Science had expressed concern over the absence of a suitable collective term for "students of the knowledge of the material world." Referring indirectly to himself, he noted that "some ingenious gentleman" had proposed the word scientist by analogy with artist, arguing that similar formations such as economist and atheist were already in use. The suggestion, however, was not immediately well received.
Whewell later proposed the term again, more explicitly, in his 1840 work The Philosophy of the Inductive Sciences.
The terminations ize (rather than ise), ism, and ist, are applied to words of all origins: thus we have to pulverize, to colonize, Witticism, Heathenism, Journalist, Tobacconist. Hence we may make such words when they are wanted. As we cannot use physician for a cultivator of physics, I have called him a Physicist. We need very much a name to describe a cultivator of science in general. I should incline to call him a Scientist. Thus we might say, that as an Artist is a Musician, Painter, or Poet, a Scientist is a Mathematician, Physicist, or Naturalist.
He also proposed the term physicist as a counterpart to the French physicien. Neither term gained widespread acceptance immediately. Scientist became common in the late 19th century in the United States and around the turn of the 20th century in Great Britain.
By the twentieth century, the modern concept of science as a distinct body of knowledge, practiced by a specialized community and pursued through recognized methods, had become firmly established.