McCain was not born in the Zone but in a public hospital in Colon about a mile away. The Naval Hospital in the Zone was built a year later.
John McCain was born on August 29, 1936, at at a small Navy hospital at Coco Solo Naval Air Station.
The larger Coco Solo Hospital was constructed in the summer of 1941. The area containing it was transferred from the civil part of the Panama Canal Zone to the naval part when Franklin Roosevelt signed Executive Order 8981 on December 17, 1941. During World War II, Coco Solo also served as a Naval Aviation Facility, housing a squadron of P-38 Lightning aircraft.