A Munford man is facing prison time after pleading guilty to leaving a court-ordered drug rehabilitation program.