Gerry was born on December 6, 1813 in Waterford, Maine; he was the son of Peter and Mary "Polly" (Cutler) Gerry.
He was elected to a single term in Congress as a Democrat in 1848, and served from March 4, 1849 to March 3, 1851.