Pain, especially chronic pain, has always been a heated point in both basic and clinical researches since it puts heavy burdens on both individuals and the whole society. A better understanding of the role of biological molecules and various ionic channels involved in pain can shed light on the mechanism under pain and advocate the development of pain management. Using viral vectors to transfer specific genes at targeted sites is a promising method for both research and clinical applications. Lentiviral vectors and adeno-associated virus (AAV) vectors which allow stable and long-term expression of transgene in non-dividing cells are widely applied in pain research. In this review, we thoroughly outline the structure, category, advantages and disadvantages and the delivery methods of lentiviral and AAV vectors. The methods through which lentiviral and AAV vectors are delivered to targeted sites are closely related with the sites, level and period of transgene expression. Focus is placed on the various delivery methods applied to deliver vectors to spinal cord and dorsal root ganglion both of which play important roles in primary nociception. Our goal is to provide insight into the features of these two viral vectors and which administration approach can be chosen for different pain researches. Anat Rec,