The author draws attention to the inherent complexity and two-level structure of housing legislation, which allows the legislator to distribute the burden both in matters of the application of housing law and housing finance. The right to housing remains a priority of the state housing policy, as it embodies the public-legal interest of subjects of housing legal relations. In the conditions of modern realities, the state is aimed at maximizing the protection of public interests, sovereignty, society, and the private interests of citizens. Housing legislation and demography are interrelated categories, where demography determines the trajectory of housing legislation in regulating housing relations, and housing legislation, in turn, creates housing conditions. The very nature of housing legal relations determines the existence of the principle of good faith as an objective beginning of their implementation.