Ba2AgInS4 crystallizes in the monoclinic P2_1/c space group. There are two inequivalent Ba sites. In the first Ba site, Ba(1) is bonded to one S(4), two equivalent S(1), two equivalent S(2), and two equivalent S(3) atoms to form distorted BaS7 pentagonal bipyramids that share  a cornercorner with one In(1)S4 tetrahedra, edges with three equivalent Ba(1)S7 pentagonal bipyramids, and edges with three equivalent In(1)S4 tetrahedra. In the second Ba site, Ba(2) is bonded in a 7-coordinate geometry to one S(1), two equivalent S(2), two equivalent S(3), and two equivalent S(4) atoms. Ag(1) is bonded in a distorted trigonal planar geometry to one S(1), one S(2), one S(3), and one S(4) atom. In(1) is bonded to one S(1), one S(2), one S(3), and one S(4) atom to form InS4 tetrahedra that share  a cornercorner with one Ba(1)S7 pentagonal bipyramid and edges with three equivalent Ba(1)S7 pentagonal bipyramids. There are four inequivalent S sites. In the first S site, S(1) is bonded to one Ba(2), two equivalent Ba(1), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(1)Ba3InAg square pyramid, and edges with three equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 41-57°. In the second S site, S(2) is bonded in a 6-coordinate geometry to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom. In the third S site, S(3) is bonded to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form SBa4InAg octahedra that share corners with four equivalent S(3)Ba4InAg octahedra, corners with four equivalent S(1)Ba3InAg square pyramids, corners with four equivalent S(4)Ba3InAg square pyramids, edges with two equivalent S(1)Ba3InAg square pyramids, and edges with two equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 57-60°. In the fourth S site, S(4) is bonded to one Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(4)Ba3InAg square pyramid, and edges with three equivalent S(1)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 22-60°.
Ba2AgInS4 crystallizes in the monoclinic P2_1/c space group. There are two inequivalent Ba sites. In the first Ba site, Ba(1) is bonded to one S(4), two equivalent S(1), two equivalent S(2), and two equivalent S(3) atoms to form distorted BaS7 pentagonal bipyramids that share  a cornercorner with one In(1)S4 tetrahedra, edges with three equivalent Ba(1)S7 pentagonal bipyramids, and edges with three equivalent In(1)S4 tetrahedra. The Ba(1)-S(4) bond length is 3.25 Å. There is one shorter (3.28 Å) and one longer (3.35 Å) Ba(1)-S(1) bond length. There is one shorter (3.20 Å) and one longer (3.26 Å) Ba(1)-S(2) bond length. There is one shorter (3.18 Å) and one longer (3.27 Å) Ba(1)-S(3) bond length. In the second Ba site, Ba(2) is bonded in a 7-coordinate geometry to one S(1), two equivalent S(2), two equivalent S(3), and two equivalent S(4) atoms. The Ba(2)-S(1) bond length is 3.29 Å. There is one shorter (3.20 Å) and one longer (3.27 Å) Ba(2)-S(2) bond length. There is one shorter (3.19 Å) and one longer (3.25 Å) Ba(2)-S(3) bond length. There is one shorter (3.26 Å) and one longer (3.37 Å) Ba(2)-S(4) bond length. Ag(1) is bonded in a distorted trigonal planar geometry to one S(1), one S(2), one S(3), and one S(4) atom. The Ag(1)-S(1) bond length is 2.55 Å. The Ag(1)-S(2) bond length is 3.20 Å. The Ag(1)-S(3) bond length is 2.58 Å. The Ag(1)-S(4) bond length is 2.57 Å. In(1) is bonded to one S(1), one S(2), one S(3), and one S(4) atom to form InS4 tetrahedra that share  a cornercorner with one Ba(1)S7 pentagonal bipyramid and edges with three equivalent Ba(1)S7 pentagonal bipyramids. The In(1)-S(1) bond length is 2.50 Å. The In(1)-S(2) bond length is 2.45 Å. The In(1)-S(3) bond length is 2.58 Å. The In(1)-S(4) bond length is 2.51 Å. There are four inequivalent S sites. In the first S site, S(1) is bonded to one Ba(2), two equivalent Ba(1), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(1)Ba3InAg square pyramid, and edges with three equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 41-57°. In the second S site, S(2) is bonded in a 6-coordinate geometry to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom. In the third S site, S(3) is bonded to two equivalent Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form SBa4InAg octahedra that share corners with four equivalent S(3)Ba4InAg octahedra, corners with four equivalent S(1)Ba3InAg square pyramids, corners with four equivalent S(4)Ba3InAg square pyramids, edges with two equivalent S(1)Ba3InAg square pyramids, and edges with two equivalent S(4)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 57-60°. In the fourth S site, S(4) is bonded to one Ba(1), two equivalent Ba(2), one Ag(1), and one In(1) atom to form distorted SBa3InAg square pyramids that share corners with four equivalent S(3)Ba4InAg octahedra, edges with two equivalent S(3)Ba4InAg octahedra,  an edgeedge with one S(4)Ba3InAg square pyramid, and edges with three equivalent S(1)Ba3InAg square pyramids. The corner-sharing octahedral tilt angles range from 22-60°.