 Olof Swartz attended the University of Uppsala where he studied under Carolus Linnaeus the Younger (1741–1783) and received his doctorate in 1781.He first traveled in 1780 to Lapland in the company of several other botanists.In 1783 he sailed for North America and the West Indies, primarily in the area of Jamaica and Hispaniola, to collect botanical specimens.