The Home Office has opened an £8m National Ballistics Database service to help police solve crimes involving firearms.
The CSI-style service works by giving guns and bullets a "fingerprint", which can then be tracked.
Once a gun has been fired in a crime and identified by the service, investigators will be able to track any bullets subsequently fired from that weapon back to it.
The government said the new service will help to identify those who import, store and supply illegal firearms, and track down people involved in illegally adapting firearms.
Home secretary Jacqui Smith said, "Every gun or bullet tells a story. The National Ballistics Intelligence Service (NABIS) helps police unravel that story and track down offenders.
"NABIS's expert advice will help police take more guns off our streets and better protect our communities from gun-related crimes."
Read more on IT legislation and regulation
FBI planned a sting against An0m cryptophone users over drinks with Australian investigators
Police raids around world after investigators crack An0m cryptophone app in major hacking operation
Arrest warrants issued for Canadians behind Sky ECC cryptophone network used by organised crime
Belgian police raid 200 premises in drug operation linked to breach of encrypted phone network