Mucopolysaccharidosis type II (MPS II) is an X-linked lysosomal storage disorder caused by pathogenic variants in the IDS gene encoding iduronate-2-sulfatase (IDS), which hydrolyzes sulfate groups in dermatan sulfate and heparan sulfate. The current treatment for MPS II includes enzyme replacement therapy and hematopoietic stem cell transplantation (HSCT). Both therapies have shown limited penetration through the blood-brain barrier. Anecdotal cases have been reported with the HSCT benefit to treat neurological problems in MPS II. Herein, we generated an MPS II mouse model using CRISPR/Cas9 to examine the effectiveness of CNS-directed, adeno-associated virus (AAV)2/9-mediated human IDS gene transfer in expressing sustained IDS and improving behavior performance in this model. The intracerebroventricular administration of AAV2/9-hIDS showed higher IDS activity in the central nervous system and better auditory function compared with those by intravenous administration. The results provide a strong proof of concept for the clinical translation of our approach to treating patients with MPS II and cognitive impairment.