In this study, we investigate the halogen bond acceptor potential of oxygen and nitrogen atoms of morpholine and piperazine fragments when they are peripherally located on N,O,O or N,N,O acceptor molecules. We synthesized four acceptor molecules derived from either acetylacetone or benzoylacetone and cocrystallized them with 1,4-diiodotetrafluorobenzene and 1,3,5triiodotrifluorobenzene. This resulted in eight cocrystals featuring different topicities and geometric dispositions of donor atoms. In all cocrystals, halogen bonds are formed with either the morpholinyl oxygen atom or the terminal piperazine nitrogen atom. The I•••O morpholine halogen bonds feature lower relative shortening values than I•••N terminal , I•••O carbonyl , and I•••N proximal halogen bonds. The N and O halogen bond acceptor sites were evaluated through calculations of molecular electrostatic potential values.