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
Exclusive figures given to ITV Cymru Wales show a steep rise in the number of people seeking advice for steroid use.
Cold, breezy and generally cloudy at first with further wintry outbreaks on the hills
All primary and secondary schools in Wales have been categorised in a new colour-coded system. Is your school green or red?