The invention discloses a method for synthesizing adenine and derivatives thereof. The method comprises the steps: firstly, subjecting diethyl malonate and dimethyl dioxirane to an oxidation reaction, so as to obtain 2-hydroxyldiethyl malonate; then, carrying out an ammonolysis reaction with ammonia water, so as to obtain 2-hydroxyl malonamide; then, carrying out a cyclization reaction with trimethyl orthoformate, so as to obtain 5-hydroxyl pyrimid-4,6-(1H,5H)-dione; then, carrying out a chlorination reaction with phosgene, so as to obtain 4,5,6-trichloropyrimidine; then, carrying out a cyclization reaction with formamidine hydrochloride, so as to obtain 4-chloro-1H-pyrazol[3, 4-d]pyrimidine; finally, carrying out an ammoniation reaction with ammonia water or an amine compound in the presence of triethylamine, thereby obtaining the adenine and derivatives thereof. According to the method, the raw materials are moderately-priced and readily available, the reaction conditions are mild, the reaction process is safe, the requirements on production equipment are low, particularly, the environmental pollution is light, and the yield is relatively high, so that the method is applicable to industrial large-scale production.