Yes, cyberstalking is illegal in the US because of laws against stalking, slander, and harassment. A conviction can lead to a restraining order, probation, or criminal punishments, such as jail time, for a stalker.