Cobar is a town in central western New South Wales, Australia. The town is northwest of the state capital, Sydney. It is at the crossroads of the Kidman Way (to Queensland) and Barrier Highway (to South Australia). The town and the local government area, the Cobar Shire, are on the eastern edge of the outback. At the 2011 census, the town of Cobar had a population of 3,817, Cobar Shire a population of about 4,700. The Shire has an area of —about two-thirds the size of Tasmania.