1590s, "one who copulates," agent noun from fuck (v.). By 1893 as a general term of abuse (or admiration).
DUCK F-CK-R. The man who has the care of the poultry on board a ſhip of war. ["Classical Dictionary of the Vulgar Tongue," 1796]