4-chloropyrrolopyrimidine is an important pharmaceutical intermediate, which is used as an intermediate for the bulk drug of tofacinib in the treatment of adult patients with moderate to severe rheumatoid arthritis, such as methotrexate underreaction or intolerance. 4-chloropyrrolopyrimidine is also an important raw material for the development of many antibacterial, anti-tumor, anti vertebral worms and other drugs.