 Plans for the hospital were announced in 2005, with the facility intended to replace the continuing care elements of Loanhead Hospital and Rosslynlee Hospital.It was built by Robertson Group and opened in September 2010.An incident occurred in January 2018 when hospital staff refused to help a 13-year-old girl, whose mother had collapsed outside the Bonnyrigg facility after getting an x-ray on her injured wrist.