Wind speed variations results in wind farm voltage, frequency and power output fluctuations. Therefore, protection of lines connecting such a farm to the grid is very important and an adaptive system for distance protection of such a line is necessary. In this paper, an adaptive unit which adjusts the relay trip characteristic using local information has been designed for distance relay using artificial neural networks. In this case, in order to prevent wrong operation of relay, changing in wind farm conditions, the set points of different zones of distance relay has to be changed simultaneously. The results obtained from proposed method are verified by computer simulation.