Rickey Joe Sansom, of Greensboro, North Carolina, is accused of soliciting sex through a social networking site from someone he thought was a young girl.
The Georgetown County Sheriff's Office said Sansom, at the time of his arrest Wednesday, was an after school counselor for children between the ages of 5 and 12.
He's charged with one count of Criminal Solicitation of a Minor.
His bail was set at $30,000.
The Computer Crimes Division of the Georgetown County Sheriff's Office is a member of the Attorney General's Internet Crimes Against Children Task Force.