A GOLD COAST father supplied his teenage daughter with marijuana to prevent her from becoming addicted to anti-depressant medication, a court heard today.

In the Supreme court in Brisbane, the man, 45, of Nerang, who can't be named because it would identify his daughter, pleaded guilty to supplying drugs to a minor and producing cannabis sativa, reported The Courier-Mail.

Justice Glenn Martin said police raided the man's house on July 1 last year and seized 3kg of marijuana which they found in a shed on the property.

He said the man later admitted to police that the drugs were for personal use and also to supply his daughter, who he was worried would become hooked on prescribed anti-depressants.

The girl was 16 at the time but is now 17.

The man also used the drug as a tea to relieve ongoing pain in his back, the court heard.

Justice Martin said he considered how best to demonstrate the community's abhorrence of the man providing his daughter with an illegal substance when deciding upon a sentence.

"You as a parent betrayed your trust to your daughter. It was a vile thing to do," Justice Martin said.

But Justice Martin said the man now had a job, relationship and was using legal pain medication for his back, and saw little point in sending him to jail for a brief time.

He sentenced the man to two years jail but with immediate parole.