Teachers in the McKinney school district can now communicate with students via text messages, e-mail and social networking Web sites like Facebook.
School board members voted on the policy change Monday night and the new rules go into effect immediately.
The new policy emphasizes that everyone has to obey state laws and live up to the educators' code of conduct, the McKinney Courier-Gazette reported.
Hundreds of parents and students complained about the electronic communications ban, saying it made it difficult to communicate outside of regular school hours.
The policy was intended to help limit the chances of an inappropriate relationship between students and teachers.