1550s, paynes taking, "assiduous and careful labor" (n.), 1690s, "characterized by close or conscientious application, laborious and careful" (adj.), from plural of pain (n.) in the "exertion, effort" sense + present participle of take (v.). Related: Painstakingly.