Abstract A survey was designed to investigate opinions on railway trespassing of people living close to a railway line. The results showed that 89.2% of the respondents ( n = 502) recalled that they had seen trespassing in their neighbourhood and, based on their observations, adults are the largest group trespassing. Overall, 68.9% of the respondents had personal experience of trespassing although 83.5% considered trespassing to be fairly or highly dangerous and 81.0% assumed it to be illegal. The respondents supported countermeasures such as building an underpass or fencing off the tracks, and only a few of them indicated that nothing could be done to resolve the problem. In addition, education in schools on the dangers of trespassing was suggested. These results allow practitioners and researchers to see the problem from a local perspective and thus develop a better understanding. This in turn helps design effective countermeasures.