A unprecedented hetero-bimetallic 3d-4f BDC-salamo-based coordination polymer, [(L)Ni(BDC)Gd(NO3)(DMF)] was prepared and validated via elemental analyses, IR and UV–Visible absorption spectra, DFT calculation, and X-ray crystallography. The six-coordinated Ni1 ion lies at the N2O2 donor site of the L2− moiety, and one DMF O atom and carboxylate O atom occupy, collectively, the axial positions, and form a twisted octahedron. The nine-coordinated Gd1 ion consists of three oxygen atoms (O12, O13, and O14) of two carboxylate groups, two oxygen atoms (O8 and O9) derived from one bidentate nitrate group, and an O2O2 coordination site (O1, O2, O6, and O5) of the L2− unit, forming a twisted three-capped triangular prism coordination geometry. Compared to the ligand (H2L), the fluorescence intensity decreases due to the coordination of metal ions. Meanwhile, the antibacterial activities are researched.