The invention relates to a chimeric antigen receptor and a preparation method thereof, an NK cell modified by the chimeric antigen receptor and application in treating HBV infection. The chimeric antigen receptor comprises a leader nucleotide artificial sequence, an HBsAg single-chain antibody nucleotide artificial sequence, a CD8alpha hinge region nucleotide artificial sequence, an NKG2D transmembrane region nucleotide artificial sequence, a 2B4 co-stimulation region nucleotide artificial sequence, a CD3zeta signal transduction region nucleotide artificial sequence, a T2A self-cleavable region nucleotide artificial sequence, an IFN-alpha nucleotide artificial sequence and a RQR8 molecular switch region nucleotide artificial sequence. According to the chimeric antigen receptor and the preparation method thereof, the NK cell modified by the chimeric antigen receptor and the application in treating HBV infection, for a common alpha determinant specific antibody, HBsAg in different subtypes can be identified, therefore, the Anti-HBsAg-IFN-alpha-CARNK cell has therapeutic effects on all HBV subtype infection, and meanwhile, the therapeutic dosage and toxic and side effects are also reduced.