A Moore County man was sentenced to 20 years in a state prison after pleading guilty to drug charges.