
Astellar magnetic field is amagnetic field generated by the motion of conductiveplasma inside astar. This motion is created throughconvection, which is a form of energy transport involving the physical movement of material. A localizedmagnetic field exerts a force on the plasma, effectively increasing the pressure without a comparable gain in density. As a result, the magnetized region rises relative to the remainder of the plasma, until it reaches the star'sphotosphere. This createsstarspots on the surface, and the related phenomenon ofcoronal loops.[1]
A star's magnetic field can be measured using theZeeman effect. Normally the atoms in a star's atmosphere will absorb certain frequencies of energy in theelectromagnetic spectrum, producing characteristic darkabsorption lines in the spectrum. However, when the atoms are within a magnetic field, these lines become split into multiple, closely spaced lines. The energy also becomespolarized with an orientation that depends on the orientation of the magnetic field. Thus the strength and direction of the star's magnetic field can be determined by examination of the Zeeman effect lines.[2][3]
A stellar spectropolarimeter is used to measure the magnetic field of a star. This instrument consists of aspectrograph combined with apolarimeter. The first instrument to be dedicated to the study of stellar magnetic fields was NARVAL, which was mounted on theBernard Lyot Telescope at thePic du Midi de Bigorre in the FrenchPyrenees mountains.[4]
Various measurements—includingmagnetometer measurements over the last 150 years;[5]14C in tree rings; and10Be in ice cores[6]—have established substantial magnetic variability of the Sun on decadal, centennial and millennial time scales.[7]
Stellar magnetic fields, according tosolar dynamo theory, are caused within the convective zone of the star. The convective circulation of the conducting plasma functions like adynamo. This activity destroys the star's primordial magnetic field, then generates a dipolar magnetic field. As the star undergoes differential rotation—rotating at different rates for various latitudes—the magnetism is wound into a toroidal field of "flux ropes" that become wrapped around the star. The fields can become highly concentrated, producing activity when they emerge on the surface.[8]
The magnetic field of a rotating body of conductive gas or liquid develops self-amplifyingelectric currents, and thus a self-generated magnetic field, due to a combination of differential rotation (different angular velocity of different parts of body),Coriolis forces and induction. The distribution of currents can be quite complicated, with numerous open and closed loops, and thus the magnetic field of these currents in their immediate vicinity is also quite twisted. At large distances, however, the magnetic fields of currents flowing in opposite directions cancel out and only a net dipole field survives, slowly diminishing with distance. Because the major currents flow in the direction of conductive mass motion (equatorial currents), the major component of the generated magnetic field is the dipole field of the equatorial current loop, thus producing magnetic poles near the geographic poles of a rotating body.
The magnetic fields of all celestial bodies are often aligned with the direction of rotation, with notable exceptions such as certainpulsars.
Another feature of thisdynamo model is that the currents are AC rather than DC. Their direction, and thus the direction of the magnetic field they generate, alternates more or less periodically, changing amplitude and reversing direction, although still more or less aligned with the axis of rotation.
TheSun's major component of magnetic field reverses direction every 11 years (so the period is about 22 years), resulting in a diminished magnitude of magnetic field near reversal time. During this dormancy, thesunspots activity is at maximum (because of the lack ofmagnetic braking on plasma) and, as a result, massive ejection of high energy plasma into thesolar corona and interplanetary space takes place. Collisions of neighboring sunspots with oppositely directed magnetic fields result in the generation of strong electric fields near rapidly disappearing magnetic field regions. This electric field accelerates electrons and protons to high energies (kiloelectronvolts) which results in jets of extremely hot plasma leaving the Sun's surface and heating coronal plasma to high temperatures (millions ofkelvin).
If the gas or liquid is very viscous (resulting inturbulent differential motion), the reversal of the magnetic field may not be very periodic. This is the case with the Earth's magnetic field, which is generated by turbulent currents in a viscous outer core.
Starspots are regions of intense magnetic activity on the surface of a star. (On theSun they are termedsunspots.) These form a visible component of magneticflux tubes that are formed within a star'sconvection zone. Due to the differential rotation of the star, the tube becomes curled up and stretched, inhibiting convection and producing zones of lower than normal temperature.[9]Coronal loops often form above starspots, forming from magnetic field lines that stretch out into thestellar corona. These in turn serve to heat the corona to temperatures over a millionkelvins.[10]
The magnetic fields linked to starspots and coronal loops are linked toflare activity, and the associatedcoronal mass ejection. The plasma is heated to tens of millions of kelvins, and the particles are accelerated away from the star's surface at extreme velocities.[11]
Surface activity appears to be related to the age and rotation rate of main-sequence stars. Young stars with a rapid rate of rotation exhibit strong activity. By contrast middle-aged, Sun-like stars with a slow rate of rotation show low levels of activity that varies in cycles. Some older stars display almost no activity, which may mean they have entered a lull that is comparable to the Sun'sMaunder minimum. Measurements of the time variation in stellar activity can be useful for determining the differential rotation rates of a star.[12]

