<p>Disclosed is a method for extracting gallium from fly ash, which comprises the following steps: crushing the fly ash and removing Fe by magnetic separation; then dissolving it by using hydrochloride acid (2) to obtain hydrochloric acid leachate; adsorbing gallium in the hydrochloric acid leachate with macro-porous cationic resin, followed by eluting to obtain the eluent (5) containing gallium; adding sodium hydroxide (6) solution into the eluent containing gallium to react and obtaining sodium metaaluminate solution containing gallium (8); introducing CO 2 into the sodium metaaluminate solution containing gallium (8) for carbonation, followed by separating gallium from aluminum and obtaining aluminum-gallium double salt (15) with the gallium to alumina mass ratio being more than 1:340; adding the aluminum-gallium double salt (15) into sodium hydroxide (17) to react, followed by alkalinity-adjustment concentration to obtain alkali solution containing gallium and aluminum; electrolyzing (10) the alkali solution containing gallium and aluminum to obtain metal gallium (11). The method simplifies the process and improves extraction efficiency of gallium.</p>