The invention discloses a wall-mounted air purifier and a control method thereof. The purifier comprises a sealed bin divided into a heating regeneration chamber formed in the left side and an air purifying chamber formed in the right side, a two-way flow sensor arranged on the air purifying chamber, a two-way draught fan, an efficient regenerative adsorption material for VOCs and formaldehyde, acoarse filter, a heating body, a first temperature sensor, five air valves for controlling air channels, a second temperature sensor arranged in a room, and a pressure release valve arranged on the bin wall of the heating regeneration chamber and communicating with the outdoor space, wherein the heating body and the first temperature sensor are arranged in the heating regeneration chamber. According to the method, the pollution discharge duration is controlled through a timing temperature increasing and measuring method, it is ensured that the temperature in the bin and the indoor temperatureare adapted after pollution discharge is finished, and in a standby state, when the accumulated purifying time approximates to the set time needed for adsorption pollution disposal, adsorption pollution discharge is roused in a timed mode. According to the wall-mounted air purifier and the control method thereof, the structure is simple, operating is convenient, safety and stability are achieved,and a long-term effective indoor air purifying mode is provided.