The primary law governing nationality of New Zealand is the Citizenship Act 1977, which came into force on 1 January 1978. Regulations apply to the entire Realm of New Zealand, which includes the country of New Zealand itself, the Cook Islands, Niue, Tokelau, and the Ross Dependency.
All persons born within the realm before 2006 were automatically citizens at birth regardless of the nationalities of their parents. Individuals born in the realm from that year on receive New Zealand citizenship at birth if at least one of their parents is a New Zealand citizen or otherwise entitled to live in New Zealand indefinitely (meaning New Zealand and Australian permanent residents, as well as Australian citizens). Foreign nationals may be granted citizenship if they are permanent residents and live in any part of the realm.