The Senate has passed a motion condemning the actions of trespassers on farms who film without permission.

The motion was moved by Victorian Nationals Senator Bridget McKenzie and seconded by Western Australian Liberal Senator Chris Back.

The Greens were the only party to oppose the motion.

Senator McKenzie says undercover operations by animal activists cause distress for farmers and animals.

"You don't destroy the car industry because a few drivers are doing the wrong thing," she said.

"If you have the evidence of cruelty, let courts take action, and that's precisely what this Senate agreed to occur yesterday."

Meanwhile, Senator Back is proposing a similar private senators bill which aims to ensure that animal cruelty is reported immediately to authorities.