The University of Western Sydney has closed its dairy farm after more than 40 years of operation.
The university says its dairy at Richmond in Sydney's north-west has been losing hundreds of thousands of dollars a year since the deregulation of the New South Wales dairy industry two years ago.
Head of the School of Environment and Agriculture, Professor Rob Mulley, says the final cows were sold last week.
"It won't affect anybody who wants to go into dairying because much of the student learning and project work is done on commercial farms in a business setting anyway," he said.
The university is considering growing lucerne on one part of the site and running a commercial cattle stud on the grazing land.