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
Former detectives quizzed as part of the UK's biggest police corruption probe have launched legal action against their former employers.
Katie Alexander, 16, was last seen at her home in New Quay, Ceredigion, at lunchtime on Tuesday.
It's not going to be wall-to-wall sunshine. It's not even going to feel too tropical. But the weekend looks largely fine and dry!