The mesosphere (/ˈmɛsəˌsfɪər, ˈmɛz-, ˈmiːsə-, -zə-/; from Ancient Greek μέσος (mésos) 'middle', and -sphere) is the third layer of the atmosphere, directly above the stratosphere and directly below the thermosphere. In the mesosphere, temperature decreases as altitude increases. This characteristic is used to define its limits: it begins at the top of the stratosphere (sometimes called the stratopause), and ends at the mesopause, which is the coldest part of Earth's atmosphere, with temperatures below −143 °C (−225 °F; 130 K). The exact upper and lower boundaries of the mesosphere vary with latitude and with season (higher in winter and at the tropics, lower in summer and at the poles), but the lower boundary is usually located at altitudes from 50 to 65 km (31 to 40 mi; 164,000 to 213,000 ft) above sea level, and the upper boundary (the mesopause) is usually from 85 to 100 km (53 to 62 mi; 279,000 to 328,000 ft).
The stratosphere and mesosphere are sometimes collectively referred to as the "middle atmosphere", which spans altitudes approximately between 12 and 80 km (7.5 and 49.7 mi) above Earth's surface. The mesopause, at an altitude of 80–90 km (50–56 mi), separates the mesosphere from the thermosphere—the second-outermost layer of Earth's atmosphere. This is the turbopause, below which different chemical species are well-mixed due to turbulent eddies. Above this level the atmosphere becomes non-uniform because the scale heights of different chemical species differ according to their molecular masses.
The term near space is also sometimes used to refer to altitudes within the mesosphere. This term does not have a technical definition, but typically refers to the region roughly between the Armstrong limit (about 62,000 ft or 19 km, above which humans require a pressure suit in order to survive) and the Kármán line (where astrodynamics must take over from aerodynamics in order to achieve flight); or, by another definition, to the space between the highest altitude commercial airliners fly at (about 40,000 ft (12.2 km)) and the lowest perigee of satellites being able to orbit the Earth (about 45 mi (73 km)). Some sources distinguish between the terms "near space" and "upper atmosphere", so that only the layers closest to the Kármán line are described as "near space".