On January 8, 1854, Yan Fu was born in what is modern day Fuzhou, Fujian Province to a respectable scholar-gentry family in the trade of Chinese medicine. In his early years, Yan Fu’s father greatly encouraged Yan Fu to obtain a high education and prepare for the Imperial examination. However, the death of his father in 1866 caused an abrupt change to these plans. A year later, Yan Fu entered the Fujian Arsenal Academy () in Fuzhou, a Western school where he studied a variety of subjects including English, arithmetic, geometry, algebra, trigonometry, physics, chemistry, astrology and navigation. This was a turning point in young Yan Fu’s life as he was able to experience first-hand contact with Western science, thus inspiring the enthusiasm that carried him through the rest of his career.