Two civilian shipyard workers at Joint Base Pearl Harbor-Hickam in Honolulu were killed by a US sailor on Wednesday, Rear Adm. Robert Chadwick told reporters.
The shooter then killed himself, Chadwick said.
A third civilian employee was wounded and is stable at a hospital, Chadwick added.
Chadwick said the sailor took his life after opening fire near Shipyard Drydock 2, a maintenance area for nuclear submarines.
Authorities have not released the identities of the victims or the shooter.
The incident occurred at 2:30 p.m. HST (7:30 p.m. ET) at the Pearl Harbor Naval shipyard, officials tweeted on the base's verified Twitter account.
About three hours later, Lydia Robertson, a US Navy spokesperson, said the scene was secured and the base had reopened. Both base security and Navy Investigative Services are conducting the investigation, she said.
Several witnesses told CNN affiliate KGMB/KHNL that they heard gunshots.
One man, who did not give his name, said he was at his desk when he heard loud pops.
'I kind of recognized that as gunshots, I looked out the window (and) saw three people on the ground, I looked out in time to see the shooter, who I assume was a sailor because he was in uniform, point the gun at his head and shoot himself,' the witness told KGMB/KHNL.
The Queen's Medical Center in Honolulu received one patient from the incident, Minna Sugimoto, a spokeswoman for The Queen's Health System, told CNN.
There were no other details about the victims.
The shooting occurred three days before commemorations of the Japanese attack that thrust the United States into World War II.
The base houses Air Force and Navy units and the base population, as of 2015, was more than 66,000.
This is a developing story. Check back for updates.
- US sailor kills two employees on Joint Base Pearl Harbor-Hickam before fatally shooting self
- Area residents remember Pearl Harbor
- A sailor returns home: Mitchell County man brought home after being killed in Pearl Harbor
- A sailor returns home: Fillmore County man brought home after being killed in Pearl Harbor
- Remains identified of Iowa sailor from Hancock County killed at Pearl Harbor
- Pearl Harbor sailor comes home for burial -- 77 years after he died
- Pearl Harbor heroes finally coming home
- Pearl Harbor victim's remains being returned to Iowa
- A CBP employee killed his wife and two sons before fatally shooting himself, police say
- Fatal shooting sparks conversation