A young police officer who was shot in the head during the Bondi Beach attack has been released from hospital.

Probationary Constable Jack Hibbert - who is just four months into the job - was patrolling a Hanukkah event when two gunmen opened fire, injuring over 40 people and killing 15.

The 22-year-old, who was also hit in the shoulder, has lost vision in one of his eyes but is now recovering at home, his family confirmed in a statement.

As a family, we couldn't ask for anything more - having our Jack home, especially for Christmas, truly feels like a miracle.

The family thanked the public for their overwhelming support and praised medical staff for their exceptional care and dedication.

While he is home, he is still recovering and will need space, support, and continued positive thoughts during this time, the statement added.

Even after he was shot during the attack, Constable Hibbert continued to help festival attendees until he physically could no longer do so, his family previously said.

His colleagues praised his courage, noting he moved toward those in need instead of away from danger.

Hibbert was one of two officers injured; the other, Constable Scott Dyson, is still recovering in hospital.

NSW Police Commissioner Mal Lanyon visited Hibbert, praising him as a positive young man and assured that they will find suitable duties for him post-recovery.

The attack has been attributed to gunmen inspired by Islamic State ideology. Naveed Akram, one of the suspects, has been charged with 59 offenses, including murder.

In all, this incident serves as a poignant reminder of both the dangers police officers face and the resilience of those who serve and protect communities.