Phosphodiesterase (PDE) 10A is a dual hydrolase of cAMP and cGMP and highly expressed in striatal medium spiny neurons. Inhibition of PDE10A modulates the activity of medium spiny neurons (MSN) via the regulation of cAMP and cGMP. Signal control of MSN is considered associated with psychotic symptoms. Therefore PDE10A inhibitor is expected as a therapeutic method for psychosis disease such as schizophrenia. Avanafil (1) is a PDE5 inhibitor (treatment for erectile dysfunction) discovered by our company. We paid attention to the homology of PDE10A and PDE5 and took advantage of PDE5 inhibitor library to discover PDE10A inhibitors, and found a series of compounds that exhibit higher potency for PDE10A than PDE5. We transformed the afforded derivatives, which had weak inhibitory activity against PDE10A, and discovered stilbene as a PDE10A inhibitor. Brain penetration of this compound was improved by further conversion of N-containing heterocycles and their substituents. The afforded dimethylaminopyrimidine was effective for rat conditioned avoidance response (CAR) test; however, it did not exhibit good brain penetration. We performed in-depth optimization focusing on substituents of the quinoxaline ring, and produced 3-methyl-7-fluoro quinoxaline. This compound was the most effective in rat CAR test due to its strong PDE10A inhibitory activity and good pharmacokinetics.