NHS Fife received the keys to the new-look Adamson Hospital from contractors Ogilvie Construction on Wednesday.
The ceremony marked the completion of the two-phase £10 million redevelopment project that has transformed the hospital.
Services that relocated to Stratheden during the work will return to the Adamson early next week with minimal disruption.
The upgraded Cupar Health Centre is already home to the Eden Villa and Bank Street GP practices.
Members of the public will have the opportunity to look round the redeveloped hospital today (Friday).
To take part in a tour or for more information call 01334 696020.