Lokovec (pronounced [lɔˈkɔːʋəts]) is a dispersed settlement in western Slovenia in the City Municipality of Nova Gorica. It is located on the Banjšice Plateau overlooking the narrow Čepovan Valley, which divides it from the Trnovo Forest Plateau (Slovene: Trnovski gozd) on the other side of the valley. It is part of the Gorizia region. The parish church in the settlement is dedicated to Saints Peter and Paul and belongs to the Diocese of Koper.