Oleśnica is a town located in the Lower Silesian Voivodeship in south-western Poland. It is situated within the Wrocław metropolitan area and serves as the administrative seat for both Oleśnica County and the rural district of Gmina Oleśnica.
While it functions as the administrative center for the surrounding rural district, the town itself is not part of that territory; instead, it is classified as an urban gmina in its own right.