West Lothian Council's three long-term placement care homes will remain open following an agreement by the West Lothian Integration Joint Board (IJB).
The IJB is responsible for commissioning adult health and social care services and overseeing the delivery of these services in West Lothian.
The IJB is facing a significant budget gap of £17.3 million caused by rising demand for services combined with insufficient levels of funding.