A method of producing a near-infrared absorbing dye compound, useful for image forming materials, infrared heat-sensitive recording devices, optical film materials, and the like, containing a process of reacting a compound represented by formula (I) with halogenating agent.