The petitioner (i.e., the spouse who files the petition for divorce) pays the filing fee. In some instances, the filing fee can be waived if the petitioner can show that he or she cannot afford to pay the filing fee.