Protesting outside of abortion clinics has been made illegal in South Australia, after new legislation passed state parliament last night.

Greens MLC Tammy Franks introduced the proposed law and said she was relieved patients and health care workers would no longer be subjected to harassment, intimidation and threats while trying to access or provide abortion services.

This new legislation leaves Western Australia as the only state without similar laws.