The asymmetric unit of the title compound, C26H18N6O4S, contains two independent mol-ecules (A and B). The dihedral angles between the oxadiazole ring and naphthalene ring system are 42.59 (14) and 6.88 (14) Å in mol-ecules A and B, respectively. The dihedral angles between the pyridine and benzene rings in A and B are 65.53 (13 )and 87.67 (13) Å, respectively. In the crystal, mol-ecules A and B are linked through a pair of N-H⋯N hydrogen bonds involving one -NH2 group H atom and second pair of N-H⋯N hydrogen bonds involving the other -NH2 group H atom, forming an -ABAB- ribbon along [100] containing R 2 (2)(8) and R 2 (2)(12) ring motifs. These ribbons are further connected by weak C-H⋯N, C-H⋯O and C-H⋯π inter-actions, resulting in a three-dimensional network. The crystal studied was a non-merohedral twin with refined components 0.906 (1):0.094 (1).