According to the Marriage Law, divorce can be divided into two types: agreement divorce and litigation divorce. The same is true of divorce with prisoners.
However, due to the particularity of the status of prisoners, prisoners generally need to apply to the prison for leaving prison and be accompanied by the correctional police or the prison coordinating the marriage registration authority to go to the prison for divorce registration. However, it is necessary to clarify the competent court when suing for divorce.