The following article is dedicated to the empirical case study from Ukraine and focuses on the work of Ukrainian courts resolving the cases of internally displaced persons in the realm of social policy. Based on interviews and secondary sources in terms of data, it explains the problem area of the legal regulations and administrative practices applicable to internally displaced Ukrainians in the sphere of social rights, and it analyses selected decisions of the courts in the cases brought by them, including the courts’ approaches, motivations and limitations, all while doing so from the combined perspective of security, law and internal migrants’ agency.