Williams told the official Hibs website: “I’m about to enter my peak years as a goalkeeper. This was probably the biggest decision of my career so far, I believe it’s the right choice.”
Williams rejected the offer of a new contract at Colchester, making 125 appearances for the club.
Hibs manager Pat Fenlon commented on the signing: “Ben is a top class goalkeeper with vast experience. He has an excellent pedigree and knowledge of the game. He is another strong-minded character, who along with James McPake and the other senior players will lead our new-look team into next season.”
Williams is the fourth signing this summer for the Easter Road side following the capture of James McPake, Tim Clancy and Paul Cairney.