The present invention provides a compound having an excellent efficacy for controlling weeds. A dihydropyrone compound of formula (I): wherein m is 1, 2 or 3 n is an integer of any one of 1 to 5 X represents O, S, S(O) or S(O)2 R1 represents a hydrogen atom or a methyl group R2 and R3 represents a hydrogen atom, an C1-6 alkyl group and the like when X represents S, S(O) or S(O)2, R4 represents an C1-6 alkyl group, a C1-6 haloalkyl group, an C6-10 aryl group or a five- to six-membered heteroaryl group, and X represents O, S, S(O) or S(O)2, R4 represents an C6-10 aryl group or a five- to six-membered heteroaryl group G represents a hydrogen atom and the like Z represents a halogen atom, a cyano group, a nitro group, a phenyl group, an C1-6 alkyl group and the like is useful as an active ingredient for herbicides.