Liberal Democrats senator David Leyonhjelm has introduced legislation to parliament to legalise cannabis.

Senator Leyonhjelm has been a long-time supporter of allowing recreational use of cannabis and last month backed the Greens' plan to make the drug legal.

He introduced a private senator's bill to the Senate on Wednesday which would let states and territories legalise and regulate cannabis.