Electric vehicles are increasingly appearing on Polish roads due to a number of technical, legal and marketing conditions. However, electromobility is developing primarily in urban areas, mainly due to the unevenly developed infrastructure for charging vehicle batteries and the power grid. Therefore, solutions should be created that use the existing power infrastructure, including the use of railway power infrastructure (RPI). The railway power network covers a significant part of the country, including forest areas, and, above all, it very often intersects with road infrastructure or runs along roads. This paper raises issues related to the possibility of using RPI to charge the batteries of electric vehicles. After characterizing the technical, operational and legal requirements related to these technical systems, a concept of an electric vehicle charging system using RPI was developed, along with a demonstration of the possibility of its implementation, which was simulated using mathematical models developed by the authors.