The article explores the legal and practical implications of buildings that cross property boundaries, a common issue in densely developed urban areas. It outlines the fundamental principle of superficies solo cedit, which assigns ownership of structures to the landowner, and examines exceptions introduced by Article 151 of the Polish Civil Code. These exceptions allow for the retention of a boundary-crossing building under specific conditions, impacting property transactions and ownership security. Special attention is given to perpetual usufruct, where structures belong to the usufructuary, creating legal complexities. The article reviews the Supreme Court rulings, highlighting a trend favoring the investors’ rights when the functional majority of a building is on their land. It concludes that legal reforms are needed to clarify ownership rules, particularly regarding perpetual usufruct, and to ensure market stability. Proposed amendments include changes to the Construction Law, the Land and Mortgage Registers Act, and the Civil Code to strengthen investor confidence and property rights.W artykule analizie poddano prawne i praktyczne konsekwencje sytuacji, w których budynki przekraczają granice nieruchomości – to często występujący problem w gęsto zurbanizowanych obszarach. Omówiono zasadę superficies solo cedit, przypisującą własność budowli właścicielowi gruntu, a także wyjątki przewidziane w art. 151 Kodeksu cywilnego. Regulacje te pozwalają na utrzymanie budynku wzniesionego z naruszeniem granic w określonych warunkach, co wpływa na transakcje nieruchomościami i stabilność prawa własności. Szczególną uwagę poświęcono użytkowaniu wieczystemu, w którym budynki należą do użytkownika wieczystego, co rodzi liczne trudności prawne. Analiza orzecznictwa Sądu Najwyższego wskazuje na tendencję do ochrony inwestorów, gdy większa część budynku znajduje się na ich działce. Konkluzją jest potrzeba reform prawnych, zwłaszcza w zakresie użytkowania wieczystego, w celu zapewnienia pewności obrotu. Wśród proponowanych zmian są nowelizacje Prawa budowlanego, ustawy o księgach wieczystych i Kodeksu cywilnego, które mają na celu ochronę praw inwestorów oraz stabilizację rynku nieruchomości