The Sydney barber who was taken to court for refusing to cut a girl's hair has settled the case after an eight-month legal battle.

Hunters Hill Barber owner Sam Rahim leapt to national attention after 9NEWS broke the story about the sex discrimination case levelled against him earlier this year.

Mr Rahim was accused of discrimination by a woman after he refused to cut her daughter’s hair at his barbershop on the North Shore in December last year.

Sam Rahim has settled the sex discrimination case out of court. Picture: Supplied (9NEWS)

The mother, who is a lawyer, filed a complaint against the barber store in the Federal Circuit Court for an alleged breach of the Sex Discrimination Act.

"It has been really hard on my family but the support from my local community has warmed my heart," Mr Rahim told 9NEWS at the time.

But Mr Rahim has settled the case before it was due in court in October, posting the update on his barbershop's Facebook page.

"There has been media attention recently in relation to a sex discriminaiton claim instituted against me for declining to provide services to a girl who entered my barber shop," the post said.

"Regrettably there was a misunderstanding between the parties.

"I am happy to say that the proceedings have now been resolved. The girl is welcome in my barber shop any time and I would be happy to provide the same service to her as I do for other customers, regardless of gender."

Mr Rahim's wife Ronda spoke to the TODAY Show about her husband's plight in April. Picture: 9NEWS (9news)

Mr Rahim, who opened his store in 2015, told 9NEWS he rejected the girl’s haircut because he was a barber, not a hairdresser.

The complainant, who 9news.com.au did not name to avoid identifying her daughter, supplied a statement in April.

"The basis of the claim is that the barber shop refused to simply run the clippers through my daughter's undercut, because she was a girl," the statement said.

Mr Rahim said he came under immense pressure when the case captured national attention. Picture: 9NEWS (9NEWS)

"I indicated to him that I did not need him to style, cut or trim the rest of her hair, which is styled in a 'bob'.

"Mr Rahim's explanation was that he wished to keep his barber shop for boys and men only. He never said he was not qualified to cut women or girls' hair, as he has incorrectly reported to the media."