A star with a magnetic field will generate amagnetosphere that extends outward into the surrounding space. Field lines from this field originate at one magnetic pole on the star then end at the other pole, forming a closed loop. The magnetosphere contains charged particles that are trapped from thestellar wind, which then move along these field lines. As the star rotates, the magnetosphere rotates with it, dragging along the charged particles.[13]
As stars emit matter with a stellar wind from the photosphere, the magnetosphere creates a torque on the ejected matter. This results in a transfer ofangular momentum from the star to the surrounding space, causing a slowing of thestellar rotation rate. Rapidly rotating stars have a higher mass loss rate, resulting in a faster loss of momentum. As the rotation rate slows, so too does the angular deceleration. By this means, a star will gradually approach, but never quite reach, the state of zero rotation.[14]

AT Tauri star is a type ofpre-main-sequence star that is being heated through gravitational contraction and has not yet begun to burn hydrogen at its core. They are variable stars that are magnetically active. The magnetic field of these stars is thought to interact with its strong stellar wind, transferringangular momentum to the surroundingprotoplanetary disk. This allows the star to brake its rotation rate as it collapses.[15]
Small, M-class stars (with 0.1–0.6solar masses) that exhibit rapid, irregular variability are known asflare stars. These fluctuations are hypothesized to be caused by flares, although the activity is much stronger relative to the size of the star. The flares on this class of stars can extend up to 20% of the circumference, and radiate much of their energy in the blue and ultraviolet portion of the spectrum.[16]
Straddling the boundary between stars that undergo nuclear fusion in their cores and non-hydrogen fusingbrown dwarfs are theultracool dwarfs. These objects can emit radio waves due to their strong magnetic fields. Approximately 5–10% of these objects have had their magnetic fields measured.[17] The coolest of these, 2MASS J10475385+2124234 with a temperature of 800-900 K, retains a magnetic field stronger than 1.7 kG, making it some 3000 times stronger than the Earth's magnetic field.[18] Radio observations also suggest that their magnetic fields periodically change their orientation, similar to the Sun during thesolar cycle.[19]
Planetary nebulae are created when ared giant star ejects its outer envelope, forming an expanding shell of gas. However it remains a mystery why these shells are not always spherically symmetrical. 80% of planetary nebulae do not have a spherical shape; instead forming bipolar or elliptical nebulae. One hypothesis for the formation of a non-spherical shape is the effect of the star's magnetic field. Instead of expanding evenly in all directions, the ejected plasma tends to leave by way of the magnetic poles. Observations of the central stars in at least four planetary nebulae have confirmed that they do indeed possess powerful magnetic fields.[20]
After some massive stars have ceasedthermonuclear fusion, a portion of their mass collapses into a compact body ofneutrons called aneutron star. These bodies retain a significant magnetic field from the original star, but the collapse in size causes the strength of this field to increase dramatically. The rapid rotation of these collapsed neutron stars results in apulsar, which emits a narrow beam of energy that can periodically point toward an observer.
Compact and fast-rotating astronomical objects (white dwarfs,neutron stars andblack holes) have extremely strong magnetic fields. The magnetic field of a newly born fast-spinning neutron star is so strong (up to 108 teslas) that it electromagnetically radiates enough energy to quickly (in a matter of few million years) damp down the star rotation by 100 to 1000 times. Matter falling on a neutron star also has to follow the magnetic field lines, resulting in two hot spots on the surface where it can reach and collide with the star's surface. These spots are literally a few feet (about a metre) across but tremendously bright. Their periodic eclipsing during star rotation is hypothesized to be the source of pulsating radiation (seepulsars).
An extreme form of a magnetized neutron star is themagnetar. These are formed as the result of acore-collapse supernova.[21] The existence of such stars was confirmed in 1998 with the measurement of the starSGR 1806-20. The magnetic field of this star has increased the surface temperature to 18 million K and it releases enormous amounts of energy ingamma ray bursts.[22]
Jets ofrelativistic plasma are often observed along the direction of the magnetic poles of active black holes in the centers of very young galaxies.
In 2008, a team of astronomers first described how as the exoplanet orbitingHD 189733 A reaches a certain place in its orbit, it causes increasedstellar flaring. In 2010, a different team found that every time they observe theexoplanet at a certain position in its orbit, they also detectedX-ray flares. Theoretical research since 2000 suggested that an exoplanet very near to the star that it orbits may cause increased flaring due to the interaction of theirmagnetic fields, or because oftidal forces. In 2019, astronomers examined these claims using combined data fromArecibo Observatory,MOST, and the Automated Photoelectric Telescope, in addition to historical observations of the star at radio, optical, ultraviolet, and X-ray wavelengths. Their analysis found that the previous claims were exaggerated and the host star failed to display many of the brightness and spectral characteristics associated with stellar flaring and solaractive regions, including sunspots. They also found that the claims did not stand up to statistical analysis, given that many stellar flares are seen regardless of the position of the exoplanet, therefore debunking the earlier claims. The magnetic fields of the host star and exoplanet do not interact, and this system is no longer believed to have a "star-planet interaction."[23]