Hazard served three one-year terms in the Rhode Island House of Representatives, winning election as a state representative in 1851, 1854 and 1880. He also was a state senator from 1866 to 1867. In 1856, he was one of Rhode Island's delegates to the founding convention of the Republican party. Four years later he was a delegate to the 1860 Republican National Convention.