Minn. Stat. § 518.165
Subd. 1. Permissive appointment of guardian ad litem.
In all proceedings for child custody or for dissolution or legal separation where custody or visitation of a minor child is in issue, the court may appoint a guardian ad litem from a panel established by the court to represent the interests of the child. The guardian ad litem shall advise the court with respect to custody, support and visitation.
Subd. 2. Required appointment of guardian ad litem.
In all proceedings for child custody or for marriage dissolution or legal separation in which custody or visitation of a minor child is an issue, if the court has reason to believe that the minor child is a victim of domestic child abuse or neglect, as those terms are defined in sections 260.015 and 626.556, respectively, the court shall appoint a guardian ad litem. The guardian ad litem shall represent the interests of the child and advise the court with respect to custody, support, and visitation. If the child is represented by a guardian ad litem in any other pending proceeding, the court may appoint that guardian to represent the child in the custody or visitation proceeding. No guardian ad litem need be appointed if the alleged domestic child abuse or neglect is before the court on a juvenile dependency and neglect petition. Nothing in this subdivision requires the court to appoint a guardian ad litem in any proceeding for child custody, marriage dissolution, or legal separation in which an allegation of domestic child abuse or neglect has not been made.
Subd. 2a. Responsibilities of guardian ad litem.
A guardian ad litem shall carry out the following responsibilities:
Subd. 3. Fees.
A guardian ad litem appointed under either subdivision 1 or 2 may be appointed either as a volunteer or on a fee basis. If a guardian ad litem is appointed on a fee basis, the court shall enter an order for costs, fees, and disbursements in favor of the child's guardian ad litem. The order may be made against either or both parties, except that any part of the costs, fees, or disbursements which the court finds the parties are incapable of paying shall be borne by the county in which the proceeding is being held. In no event may the court order that costs, fees, or disbursements be paid by a party receiving public assistance or legal assistance or by a party whose annual income falls below the poverty line as established under United States Code, title 42, section 9902(2).