It is widespread in temperate and subarctic areas and also occurs in mountainous regions in the tropics. Its range includes most of Europe and much of Asia south to Turkey, Iran and the Himalayas with a population in Yemen. It occurs in northern, southern and parts of eastern Africa and also in eastern Indonesia, south-east Australia, Tasmania, New Zealand and Hawaii. It is found in North America and Central America and Cuba, and the northern and western regions of South America such as Chile.