Harvard professor
Both Gray and Torrey were elected to the American Academy of Arts and Sciences in December 1841. Gray never returned to teach a course at Michigan. In 1833 Dr. Joshua Fisher, a resident of Beverly, Massachusetts, and a Harvard University alumnus, bequeathed $20,000 to Harvard to endow a chair in natural history. The university allowed the proceeds to accumulate until it could fund a full year's salary for a professor. Because of this and a few problems in finding a suitable professor, this chair was not filled until it was formally offered to Gray on March 26, 1842. The offer was $1,000/year salary, teaching duties limited to only botany, and being superintendent of Harvard's botanic garden. While the salary was low, the teaching limitation, rare for the time, allowed him plenty of time to do research and work in the botanic garden. After an exchange of letters, Gray accepted this appointment as Fisher Professor of Natural History at Harvard. The formal appointment was made April 30, 1842. Gray arrived at Harvard on July 22, 1842, and began his duties in September. He did not have to teach in the fall of 1842, but began in spring 1843, the first classes he had taught in nine years. Early in his years at Harvard, Gray had to borrow money from his father. Soon he was able to repay his father and help his family by supplementing his income giving lectures outside of Harvard, including at the Lowell Institute. Gray was considered a weak lecturer, but because of his expert knowledge, he was highly regarded by his peers. His skills were better suited to teaching advanced rather than introductory classes. He was also known for his textbooks and high quality illustrations. Gray moved into what became known as the Asa Gray House in the Botanic Garden in the summer of 1844. It had been built in 1810 for William Dandridge Peck and later occupied by Thomas Nuttall. As the demands of teaching, collecting, selling specimens, taking care of the herbarium, and writing books increased and he himself was not a good illustrator, Gray found it necessary to hire a botanical illustrator – Isaac Sprague, who illustrated much of Gray's works for decades to come.
By June 1848 many of the specimens from the Wilkes Expedition had been damaged or lost. Many were still not classified or published, as the mismanagement and bungling that had plagued the expedition before it ever departed continued. While on a trip to Washington, D.C., that month with his new bride, Gray was hired to study the botanical specimens for five years. This included a year in Europe, with his wife, using the facilities at the herbariums in Europe. Mr. and Mrs. Gray departed for England on June 11, 1850. They spent the summer traveling to Belgium, Switzerland, Germany, and the Netherlands. Gray then set down to work on the expedition's plant sheets at the estate of botanist George Bentham, whom he had met eleven years earlier, and then with William Henry Harvey in Ireland. Gray returned to England and settled into a routine at the Royal Botanic Gardens, Kew. The couple was back in America on September 4, 1851. In the meantime, a dispute had arisen between Wilkes and the team of Torrey and Gray about the format of the books resulting from the expedition. Gray almost hired his father-in-law to break the contract. This dispute largely centered on the use of Latin and English. Wilkes wanted a literal Latin to English translation while Torrey and Gray wanted a looser one because they felt that technical English terms were equally incomprehensible to the public. Much of the work was stymied or burned in fires.
In 1855, Torrey and Gray contributed a "Report on the Botany of the Expedition" to Volume II of the Reports of Explorations and Surveys to ascertain the most practicable and economical route for a railroad from the Mississippi River to the Pacific Ocean (known as the Pacific Railroad Surveys). The Report included a catalogue of plants collected along with 10 black and white plates for illustration.
During the late summer of 1855, Gray made his third trip to Europe. This was an emergency trip to bring his ill brother-in-law home from Paris. Gray spent only three weeks in London and Paris, and on the way back he read the newly published Géographie botanique raisonnée by Alphonse de Candolle. This was a ground-breaking book that for the first time brought together the large mass of data being collected by the expeditions of the time. The natural sciences had become highly specialized, yet this book synthesized them to explain living organisms within their environment and why plants were distributed the way they were, all upon a geologic scale. Gray instantly saw that this brought taxonomic botany into focus.
Despite Gray constantly seeking collectors and people to help him with the Harvard herbarium, in the first fifteen years he was at Harvard, no graduate entered botany as a career. This changed in 1858 with the arrival of Daniel Cady Eaton, who had graduated from Yale University in 1857 and came to Harvard to study with Gray. Eaton later returned to Yale to be a botany professor and oversee its herbarium, just as Gray did at Harvard. Daniel Eaton was the grandson of Amos Eaton, whose textbooks Gray had studied during his college days. Eaton influenced the teaching style of Gray, and both required practical work of their students. Gray retained the Fisher post until 1873 while living in the Asa Gray House.
In 1859 Gray was elected a foreign member of the Royal Swedish Academy of Sciences. The National Academy of Sciences was created by Congress on March 3, 1863, and he was one of the original 50 members. In 1864 Gray donated 200,000 plant specimens and 2,200 books to Harvard with the condition that the herbarium and garden be built. This effectively created the botany department at Harvard, and the Gray Herbarium was named after him. He was president of the American Association for the Advancement of Science in 1872 and of the American Academy of Arts and Sciences 1863–1873. Gray was also a regent at the Smithsonian Institution in 1874–1888 and a foreign member of the Royal Society of London in 1873.
The Elements of Botany (1836), an introductory textbook, was the first of Gray's many works. In this book Gray espoused the idea that botany was useful not only to medicine, but also to farmers. Gray and Torrey published the Flora of North America together in 1838. By the mid-1850s the demands of teaching, research, gardening, collecting, and corresponding had become so great, and he had become so influential, that Gray wrote two high school-level texts in the late 1850s: First Lessons in Botany and Vegetable Physiology (1857) and How Plants Grow: A Simple Introduction to Structural Botany (1858). The publishers pressured Gray to make these two books non-technical enough so that high school students and non-scientists could understand them. As with most scientists in American academic institutions, Gray found it difficult to concentrate purely on research.
Gray met physician and botanist George Engelmann in the early 1840s, and they remained friends and colleagues until Engelmann died in 1884. Torrey was an early American supporter of the "natural system of classification", which relies upon geography and a plant's entire structure, and as his assistant, Gray was a proponent of this system, too. This contrasts with Linnaeus' artificial classification, which was designed for ease of use and focused on readily observed aspects of a plant, particularly the differences in the flowers. Amos Eaton was also a proponent of the artificial system. Gray was so impressed with Wilhelm Nikolaus Suksdorf, a largely self-taught immigrant from Germany who specialized in the flora of the Pacific Northwest, that he had Suksdorf come to Harvard to be his assistant and named the genus Suksdorfia after him.
Gray was a leading opponent of the Scientific Lazzaroni, a group of mostly physical scientists who wanted American academia to mimic the autocratic academic structures of European universities. A large percentage of the original 50 members of the National Academy of Sciences were Lazzaroni members. The American Academy of Arts and Sciences was opposed to the National Academy and collectively elected Gray and his friend, colleague, and fellow Charles Darwin supporter William Barton Rogers to the National Academy. Rogers founded the Massachusetts Institute of Technology. This is one of the areas where Gray and his friend and colleague, Louis Agassiz, were in disagreement; Agassiz was a member of the Lazzaroni group. Agassiz had come to lecture at the Lowell Institute in 1846 and got hired by Harvard in 1847. Gray befriended him the way he had been befriended during his trip to Europe.
Gray abhorred slavery. In his view, science proved the unity of all man because all human races can interbreed and produce fertile offspring, i.e., all members of a species are connected genetically. He also felt Christianity taught the unity of man. He was not an abolitionist, feeling it was more important to preserve the Union, yet he also felt if the South persevered in the conflict, every slave should be set free, by use of more force if necessary. However, he was not sure what should be done with the freed slaves. This was another area where Gray and Agassiz disagreed; Agassiz felt each race had different origins.
During the American Civil War, Gray was a steadfast supporter of the North and the Republican Party. About February 1861 – two months before the war started – Gray lost part of his left thumb, just above the base of the nail, in an accident in the garden. Despite now being 50 years old, he regretted that this accident ended his "fighting days". After hostilities began, he joined a company that guarded the Massachusetts State Arsenal in Cambridge. He also bought war bonds, was surprised more people did not do likewise, and supported a 5% tax to support the war. Gray regretted not having children because he had "no son to send to the war". Gray considered Abraham Lincoln as a second George Washington because of the way he managed to preserve the Union during the war. He also predicted that the fate of slavery depended upon the length and bitterness of the war, and the longer it lasted the more disastrous it would be for the South. As a corollary, he felt that if the South had given up early in the war, they would have had a chance of preserving slavery longer. Regarding his botanical endeavors, the war sundered his supply of information and specimens from the South. Even the Southern botanists who supported the North, such as Alvan Wentworth Chapman and Thomas Minott Peters, were soon forced to cease communications with Gray. It was during the war that Gray first began to think of retiring from his professorial duties so he could concentrate on completing Flora of North America.
Harvard was able to secure substantial new funding for its botanical programs in the years after the war, but Gray encountered significant trouble finding a suitable replacement for his professorial duties. The American university system had failed to train replacements for its professors. Only Harvard and Yale had botany programs, and in the war and pre-war years there had been few botany students. However, after the war there was an upswing in the numbers of botany students. Gray was grooming Horace Mann Jr. as his replacement, but he died of tuberculosis at the age of 24 in November 1868.
Growing weary of his workload, Gray and his wife departed on a trip to Britain, Egypt (for three months), and Switzerland in September 1868. It was during the winter spent in Egypt that Gray first grew his white beard. They returned in autumn 1869. In early 1872 Gray tried to resign his professorship and garden duties still with no replacement for himself. He proposed only looking after the herbarium and writing books in exchange for the rent of the house in which he and his wife lived on the university grounds. Due to the way the finances of the funding sources were handled and the lack of a replacement, Gray was unable to resign at that time.
In late 1872 Charles Sprague Sargent was appointed director of the Botanic Garden, the newly constructed Arnold Arboretum, and new botany-related buildings. This freed up much of Gray's time. Also, late in 1872, Ignatius Sargent, Charles' father, and Horatio Hollis Hunnewell both agreed to donate $500 yearly each to support Gray so that he could devote "undivided attention" to completing Flora of North America. This is what finally allowed Gray to resign his professorship and devote all his time to research and writing.
Harvard had so much trouble finding a replacement for Gray that they considered hiring a European, but they found an American and hired George Lincoln Goodale in late 1872. Goodale had a medical degree from Harvard and a solid knowledge of botany. By late June 1873 Goodale had enough experience that Gray was excited to pronounce he had taught his last class. William Gilson Farlow also had a medical degree from Harvard and had studied botany. He became Gray's assistant in 1870 after obtaining his medical degree and then studied in Europe for a few years. He returned to Harvard in 1874 and became a botany professor. Sereno Watson began helping Gray with taxonomy in 1872 and became the herbarium curator. The reorganization of botany at Harvard in the early 1870s was a major accomplishment of Gray's.