Cities across the U.S. are starting to hire new teachers, firefighters and police officers as a deep and prolonged slide in local-government employment appears to have bottomed out four years after the recession ended.

Municipal police academies in Massachusetts are running at capacity as communities train new officers, while Minneapolis recently added nearly two dozen firefighters, ending a five-year hiring freeze. The school...