It happened around 5:50 am.
Investigators say the victim was stabbed in the back near Pacheco Boulevard and Place Road, along a rail trail.
He was taken to a hospital and then airlifted to another medical center outside Merced County. His condition wasn't immediately available.
Police have not released information about a possible suspect or a motive for the stabbing.