In this study, we report the identification of potent pyrimidoindazoles as phosphodiesterase10A (PDE10A) inhibitors by using the method of fragment-based drug discovery (FBDD). The pyrazolopyridine derivative 2 was found to be a fragment hit compound which could occupy a part of the binding site of PDE10A enzyme by using the method of the X-ray co-crystal structure analysis. On the basis of the crystal structure of compound 2 and PDE10A protein, a number of compounds were synthesized and evaluated, by means of structure–activity relationship (SAR) studies, which culminated in the discovery of a novel pyrimidoindazole derivative 13 having good physicochemical properties.