Wojnicz () is an ancient historic town in Tarnów County, Lesser Poland Voivodeship. In the early medieval period of the Polish state, it became one of the most important centres in the province of Lesser Poland, as part of the system of Dunajec river castles. It became the seat of a Castellan and prospered from the 13th century to the first half of the 17th century, being on an international trade route bordering Hungary and the Ottoman Empire. It had town and market rights, its church was raised to collegiate status with links to the Jagiellonian University in Kraków 64 km away.