The process of extracting aluminium from its ores, typically bauxite, through electrolysis.