Gratz is a borough in Dauphin County, Pennsylvania, United States. The population was 765 at the 2010 census, up from 676 at the 2000 census. It is part of the Harrisburg–Carlisle Metropolitan Statistical Area.