A method for preparing a pyridine compound of formula: which comprises reacting a compound of formula: wherein L 1 represents a halogen atom, R 2, R 3, R 4, R 5, and R 6 represent each independently a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), a phenyl group which may optionally have substituent (s), -OR 10, -S m R 10, -S 2 NR 11 R 12, -NR 10 R 13, -NR 11 CO 2 R 13, -NR 11 C R 12, -CO 2 R 10, -C R 11, -C NR 11 R 12, -SF 5, a cyano group, a nitro group, or a hydrogen atom, m is an integer of 0-2, provided that R 5 and R 6 are not both a hydrogen atom, R 10 and R 13 represent each independently a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s) or a phenyl group which may optionally have substituent(s), R 11 and R 12 represent each independently a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), a phenyl group which may optionally have substituent(s), or a hydrogen atom, A 1 represents -NR 7 -, an oxygen atom, or a sulfur atom, A 2 represents a nitrogen atom or =CR 8 -, and R 7 and R 8 represent each independently a chain hydrocarbon group having one to six carbons, or a hydrogen atom, wherein in the phenyl group which may optionally have substituent (s) as R 2, R 3, R 4, R 5, R 6, R 10, R 11, R 12, and R 13, the substituent (s) is/are one or more substituent (s) selected from the group consisting of a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkoxy group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylthio group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylsulfinyl group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylsulfonyl group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylcarbonyl group having two to six carbons which may be optionally substituted with fluorine atom(s), an alkoxycarbonyl group having two to six carbons which may be optionally substituted with fluorine atom(s), a halogen atom, a cyano group, and a nitro group, with a compound of formula: wherein R 1 represents a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), and M + represents a sodium ion, a potassium ion, or a lithium ion, to prepare the compound of formula, wherein R 1, R 2, R 3, R 4, R 5, R 6, A 1, and A 2 have the same meanings as defined above. L 1 represents a halogen atom, R 2, R 3, R 4, R 5, and R 6 represent each independently a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), a phenyl group which may optionally have substituent (s), -OR 10, -S m R 10, -S 2 NR 11 R 12, -NR 10 R 13, -NR 11 CO 2 R 13, -NR 11 C R 12, -CO 2 R 10, -C R 11, -C NR 11 R 12, -SF 5, a cyano group, a nitro group, or a hydrogen atom, m is an integer of 0-2, provided that R 5 and R 6 are not both a hydrogen atom, R 10 and R 13 represent each independently a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s) or a phenyl group which may optionally have substituent(s), R 11 and R 12 represent each independently a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), a phenyl group which may optionally have substituent(s), or a hydrogen atom, A 1 represents -NR 7 -, an oxygen atom, or a sulfur atom, A 2 represents a nitrogen atom or =CR 8 -, and R 7 and R 8 represent each independently a chain hydrocarbon group having one to six carbons, or a hydrogen atom, wherein in the phenyl group which may optionally have substituent (s) as R 2, R 3, R 4, R 5, R 6, R 10, R 11, R 12, and R 13, the substituent (s) is/are one or more substituent (s) selected from the group consisting of a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkoxy group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylthio group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylsulfinyl group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylsulfonyl group having one to six carbons which may be optionally substituted with fluorine atom(s), an alkylcarbonyl group having two to six carbons which may be optionally substituted with fluorine atom(s), an alkoxycarbonyl group having two to six carbons which may be optionally substituted with fluorine atom(s), a halogen atom, a cyano group, and a nitro group, with a compound of formula: wherein R 1 represents a chain hydrocarbon group having one to six carbons which may be optionally substituted with fluorine atom(s), and M + represents a sodium ion, a potassium ion, or a lithium ion, to prepare the compound of formula, wherein R 1, R 2, R 3, R 4, R 5, R 6, A 1, and A 2 have the same meanings as defined above.