Neither the federal nor provincial government opposed the 81-year-old man's request. The man, who is identified only by his initials in the ruling, was diagnosed in 2012 with lymphoma.
Under Canadian law, doctor-assisted suicide is still a crime. However, the Supreme Court last year struck down laws that bar doctors from helping someone die, but put the ruling on hold for one year. Quebec has its own legislative regime on the issue.
The judge said the married grandfather's condition and circumstances meet all the criteria for the exemption, which included him being mentally competent, in extreme pain, and freely making the assisted-death request without coercion or manipulation.
The judge also noted the man's family and doctors support his request.