A bracket for mounting an electrical panel to a handrail has a first portion having a U-shaped portion for receiving the handrail, a second portion having an attachment for attaching to the electrical panel, and a pivotal connection connecting the first portion to the second portion.