The only person allowed to cast a ballot on Monday is Brendan Edge, a Green Party candidate in the riding of Chomedey, in Laval.
The group was represented in court by Montreal constitutional lawyer Julius Grey. He argued that they had been wrongfully denied the right to vote by members of Quebec's revisers board after presenting what he felt was more than sufficient evidence of being domiciled in Quebec.
The word "domiciled" has been a major source of contention in the lead-up to the April 7 election.
In a ruling that took an hour and a half to read, the judge on Friday explained the rationale for denying the other four.
He said two of the plaintiffs were not of voting age six months prior to the election being called, and therefore were not considered to be domiciled in Quebec.
As for the other two, the judge said that there were legitimate questions about their eligibility to vote and that the revisers were within their rights to raise those questions.
A number of McGill students complained they were told by revisers that they had not demonstrated an intent to stay in Quebec after graduating from university.
Grey said that although the students will not be able to vote on April 7, he intends to pursue the issue after the election as a matter of principle.