The decision has been taken by the Frimley Health Foundation trust that runs the hospital.
A statement by the trust says: “Regrettably we have taken the difficult decision to suspend all general visiting to our hospitals.
“It is not a decision we have made lightly but our priority is the safety of all our patients and staff. It follows the government announcement for more stringent rules to control the spread of Covid-19 and the elevation of the location of our main hospital sites into the highest Tier 4 category.
“Arrangements for maternity services, children, carers of vulnerable patients and patients at the end of life will remain as before.
“We will also do all we can to facilitate virtual visits via online video or telephone.
“We understand the importance of visiting for many patients and we will of course keep the arrangements under daily review.