Sexual harassment is considered a type of sexual misconduct. When a sexual harassment case is taken to court, it can either be classified as a misdemeanor or a felony. The penalties for a conviction are dependent on the specifics of the case and how severe it is. If someone is convicted of misdemeanor sexual misconduct, they could spend up to six months in jail. A felony conviction, however, could carry a penalty of up to four years in prison.