Indiana Gov. Mike Pence declared a public-health emergency in a rural southern county to counter the spread of HIV linked to intravenous drug use—an outbreak he said has reached epidemic proportions.

In an executive order, Mr. Pence authorized Scott County to institute a “targeted, short-term needle-exchange program” to contain the outbreak, according to the governor’s office.

“I...