Long-wave sensitive (LWS) is a G protein-coupled receptor expressed in the retina, and zebrafish is a better model organism for studying vision, but the role of LWS1 in vision-guided behavior of larvae fish has rarely been reported. In this study, we found that zebrafish lws1 and lws2 are tandemly replicated genes, both with six exons, with lws1 being more evolutionarily conserved. The presence of Y277F in the amino acid sequence of lws2 may have contributed to the shift of λmax to green light. We established a lws1 knockout zebrafish model using CRISPR/Cas9 technology. Lws1-/- larvae showed significantly higher levels of feeding and appetite gene (agrp) expression than WT, and significantly lower levels of anorexia gene (pomc, cart) expression. In addition, green light gene compensation was observed in lws1-/- larvae with significantly increased expression levels of rh2-1. The light-dark movement test showed that lws1-/- larvae were more active under light-dark transitions or vibrational stimuli, and the expression of phototransduction-related genes was significantly up-regulated. This study reveals the important role of lws1 gene in the regulation of vision-guided behavior in larvae.