1772, agent noun from roost (v.); earlier roost cock, c. 1600, in sense of "the roosting bird." Favored in the U.S. originally as a puritan alternative to cock (n.) after it had acquired the secondary sense "penis" (and compare roach).