A man in his 20s has died from a gunshot wound to the head after a gun was fired inside a moving car near Melbourne early today.

Police said the man and several other people were in the vehicle driving in the Seaford area, southeast of Melbourne, when the weapon was discharged at about 1.10am.

He suffered a head wound and died. He was driven to a home in Seaford, and police were called.

Police are speaking to the others who were in the car at the time to determine how the weapon was discharged.

AAP