Detailed structural and non-covalent interactions in thioxotriaza-spiro derivative (DZ2) are investigated by single crystal structure anslysis and computational approaches. Its results were compared with the previously reported spiro derivative (DZ1). The crystal structure analysis revealed various C–H…O, N–H…O, C–H…N and N–H…S hydrogen bonds involved in constructing several dimeric motifs to stabilize the crystal packing. The differences and similarities in the relative contribution of non-covalent interactions in DZ1 and DZ2 compounds are compared using the Hirshfeld surface analysis and 2D fingerprint plots. The binding energies of specific molecular pairs and homodimers have been obtained using molecule–molecule interaction energy calculation. The hierarchy and topology of pair-wise intermolecular interactions are visualized through energy frameworks. The nature and strength of intra and intermolecular interactions were characterized using non-covalent interaction index analysis and the quantum theory of atoms in molecule approach. Further, molecular docking of compounds (DZ1 and DZ2) with SARS-CoV-2 main protease for COVID-19 is performed. And the superposition of these ligands and inhibitor N3, which is docked into the binding pocket of 7BQY, is presented. The binding affinity of -6.7 kcal/mol is observed, attributed to hydrogen bonding and hydrophobic interactions between the ligand and the amino acid residues of the receptor.