The Muslim Solidarity Event was sponsored by the Campus Y, the Muslim Student Association and student government.
Students were given free blue and red hijabs -- scarves -- and white kufis -- prayer caps -- to wear as symbols of support.
The event began with students forming a human circle around a microphone, where a banner printed with the words "UNC Muslim Solidarity" hung.
The first speaker was Nadia Siddiqui, president of the MSA, who gave a few brief remarks about the purpose of the event.
"We're showing symbolic support for Muslims here and Muslims everywhere," she said.
Melissa Exum, dean of students, spoke about safety for Muslims at UNC and in the Chapel Hill community. She said 911 phones that connect directly to the police department are available for students if they feel they need them.
Nouman Siddiqui, a Muslim and a resident at Duke University Medical Center, spoke about the importance of understanding Islam.
Nouman said learning about Islam is crucial because ignorance breeds hate, anger and violence.
"We have to understand Islam," he said. "It's now an emergency."