A solar flare from the Sun creates a geomagnetic storm that affects micro chips, leading to a halt of all trading on Toronto's stock market.

A geomagnetic storm, also known as a magnetic storm, is a temporary disturbance of the Earth's magnetosphere caused by a solar wind shock wave and/or cloud of magnetic field that interacts with the Earth's magnetic field.

The disturbance that drives the magnetic storm may be a solar coronal mass ejection (CME) or (much less severely) a co-rotating interaction region (CIR), a high-speed stream of solar wind originating from a coronal hole. The frequency of geomagnetic storms increases and decreases with the sunspot cycle. During solar maximum, geomagnetic storms occur more often, with the majority driven by CMEs.

The increase in the solar wind pressure initially compresses the magnetosphere. The solar wind's magnetic field interacts with the Earth's magnetic field and transfers an increased energy into the magnetosphere. Both interactions cause an increase in plasma movement through the magnetosphere (driven by increased electric fields inside the magnetosphere) and an increase in electric current in the magnetosphere and ionosphere. During the main phase of a geomagnetic storm, electric current in the magnetosphere creates a magnetic force that pushes out the boundary between the magnetosphere and the solar wind.

Several space weather phenomena tend to be associated with or are caused by a geomagnetic storm. These include solar energetic particle (SEP) events, geomagnetically induced currents (GIC), ionospheric disturbances that cause radio and radar scintillation, disruption of navigation by magnetic compass and auroral displays at much lower latitudes than normal.

The largest recorded geomagnetic storm, the Carrington Event in September 1859, took down parts of the recently created US telegraph network, starting fires and shocking some telegraph operators. In 1989, a geomagnetic storm energized ground induced currents that disrupted electric power distribution throughout most of Quebec and caused aurorae as far south as Texas.

A solar flare is an intense eruption of electromagnetic radiation in the Sun's atmosphere. Flares occur in active regions and are often, but not always, accompanied by coronal mass ejections, solar particle events, and other solar phenomena.

Solar flares occur in a power-law spectrum of magnitudes; an energy release of typically 1020 joules of energy suffices to produce a clearly observable event, while a major event can emit up to 1025 joules.

Although originally observed in the visible electromagnetic spectrum, especially in the H-alpha emission line of hydrogen, they can now be detected from radio wave to gamma-ray radiation.

Flares also occur on other stars, where the term stellar flare applies.