A female student has died of an apparent self-inflicted gunshot wound after shooting and injuring another female student inside a high school in Texas, according to the local sheriff.

"The shooter appears to have shot herself," Brewster County Sheriff Ronny Dodson told radio station KVLF.

A gun was found near the suspected shooter, he said.

The incident began shortly before 9am local time at Alpine High School in the town of 5,900 people in Texas' Big Bend region.

Authorities did not immediately release a possible motive for the gunfire.

Mr Dodson said the injured student ran outside seeking help and was taken to hospital with injuries that were not considered life-threatening.

A federal law enforcement officer who was responding to the incident was shot in the leg when another officer's gun accidentally discharged, he said.

The shooting prompted a lockdown at Alpine's three public schools.

Mr Dodson said the shooting at the high school was part of a chaotic series of events that included a bomb threat called in at nearby Sul Ross State University, which required law enforcement personnel to rush there from the high school.

"That's ridiculous for someone to call in something like this when we've got this situation going on," Mr Dodson said.

"This community does not expect this, we don't want this, and we can't explain it yet."

Alpine is 220 miles south east of El Paso and 110 miles north of Big Bend National Park.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.