1887, sporting slang, origin obscure, probably from somebody's long-forgotten lame racehorse. Charley horse seems to have been a name for a horse or a type of horse (perhaps especially a lame one) around that time.[charley horse etymology, charley horse origin, 英语词源]