In the present study, we applied the HDR (homology-directed DNA repair) CRISPR-Cas9-mediated knock-in system to accurately insert an optimized foreign bacterial phytase gene at a specific site of the nitrate reductase(NR)gene (exon 2) to achieve homologous recombination with the stability of the transgene and reduce insertion site effects or gene silencing. To this end, we successfully knocked-in the targeted NR gene ofChlamydomonas reinhardtiiusing the bacterial phytase gene cassette through direct delivery of the CRISPR/Cas9 system as the ribonucleoprotein (RNP) complex consisting of Cas9 protein and the specific single guide RNAs (sgRNAs). TheNRinsertion site editing was confirmed by PCR and sequencing of the transgene positive clones. Moreover, 24 clones with correct editing were obtained, where the phytase gene cassette was located in exon 2 of theNRgene, and the editing efficiency was determined to be 14.81%. Additionally, site-specific gene expression was analyzed and confirmed using RT-qPCR. Cultivation of the positive knocked-in colonies on the selective media during 10 generations indicated the stability of the correct editing without gene silencing or negative insertion site effects. Our results demonstrated that CRISPR-Cas9-mediated knock-in could be applied for nuclear expression of the heterologous gene of interest, and also confirmed its efficacy as an effective tool for site-specific gene knock-in, avoiding nuclear positional effects and gene silencing inC. reinhardtii. These findings could also provide a new perspective on the advantageous application of RNP-CRISPR/Cas9 gene-editing to accelerate the commercial production of complex recombinant proteins in the food-grade organism “C. reinhardtii”.