Police were surprised to find more than $2 million in a truck after they pulled over a driver for outstanding warrants in Victoria's north-west.

A 41-year-old man appeared in a Mildura court after police pulled over the truck on the Sturt Highway at Merbein South, near Mildura early on Wednesday morning.

Senior Constable Lee Thompson said the officers uncovered a small amount of drugs as well as the cash.

"He was driving a semi-trailer at the time, they searched the truck and more than $2 million in cash," she said.

The Deer Park man was charged with dealing with proceeds of crime and drugs charges.

Senior Constable Thompson said as the proceeds of crime, the money would got to state revenue.

"That's what he's been charged with dealing with the proceeds of crime and processing a drug of dependence, so I'd be guessing that's the direction," she said.

Miller did not apply for bail and will return to court next month.