The present invention relates to a method for preparing a pyrimidone heteroaryl derivative and an intermediate of the pyrimidone heteroaryl derivative. Specifically, in the present invention, the pyrimidone heteroaryl derivative is prepared by changing a starting raw material and an intermediate. The method shortens reaction steps, improves the reaction yield, is easy to operate and facilitates expansion of industrial production.