Blackmail is illegal. It is illegal because it is a form of extortion. Extortion intends to gain something from someone through threats of violence, loss of reputation, or some other form of harm.