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 mother-of-three has escaped jail after claiming benefits as a single mother - when she was living with her husband.
As one road safety charity calls for tougher punishments for those who break the law, we're asking you for your opinion on the issue.
Wales international Eli Walker has signed a new deal with the Ospreys, keeping him at the Liberty Stadium until the summer of 2017.