The was released from the hospital early Sunday, police said.
The "bullet didn't penetrate the skull," said Lt. Ron Brandolini.
The police are still looking for the shooter.
The shooter was described in a text to those on campus at Framingham State University as a black male, age 26, about 5'7 160 pounds.
Just after 4:30 p.m. on Saturday police received a report of a man shot in the back of the head. The shooter than left the scene in a car.
When police tried to pull the car over, the suspect jumped out and escaped on foot. A massive search then happened near the university campus and near Temple Street, Winter Street and Route 9. Framingham Police, Ashland Police and were involved.
As the search intensified, police sent out text alerts to students, saying: "Framingham police will be searching the campus and surrounding area. Please stay indoors until further notice. Updates will be sent as they become available."
Some residents were unhappy not to receive a reverse 911 call to alert then that a possible armed and dangerous suspect was in the area.
"Why wasn't there a reverse 911 on Saturday evening when police were looking for the suspected shooter?" asked Denize Zadina on Framingham Patch facebook page.
"20 policeman, no suspect in custody. Armed and obviously dangerous and no description or reverse 911 call to residents and saw children playing outside with a manhunt going on," wrote John Collehlo on Framingham Patch.
"As a resident of the FSU neighborhood I am VERY disappointed with the lack of communication," wrote Richelle Harrod.