Pivka
| Pivka Šent Peter na Krasu (until 1952) | |
|---|---|
| Coordinates: 45°41′N 14°12′E / 45.683°N 14.200°E | |
| Country | Slovenia | 
| Traditional region | Inner Carniola | 
| Statistical region | Littoral–Inner Carniola | 
| Municipality | Pivka | 
| Elevation | 554 m (1,818 ft) | 
| Population  (2002) | |
|  • Total | 2,059 | 
Pivka (pronounced [ˈpiːu̯ka], German: St. Peter, Italian: San Pietro del Carso) is a small town in Slovenia in the Pivka Basin in the Karst region. It is the seat of the Municipality of Pivka. It belongs to the traditional region of Inner Carniola.