Stars appear to twinkle mainly because their light passes through Earths atmosphere before reaching an observer. As starlight travels through the atmosphere, it encounters layers of air with slightly different temperatures, densities, and refractive indices. These irregularities bend and redirect the light by small amounts, causing rapid changes in the apparent brightness and position of the star. This phenomenon is called atmospheric scintillation.
The effect is particularly noticeable for stars near the horizon because their light travels through a longer path of atmosphere. The star itself is not normally changing brightness rapidly on the timescale of ordinary visible twinkling. The apparent fluctuations are primarily produced by turbulence in the intervening atmosphere.
Earths atmosphere is not optically uniform. Warm and cold air masses mix, producing fluctuations in density and therefore refractive index. Turbulent cells can act like continuously changing optical lenses and prisms, causing incoming wavefronts from a distant star to become distorted. When these distorted wavefronts reach the observer, constructive and destructive interference and changes in the direction of the light can produce rapid fluctuations in apparent intensity. The eye interprets these variations as twinkling. The process is complicated because many turbulent layers can affect the same wavefront, and their effects change continuously as the atmosphere moves. This is why the same star can appear to brighten, dim, or shift slightly from moment to moment.
Stars are particularly susceptible to visible twinkling because they are effectively point sources of light for the human eye and ordinary telescopes. A distant star has a physical diameter that may be many times larger than the Sun, but its enormous distance makes its apparent angular diameter extremely small. Turbulent atmospheric distortions therefore affect the observed stellar image as though the source were essentially a point.
Planets are much closer and generally present larger apparent discs, even though they are also affected by atmospheric turbulence. Light arriving from different parts of a planets apparent disc averages some of the atmospheric fluctuations, so planets usually appear to twinkle much less strongly than stars.
Twinkling can affect both the apparent brightness and colour of stars. Different wavelengths of light can be refracted by slightly different amounts, and atmospheric turbulence can produce rapid changes in the relative intensity of different colours. Stars near the horizon can therefore appear to flash red, blue, green, or white under strong scintillation. The effect becomes more pronounced when the atmosphere is turbulent and when the star is observed through a long atmospheric path. Low altitude observations are therefore more strongly affected than observations of objects high overhead. Astronomers use specialised techniques and carefully selected observing sites to reduce these atmospheric effects when making precise measurements.
Astronomical observatories often operate at high elevations or in locations with stable atmospheric conditions to reduce atmospheric turbulence. Adaptive optics systems can measure distortions introduced by the atmosphere and rapidly adjust deformable mirrors to compensate for them. This allows ground based telescopes to obtain much sharper images than would otherwise be possible. Space telescopes avoid Earths atmosphere entirely and therefore do not experience atmospheric scintillation. The absence of atmospheric turbulence is one reason space based observations can achieve extremely stable and sharp measurements, although space telescopes have their own engineering constraints and sources of noise.
Twinkling is different from intrinsic stellar variability. Some stars genuinely change their luminosity because of pulsations, eclipses in binary systems, magnetic activity, explosive events, or other physical processes. These variations can occur over timescales ranging from seconds to years or longer, depending on the phenomenon. Atmospheric scintillation is an observational effect imposed by Earths atmosphere rather than a change in the stars actual energy output. Astronomers distinguish the two using repeated observations, different wavelengths, observations from multiple locations, and physical modelling. A star that appears to flicker rapidly to the naked eye is normally showing atmospheric scintillation rather than undergoing dramatic physical changes.
The degree of scintillation depends on atmospheric conditions, wavelength, altitude above the horizon, telescope aperture, and exposure time. Larger telescope apertures average over a larger wavefront and can reduce some intensity fluctuations, while longer exposures can average rapid changes. Radio astronomy also experiences atmospheric and ionospheric propagation effects, although these differ from the visible scintillation experienced by optical observations. Scintillation can be scientifically useful because measurements of it can reveal information about atmospheric turbulence and, in other astronomical contexts, about intervening plasma or interstellar material. Thus an apparent nuisance can also become a source of information about the medium through which radiation travels.
Stars appear to twinkle because their light is distorted by turbulent layers in Earths atmosphere, not because stars ordinarily flicker rapidly in their own physical output. The atmosphere acts as a changing optical medium that redirects and modifies incoming wavefronts, creating fluctuations in apparent intensity and position. The effect is strongest for point like stellar sources, low altitude observations, and turbulent conditions. Planets usually appear steadier because their visible discs average over atmospheric fluctuations. Understanding stellar twinkling therefore illustrates an important astronomical principle: observations are shaped not only by the objects being studied but also by the medium through which their signals travel and by the instruments used to observe them.