Park spokeswoman Lee Taylor says the park is closed as authorities search for the gunman, who was armed with a rifle and fled on foot after the shooting.
Taylor says the ranger is 34-year-old Margaret Anderson.
The shooting happened just before 11 a.m. near the Longmire Ranger Station in the southwestern part of the 368-square-mile park in Washington state.