A new antibacterial complex C4H15CuN5O7S, which is derived from the non-insulin-dependent diabetes mellitus drug metformin hydrochloride (MH) and cupric sulfate pentahydrate, is prepared and characterized. The complex shows that a three-dimensional supramolecular structure and the intermolecular interactions are analyzed by the Hirshfeld surface analysis. More importantly, compared with the MH free ligand, the present complex shows excellent antimicrobial activity, especially for Gram-negative bacteria.