The ban, which takes effect immediately and expires June 30, was adopted by the council after a lengthy public hearing where many residents and a handful of students spoke against the proposed development ordinance.
The council members voted against the proposal favored by student leaders, but Dean Bresciani, interim vice chancellor for student affairs, said students' presence still was effective.
"I think just in the nick of time students weighed in," Bresciani said. "(Council members) were waiting to see if students would step forward, and they did."
About 10 graduate students and five undergraduates attended the council meeting, with most of the presence coming from student government officials.
Although the duplex ban passed, student officials said it will have little effect on off-campus housing for UNC students.
Student Body President Jen Daum said that because the ban is temporary and not indefinite like other proposals considered, students won't be left scrambling for housing options.
"This is a compromise," she said.
During the public hearing, Branson Page, Graduate and Professional Student Federation president, presented a petition opposing the ordinance signed by more than 200 students and faculty members.
The petition contained information gathered by the External Relations Committee of student government and the Student Service Committee on Off-Campus Housing.