The health emergency caused by Covid-19 has highlighted the importance for students of having a quiet place to study and a technological equipment suitable for distance learning, in their homes. Until two years ago, the in-person classroom learning could compensate for the lack of these aspects, that in a pandemic period have become discriminating for the success of the learning process. Since the sudden start of distance learning in March 2020, in Italy there have been many public - and not only - investments, aiming to improve the conditions in which students learn in their homes. This work aims to investigate the evolution of these conditions, through the analysis of the data of the INVALSI Student Questionnaire (school years 2018/19 and 2020/21) administered to all students of the fifth grade of primary school, and also to implement some territorial comparisons. The main goal is to trace and underline the peculiarities of micro and macro territorial contexts.