State Police say Tyler Emerson and three friends had snowmobiled to a remote camp near North Twin lake Saturday night.
One of the friends took a handgun with him.
Police say it looks like Emerson had been handling the gun inside the camp, and as he passed it to one of his friends the gun went off and the bulletstruck him in the face.
His friends then took him by snowmobile to a waiting vehicle and Emerson was driven to the hospital.
He was pronounced dead shortly after arriving at Millinocket Regional Hospital.
No decision has been made on whether charges will be filed.