The present invention provides rice brown planthopper resistance gene Bphl4. It has a nucleotide sequence as shown in SEQ ID NO:l and its cDNA sequence is shown in SEQ ID NO:2. The Bphl4 gene in the present invention belongs to the CC-NBS-LRR gene family, its coded protein is related to plant disease resistance. Bphl4 gene has the function of resisting brown planthopper. By introducing Bphl4 gene into ordinary rice variety through genetic transformation and cross breeding, the brown planthopper resistance of rice can be increased, so that the harm caused by brown planthopper can be alleviated and the aim of increasing and stabilizing production can be achieved.