Long before European arrival, the land now known as New South Wales was inhabited by Aboriginal Australian peoples for an estimated 60,000 years. The region was home to numerous distinct nations, including the Eora in the Sydney basin, the Wiradjuri in the central and southern inland, and the Kamilaroi in the north. These communities established complex social structures, rich oral traditions, and sophisticated land management techniques.
In 1770, British explorer Lieutenant James Cook charted the eastern coast of Australia, naming it New South Wales and claiming it for Great Britain. On January 26, 1788, the First Fleet, commanded by Captain Arthur Phillip, arrived at Sydney Cove to establish a British penal colony. The early years of the colony were marked by harsh conditions, starvation, and devastating impacts on the local Aboriginal populations due to introduced diseases and violent territorial dispossession.
The 19th century transformed NSW from a penal outpost to a thriving free settlement. In 1813, European explorers successfully crossed the Blue Mountains, opening up vast inland plains to pastoralists. The discovery of gold in 1851 near Bathurst triggered a massive gold rush, bringing rapid population growth, wealth, and the eventual development of democratic institutions. Responsible self-government was granted in 1855.
On January 1, 1901, New South Wales joined five other colonies to form the Commonwealth of Australia, transitioning from an independent colony to a state. Throughout the 20th and 21st centuries, NSW evolved into a heavily urbanized, multicultural society, driven by waves of post-war immigration from Europe and, later, significant migration from Asia, cementing its status as Australia's most diverse state.

