In the present study, a theoretical approach to investigate the hysteresis behaviors in segmented nanowires is described and applied to spin-1/2 and spin-1 hexagonal nanowire. The hysteresis loop, coercive field and remanent magnetization of a segmented Ising nanowire (SIN) are obtained by using the effective-field theory with correlations. The effects of the temperature, crystal field and geometrical parameters of nanowires on the hysteresis behaviors of the system are investigated. A number of characteristic behaviors are found, such as the occurrence of single and triple hysteresis loops for appropriate values of the crystal field. The hysteresis behaviors are also strongly dependent on geometrical parameters. Comparisons between the obtained theoretical results and some experimental works of segmented nanowire arrays with hysteresis behaviors are made and a very good agreement is obtained. (C) 2016 Elsevier B.V. All rights reserved.