A herbicidal composition, comprising two active components A and B. B is one selected from glufosinate, L-glufosinate, oxyfluorfen, fluoroglycofen, imazethapyr, dimethenamid, (S)-dimethenamid, metolachlor, (S)-metolachlor, butachlor, acetochlor and pyroxasulfone or is one selected from glyphosate and derivatives thereof. Preferably, 1: 1.5-10 mass percentage of components A and B are used. Said composition can be formulated into various dosage forms. Said composition is suitable for controlling annual and perennial weeds in garden and non-cultivated land. The combination of the two active ingredients has obvious synergistic effects, improving the control effect and reducing the amount of the pesticide used.