A bisazo-dipyrrolmethane based macrocycle with crown ether part, compound 2, was synthesized and its structure was characterized by X-ray crystallography. In the crystal, the molecules of compound 2 self-assembled into tubular structures through included solvents and C-H…N hydrogen bonds. The Powder X-ray diffraction studies revealed that the crystal continue to has the tubular structure after remove the solvents. The selective fluoride ion detection of 2 in DMSO solution was also studied by UV-Vis and 1H NMR titration experimental.