Pathogenesis-related (PR) proteins are important in plant pathogenic resistance and comprise 17 families, including the PR4 family, with antifungal and anti-pathogenic functions. PR4 proteins contain a C-terminal Barwin domain and are divided into Classes I and II based on the presence of an N-terminal chitin-binding domain (CBD). This study is the first to isolate two PR4 genes, PaPR4-a and PaPR4-b, from Picea asperata, encoding PaPR4-a and PaPR4-b, respectively. Sequence analyses suggested that they were Class II proteins, owing to the presence of an N-terminal signal peptide and a C-terminal Barwin domain, but no CBD. Tertiary structure analyses using the Barwin-like protein of papaya as a template revealed structural similarity, and therefore, functional similarity between the proteins. Predictive results revealed an N-terminal transmembrane domain, and subcellular localization studies confirmed its location on cell membrane and nuclei. Real-time quantitative PCR (RT-qPCR) demonstrated that PaPR4-a and PaPR4-b expression levels were upregulated following infection with Lophodermium piceae. Additionally, PaPR4-a and PaPR4-b were induced in Escherichia coli, where the recombinant proteins existed in inclusion bodies. The renatured purified proteins showed antifungal activity. Furthermore, transgenic tobacco overexpressing PaPR4-a and PaPR4-b exhibited improved resistance to fungal infection. The study can provide a basis for further molecular mechanistic insights into PR4-induced defense responses.