A teacher from Wiltshire has moved home twice to escape pupils abusing her in the street and attacking her house.
Ms Greed says the problem is "social"
A teaching union has responded by advising some teachers to live outside their school's catchment area.
Elizabeth Greed, who has been teaching for 34 years, said: "The first time, they threw chemicals on our vegetable patch and broke greenhouse panes."
She moved, but her house was attacked again with eggs. Ms Greed's school did not want to be identified.
Ms Greed said: "I won't be defeated. This is a social problem with a culture of accepted bad behaviour and violence. "
David Michel from the National Association of Schoolmasters and Union of Women Teachers, said: "There is no other option for teachers faced with this than to live outside the catchment area.
"It has been going on in cities and towns for a long time, but the fact that it is spreading to the countryside is very worrying.
"Living outside the catchment area doesn't say teachers have lost control in schools. Do the parents know where children are?
"We would go along with airport-style checks on pupils in some schools."
Ms Greed retires in three years and says the abuse will not strip her of her passion for the profession.