A serial asbestos waste dumper has become the first person in NSW to be jailed under tough anti-dumping legislation.

Dib Hanna was on Thursday sentenced to three years in prison, with a non-parole period of two years and three months, in the NSW Land and Environment Court after he pleaded guilty to one charge of illegal transport of waste and four counts of illegal dumping of waste.

Justice Brian Preston also ordered Hanna to remove the illegally dumped waste within 90 days, pay the Environment Protection Agency's legal costs, and publish advertisements about his crimes to deter other would-be offenders.

Hanna had advertised free clean top soil, clay, crushed bitumen, shale and the use of an excavation machine to various Sydney residents via a letterbox drop.