Victorian opposition leader Matthew Guy has reportedly spent millions of taxpayer money to confidentially settle a lawsuit over a botched planning decision.

Guy, a former planning minister, spent an estimated 2.5 million dollars to pay for the case where it was alleged he used his ministerial power to override a Bass Coast Council rezoning.

Guy was fearful he would lose his job if the lawsuit became public, despite repeated legal advice against it.