In this study, we examined government policies and the relevant law on prevention measures for school attendance problems in Japanese compulsory education schools from the perspective of school avoidance behaviour. In summary: (a) the number of students with school attendance problems has been increasing rapidly since 2017; (b) despite an increase in school counsellors as a government-initiated prevention measure, the number of students with school attendance problems has risen; (c) government policies and the relevant law seek to foster social independence even for students unable to return to school and to provide spaces where students with school attendance problems feel comfortable, which may inadvertently reinforce or perpetuate school avoidance behaviour; and (d) in the Japanese compulsory education system, stakeholders have limited opportunities to block school avoidance behaviour. We propose two measures to prevent school attendance problems drawing on a macro-level behavioural perspective: (a) employing data on class absences in mainstream schools, regardless of the reason for the absence, as an evaluation criterion for prolonged school absenteeism, and (b) implementing appropriate grade repetition for students who miss classes in their mainstream school over a certain threshold, including withholding the school diploma.