The invention relates to a method for extracting wedelia lactone by using microwave-assisted technology, which comprises the following steps of: crushing eclipta grass, adding an organic extractant, extracting with microwave for 2-3 times, filtering the extract, combining filtrate, recovering organic extractant with a rotary evaporator by reduced pressure evaporation to obtain dark green extract, adding 2-5 times the volume of water, heating in a microwave reator of 70-80 DEG C for a period of time, filtering as soon as possible, adding petroleum ether to the filtrate to remove fat-soluble ingredients such as chlorophyll, adding ethyl acetate to extract, adding anhydrous sodium sulfate to remove water, concentrating under reduced pressure to obtain yellow-green extract, taking certain amount of extract on the silica gel column, using ethyl acetate-methanol with polarity ascending for the gradient elution, obtaining off-white solid when the volume ratio of ethyl acetate-methanol is appropriate, and recrystallizing with methanol for 2-4 times to obtain the product. The microwave extracting technology can shorten the time, reduce the solvent dosage and energy consumption, and also can improve the yield and purity of the extract. The technology can meet the requirement of the green environmental protection and has significance of industrialization.