The severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) has caused over 100 million confirmed human infections, and 2 million more deaths globally since its emergence in the end of 2019. Several studies have shown that prior infection provided protective immunity against SARS-CoV-2 in non-human primate models. However, the effect of prior infection on blocking SARS-CoV-2 transmission is not clear. Here, we evaluated the impact of prior infection on protection and transmission of the SARS-CoV-2 virus in golden hamsters. Our results showed that prior infection provided protective immunity against SARS-CoV-2 re-challenge, but it was not sterizing immunity. The transmission experiment results showed that SARS-CoV-2 was efficiently transmitted from naive hamsters to prior infected hamsters by direct contact and airborne route, but not by indirect contact. Further, the virus was efficiently transmitted from prior infected hamsters to naive hamsters by direct contact, but not by airborne route and indirect contact. Surprisingly, the virus can be transmitted between prior infected hamsters by direct contact during a short period of early infection. Taken together, our study demonstrated that prior infected hamsters with good immunity can still be naturally re-infected, and the virus can be transmitted between prior infected hamsters and the naive through different transmission routes, implying the potential possibility of human re-infection and the risk of virus transmission between prior infected population and the healthy. Our study will help to calculate the herd immunity threshold more accurately, make more reasonable public health decisions, formulate an optimized population vaccination program, as well as aid the implementation of appropriate public health and social measures to control COVID-19.