Due to the complexity of the phenomena involved, a self-consistent physical model for the prediction of the halo current is not available. Therefore the ITER specifications of the spatial distribution and evolution of the halo current rely on empirical assumptions. This paper presents the results of an extensive analysis of the halo current measured in ASDEX Upgrade with particular emphasis on the evolution of the halo region, on the magnitude and time history of the halo current, and on the structure and duration of its toroidal and poloidal asymmetries. The effective length of the poloidal path of the halo current in the vessel is found to be rather insensitive to plasma parameters. Large values of the toroidally averaged halo current are observed in both vertical displacement events and centred disruptions but last a small fraction of the current quench; they coincide typically with a large but short-lived MHD event.