A woman has been granted access to her dead husband's sperm to conceive a child, in a landmark case in the New South Wales Supreme Court in Sydney.

Jocelyn Edwards and her husband Mark had planned to sign in-vitro fertilisation (IVF) consent forms a day after he was killed after falling from a balcony in August last year.

Mr Edward's sperm was collected after his death and his widow then had to apply to the court to use the sperm in IVF treatment.

Today Justice Robert Hulme ruled Ms Edwards is entitled to the sperm as the administrator of her late husband's estate.

Ms Edwards spoke outside the court to say she was relieved by the decision.

"We're going to have our baby. That's what I plan to do," she said.

Ms Edwards says while she is considering her options, for now she just wants to celebrate her victory.

"Champagne... more champagne at this point - just for today," she said.

"I just want to get past today, enjoy the moment. It's been a long, long, long, difficult time."

Despite today's ruling, IVF treatment is banned under NSW law without the consent of the donor.