The present invention relates to a barrier for at least partially surrounding a planted area for repelling gastropods such as slugs. The barrier has a wall arrangement and a ledge extending away from the wall arrangement. The ledge has a plurality of downwardly extending elements. The barrier is disposed over ground around a planted area to be protected from gastropods. The wall arrangement and the downwardly extending elements of the ledge are operative to repel gastropods and thereby reduce the likelihood of their reaching the planted area.