Hornsby is a suburb on the Upper North Shore of Sydney, in the state of New South Wales, Australia. Hornsby is located 25 kilometres (16 mi) north-west of the Sydney central business district and is the administrative centre of the local government area of Hornsby Shire.