Health chiefs say a norovirus outbreak is leading to 'exceptional pressure' at hospitals across Cardiff and the Vale of Glamorgan.
For the second time this week, the Cardiff and Vale heath board has extended its ban on all visitors at most of its sites across the region.
Restrictions were imposed a week ago following a 'significant' increase in cases.
The ban affects both Barry and Llandough hospitals, including the mental health unit at Hafan y Coed, but it does not affect outpatient appointments.
The Noah's Ark Children's Hospital at UHW in Cardiff is still allowing visitors, with exemptions being made elsewhere for birthing partners and patients who are critically ill or receiving end of life care.
A CAVUHB spokesperson said on Friday: "The impact of the Norovirus outbreak continues to affect a number of wards which is causing exceptional pressure on the system."
"As a result of this challenging position, we have made the difficult decision to continue a No Visiting policy. Again, this is not a decision we have taken lightly, but one that is imperative to protect our patients, staff and visitors and reduce the spread of infection."
The health board says it will review restrictions again next week "if the situation has improved".

Former Holm View Leisure Centre could become education and community hub
ScoutsCymru members represent Wales at Royal Albert Hall Festival of Remembrance
Plans for indoor market at former Barry Wilko move forward
Police given additional powers to deal with anti-social behaviour in Barry
Senedd passes supplementary budget with £60m boost for additional learning needs
Future of planned festive events in question after criminal damage to Barry Town Hall
Consultation to open on plans for 35MW solar farm near Penarth
No Trains through the Vale of Glamorgan this Sunday
Police and Cardiff City launch operation to tackle matchday anti-social behaviour
Free leaf and fallen fruit collections return in the Vale
Barry retains Fairtrade Town status until 2029
£1m improvements planned for Pencoedtre Park as splashpad work set to begin
Plan submitted for new independent school on site of well-known charity farm
Is your hot water bottle safe?
Solicitor sentenced for defrauding Cancer Research UK
Cate is crowned champion!
WATCH: Winner of The Voice UK Cate McHugh duets with Sir Tom Jones
Barry filmmaker takes her documentary to the big screen in New York
Pupils leave their mark on new school at steel signing event
£3m refurbishment plans revealed for Cowbridge Town Hall