The article addresses the question of the emergence of urban centres with a gateway function in the area of contemporary Poland. The work concentrates on three urban centres – Mysłowice, Szczakowa and Granica (Maczki) – which gateway function was conditioned by the existence of railway border crossings in the past that provided services for international transport. The interpretation of settlements and their transformations followed the town plan analysis includes method of Conzen. The article indicates spatial consequences of this kind of function which influenced a significant part of the urban area in the indicated towns. The study highlights the dynamics of spatial changes contemporarily conditioned by the loss of the former gateway function and a fact that role of the border has been marginalized. From the other point of view the decreasing role of the political borders which have become in Europe in most cases barely a symbolic meaning. In the presented case studies the key aspect determining the marginalization of their role in the rail transport system and also their urban development was the change of the political borders and their negative consequences (demolition post-rail areas, formation of functionally derelict areas or depopulation). Former glory and role of these three towns are the still existing railway stations. Fortunately, presented railway stations – their potential and heritage give new possibilities for ideas of functional changes and future development.