Farmers in Victoria's Gippsland region have received a boost with the federal government spending $31 million on an irrigation project to help drought-proof the area.

Prime Minister Scott Morrison visited drought-affected farmers in the region on Sunday, announcing funding for the Macalister irrigation district project, along with a $2.5 million investment in mental health services.

"I can't make it rain but we're working closely with the local community to ensure the right supports are in place and that we have the water infrastructure needed for the future," Mr Morrison said.

Victorian Premier Daniel Andrew welcomed the funding and said he would thank Mr Morrison personally when the two men met tomorrow.

"I think it's a good step forward. There are a few more things on our list and we will work with him in good faith to try and achieve even more," he said.