It grows in eucalypt forests, eucalypt and acacia savannas, gallery forests and rainforests of NSW from Mount Gulaga (previously known as Mount Dromedary) northwards along the coast and inland to the Pilliga scrub, though Queensland and the Northern Territory and into the northwest of Western Australia. Inland forms can be stunted in appearance. It prefers sandy soils.