The electrostatic interaction between the ssDNA and gold bipyramids was the driving force to form gold bipyramid-ssDNA complex. After the target DNA added into the gold bipyramid-ssDNA complex suspension, the hybridization between the target DNA and probe ssDNA happened, which caused the aggregation of gold bipyramids.