The present invention is to provide a topical dermatitis treating agent which comprises a pyridine compound represented by the following formula [I]: wherein R 1 and R 2 each represent a lower alkoxy group, =X- represents a group represented by the formula: or a group represented by the formula: =N-, Ring A represents a saturated or unsaturated bicyclic nitrogen-containing heterocyclic group having 1 to 4 substituents selected from hydroxyl group, oxo group, a lower alkoxy group, a di-lower alkylaminophenyl group, a pyperidino-lower alkoxy group, a morpholino-lower alkoxy group, a cyclo-lower alkylamino-lower alkylamino group, pyridyl group and morpholino group, and ---- represents a single bond or a double bond, or a pharmaceutically acceptable salt thereof as an active ingredient.