A promising young Australian goalkeeper has died in hospital after he was struck by lightning during a training session in Malaysia last month.

Stefan Petrovski, 18, had been in intensive care following the freak accident in Malacca on April 5.

Australian goalkeeper Stefan Petrovski has died in hospital.

The Melaka United player was one of two players admitted to hospital when a lightning bolt struck the goal posts he was standing close to.

While his teammate, 21-year-old defender Muhd Afiq Azuan, regained consciousness and was stabilised, Petrovski's condition deteriorated.