This paper reviews the coupling between the solar wind, magnetosphere and ionosphere. The coupling between the solar wind and Earth’s magnetosphere is controlled by the orientation of the Interplanetary Magnetic Field (IMF). When the IMF has a southward component, the coupling is strongest and the ionospheric convection pattern that is generated is a simple twin cell pattern with anti-sunward flow across the polar cap and return, sunward flow at lower latitudes. When the IMF is northward, the ionospheric convection pattern is more complex, involving flow driven by reconnection between the IMF and the tail lobe field, which is sunward in the polar cap near noon. Typically four cells are found when the IMF is northward, and the convection pattern is also more contracted under these conditions. The presence of a strong Y (dawn-dusk) component to the IMF leads to asymmetries in the flow pattern. Reconnection, however, is typically transient in nature both at the dayside magnetopause and in the geomagnetic tail. The transient events at the dayside are referred to as flux transfer events (FTEs), while the substorm process illustrates the transient nature of reconnection in the tail. The transient nature of reconnection lead to the proposal of an alternative model for flow stimulation which is termed the expanding/contracting polar cap boundary model. In this model, the addition to, or removal from, the polar cap of magnetic flux stimulates flow as the polar cap boundary seeks to return to an equilibrium position. The resulting average patterns of flow are therefore a summation of the addition of open flux to the polar cap at the dayside and the removal of flux from the polar cap in the nightside. This paper reviews progress over the last decade in our understanding of ionospheric convection that is driven by transient reconnection such as FTEs as well as by reconnection in the tail during substorms in the context of a simple model of the variation of open magnetic flux. In this model, the polar cap expands when the reconnection rate is higher at the dayside magnetopause than in the tail and contracts when the opposite is the case. By measuring the size of the polar cap, the dynamics of the open flux in the tail can be followed on a large scale.