The prime minister of New Zealand is the country's head of government and the leader of the Cabinet, whose powers and responsibilities are defined by convention. Officially, the prime minister is appointed by the governor-general, but by convention, the prime minister must have the confidence of the House of Representatives. The prime minister is always a member of parliament.