Macartney was born at Nanjing and was half-Chinese while his godfather was Chinese politician Li Hongzhang. His father, Halliday Macartney, was a member of the same family as George Macartney, the 18th century British ambassador to China, and his mother was a near relative of Lar Wang, one of the leaders of the Taiping rebellion.