Antibodies and derivative drugs targeting immune checkpoints have been approved for the treatment of several malignancies, but there are fewer responses in patients with pancreatic cancer. Here, we designed a nanobody molecule with bi-targeting on PD-L1 and CXCR4, as both targets are overexpressed in many cancer cells and play important roles in tumorigenesis. The nanobody sequences targeting PD-L1 and CXCR4 were linked by the (G4S)3 flexible peptide to construct the anti-PD-L1/CXCR4 bispecific nanobody. The bispecific nanobody was expressed in E. coli cells and purified by affinity chromatography. The purified nanobody was biochemically characterized by mass spectrometry, Western blotting and flow cytometry to confirm the molecule and its association with both PD-L1 and CXCR4. The biological function of the nanobody and its anti-tumour effects were examined.