Australian farmers with properties foreclosed by major banks are hoping the banking royal commission hearings will expose unfair treatment.

ANZ and Commonwealth is alleged to have forced farmers and business owners to refinance against their will.

ANZ bank has privately settled with many farmers but has gagged them from speaking out publicly without risking legal action with confidentiality clauses.