Llanidloes Graham Davies ward at Llanidloes hospital in Powys has closed to new admissions and to all visitors due to a possible diarrhoea or vomiting bug.
The ward will stay closed until no patients have any symptoms.
A spokesperson from Powys teaching Health Board said, "It is particularly important that people who are unwell keep away from patients in hospitals and long-term care facilities as they may be at increased risk of contracting gastroenteritis.
"If they do contract it they may experience more severe symptoms and it may exacerbate their other health problems."
"It is important that, if patients being admitted to hospital, or their household contacts, have been suffering from gastroenteritis within the last 48 hours, they should inform the admitting doctor."
More top news
A cold and frosty night with ice patches, frost and snow falling over the hills! it's going to be a wintry start to the weekend!
Campaigners are calling on the Welsh Government to launch a public information campaign.
The court heard how Anthony Bird, 49, put the body of Tracy Kearns in a tree house and then placed it in a trailer.