Authorities said a man was washing windows at the three-story medical building at about 6:34 a.m. when an extension rod he was holding came into contact with a 12,000-volt power line.
Officials said the man died at the scene. The name of the victim was not released.
The north side of the building, located at Beach Boulevard and Newman Avenue, was briefly evacuated as a precaution. The Good Shepherd Cemetery, which is next to the hospital, was not affected.
The county coroner and the Occupational Safety and Health Administration (OSHA) were investigating the death.
The Associated Press contributed to this report.