Introduction

Recently, wastewater treatment with composite materials has attracted much attention1. Discharging toxic materials from various industries into water negatively affects water resources and the integrity of the ecosystem2. Textile wastewater is considered a polluting industry. In the textile industry, a large volume of water is used, so in this situation, large quantities of wastewater are generated at various stages3. In the environment, dyes cause many problems due to their great thermal and optical resistance, so they can maintain their state for a long time4. Industrial wastewater residues can contain a large volume of dye content. Ingredients in wastewater are classified as, neutral, direct, acidic, dispersive and metal complex5. In the textile industries, acid dyes account for more than 30% of used dyes, and about 15% of them can enter the wastewater of industries and the environment through various activities6. Acid Blue 25 (AB25) is a colorant commonly used in the textile industry and is a potential carcinogen because it can degrade into aromatic amines, which are known to induce DNA mutations. AB25 has the capability of degrading into harmful byproducts in an aquatic environment under different circumstances, such as elevated temperature, light exposure, and microbial activity, which enhances its potential to cause cancer. Exposure to these degradation products, especially from contaminated water bodies, has, over time, been proven to possess serious health hazards. Besides, the persistence of AB25 in aquatic systems is also an ecological concern, as the dye is bio-accumulative, enhancing risks to human health and wildlife. Hence, the efficient removal and degradation of AB25 from wastewater are of vital importance in reducing its carcinogenic risks and protecting environmental and public health7. The methods that are intended to be utilized for dye removal from wastewater are classified as physical, biological and chemical8. However, the biological and chemical methods have disadvantages such as the use of large amounts of chemicals, toxic sludge generation, high cost and incomplete dye removal9. The main technologies, with different processing efficiency, include advanced oxidation processes10, ion exchange11, bioremediation12, coagulation-flocculation13, activated sludge14, reverse osmosis15, membrane filtration16,17 and adsorption18. The various wastewater treatment technologies offer distinct advantages and limitations. Advanced oxidation processes are highly effective in degrading complex organic pollutants, however, they come with high operational costs due to energy and chemical requirements10. Ion exchange is efficient at selectively removing ions, though it necessitates frequent resin regeneration, leading to secondary waste issues11. Bioremediation is an environmentally friendly and cost-effective method, yet it is often slow and less effective for non-biodegradable contaminants12. Coagulation-flocculation can quickly remove suspended particles and color but generates large amounts of sludge requiring proper disposal13. The activated sludge process excels at eliminating organic matter but demands significant energy for aeration and a large space for operation14. Reverse osmosis produces high-quality water by removing a broad spectrum of contaminants, though it generates a concentrated brine that poses disposal challenges15. Similarly, membrane filtration is effective at removing fine particles and microorganisms but is hindered by membrane fouling, necessitating frequent maintenance19. Among available wastewater treatment techniques, adsorption is generally considered a cost-effective process with rapid effectiveness against a variety of contaminants, simple operation and design, lower generation of toxic byproducts and low initial cost20. Successful and complete adsorption of contaminants from water ensures their recovery, which is particularly important for nutrients in water21. In addition, it is worth mentioning that the regeneration of adsorbent in the adsorption process is becoming increasingly important for subsequent adsorption cycles, which would reduce operation costs22.

Chitosan is a natural polymer with the functional groups of hydroxyl (\(\:-\text{O}\text{H}\)) and amino (\(\:{-\text{N}\text{H}}_{2}\)), which is obtained from the hydrolysis of chitin under alkaline conditions23. The hydroxyl and amino groups also enable the modification of chitosan composites with definite functionality to alter physicochemical and biological properties24. The presence of these functional groups has a significant impact on the reactivity of chitosan and makes it illustrate excellent biological, physical and chemical properties25. Chitosan has a wide variety of degrees of deacetylation. It should be noted that the degree of deacetylation has a significant effect on physicochemical properties, reactivity, molecular weight, charge densities and charge distributions26. Composites of chitosan and other substances have demonstrated conformability, durability and adsorption capacity in acidic conditions27.

Alginate is a well-known member of the polysaccharide group which is obtained from brown algae. Due to its great characteristics such as non-toxicity, specific functional groups, biocompatibility and low cost, it is widely used in pharmaceuticals, cosmetics and textile industries28. Alginate-based adsorbents are of great importance in wastewater treatment processes because of their biocompatible and biodegradable nature29. Alginate is water soluble and its aqueous solution is thick and viscous, and if there is a divalent cation, it generates hydrogels based on the complexion mechanism. The generation of hydrogel is also known as inotropic gelation. Owing to this characteristic; the alginate gel formation; chitosan, activated carbon and clays can be combined with alginate gel and used for the adsorption process30. The use of biobased hydrogels in water treatment has gained much attention due to their hydrophilic nature, good reusability and minimum chemical and biological sludge generation31. Alginate and chitosan generally can be used in composite materials including grafting polymerization networks and incorporation of metals and oxide metals nanocomposites to synthesize advanced biobased adsorbents32.

Halloysite is a nano-sized natural mineral with a layered and tubular structure. Each halloysite layer consists of tetrahedral (\(\:\text{S}\text{i}-\text{O}\)) and octahedral (\(\:\text{A}\text{l}-\text{O}\text{H}\)) sheets and one alumina octahedral sheet, which is identical to sheets in kaolinite structure33. However, interlayer spaces in the halloysite are separated by a layer of water molecules and halloysite mainly has higher water content compared to kaolinite34. Halloysite nanotubes (HNTs) have a rolling structure resulting from a misfit between \(\:\text{S}\text{i}-\text{O}\) and \(\:\text{A}\text{l}-\text{O}\) bonds35. These functional groups have distinctive charges and pH values. The HNTs have a slight negative charge on the outer surface with pH ≥ 1.5, while the inner surface of the lumen has a positive charge with pH ≤ 8.5, and due to this characteristic, each surface would be able to adsorb molecules selectively36. The HNTs have the chemical formula of \(\:{\text{A}\text{l}}_{2}{\text{S}\text{i}}_{2}{\text{O}}_{5}{\left(\text{O}\text{H}\right)}_{2}.\text{n}{\text{H}}_{2}\text{O}\), outer diameter in the range of 50 to 80 nm, lumen diameter in the range of 10 to 15 nm and length of 1 μm37. Halloysite has great advantages including biocompatibility, hydrophilicity, and good dispersibility compared to other nanoparticles. Additionally, HNTs as nano clay minerals, are low-cost, eco-friendly adsorbents with strong cation exchange capacity and surface reactivity, offering an effective alternative for removing various contaminants38.

Despite HNTs’ promising physicochemical properties, the integration of HNTs into chitosan/alginate composites for dye adsorption remains underexplored. Additionally, current research often lacks detailed mechanistic insights, such as the roles of electrostatic interactions and surface chemistry in adsorption, especially in advanced hybrid composites. These gaps highlight the need for innovative approaches to optimize dye removal technologies, particularly for specific dyes like AB25.

The primary objective of this study is the development and evaluation of a novel chitosan/sodium alginate/halloysite nanotube (CSAH) triple composite adsorbent, designed specifically for the effective removal of Acid Blue 25 (AB25) dye from aqueous solutions. To the best of our knowledge, this is the first report on the fabrication of a CSAH composite incorporating systematically varied halloysite nanotube (HNT) loadings to optimize performance. The integration of chitosan and alginate introduces abundant amino, carboxyl, and hydroxyl functional groups that facilitate strong electrostatic and hydrogen bonding interactions with the anionic dye molecules. The incorporation of HNTs not only enhances the structural stability of the composite, particularly under acidic conditions, but also increases the surface charge and introduces additional active sites for adsorption. Importantly, the optimization of the HNT mass ratio was found to significantly accelerate adsorption kinetics and boost dye removal efficiency, distinguishing this material from previously reported chitosan- or alginate-based adsorbents. This approach presents a synergistic combination of natural polymers and nanotubular clay for fast, efficient, and pH-tolerant dye adsorption, offering a promising and eco-friendly alternative for wastewater treatment applications. The efficiency of adsorption was investigated by batch experiments focusing on the effects of solution pH, contact time, and HNTs ratio. Accordingly, kinetic, isotherm, and regeneration analyses were done to fully understand the working of the adsorption mechanism and effectiveness of the adsorbents.

Materials and methods

Materials

Chitosan (CS, low molecular weight, viscosity 20–300 centipoises (cps) and degree of deacetylation ≥ 75%) and sodium alginate (SA) with viscosity of 4–12 cps were purchased from Sigma–Aldrich Co. Halloysite nanotubes (HNTs, 0.5–2 μm long, 15–30 nm in diameter) were purchased from IMERYS Tableware Asia Ltd (New Zealand). The chemical analysis details of HNTs are listed in Table 1. Acid Blue 25 (AB25) a model organic pollutant in wastewater (chemical formula \(\:{\text{C}}_{20}{\text{H}}_{13}{\text{N}}_{2}\text{N}\text{a}{\text{O}}_{2}\text{S}\), molecular mass 416.3 g\(\:{\text{m}\text{o}\text{l}}^{-1}\)) was purchased from Alavan Sabet Company (Hamedan, Iran). The Chemical structure of AB25 is shown in supplementary data Fig. 1A. Acetic acid (glacial) 99.9%, sodium hydroxide (NaOH) and hydrochloric acid (HCl) were obtained from Merck Co.

Table 1 Chemical analysis details of HNTs (%w).

Preparation of adsorbents

‌‌‌‌Briefly, to synthesize chitosan-sodium alginate composite (CSA), 0.5 g of chitosan powder was dissolved in 25 mL of 2 wt% acetic acid solution under magnetic stirring for 2 h at ambient temperature. Thereafter, 0.5 g of sodium alginate was added to the solution and mixed thoroughly for 12 h. Afterward, halloysite nanotubes were dispersed in the mixture at weight ratios of 5, 10, 15, 20 and 30% (mass ratio of HNT/CSA) with the aid of an ultrasonic bath for about 5 min, and then mixed for 20 h at room temperature. Eventually, the solutions of CSA-HNTs composite were poured into plates and cooled at -15 °C in a refrigerator overnight. Then, all composites were frozen in a freeze drier at -48 °C for 24 h under vacuum condition, and named CSAH5, CSAH10, CSAH15, CSAH20 and CSAH30. The flow diagram describing the adsorbent preparation is shown in Fig. 1.

Fig. 1
figure 1

Preparation method of CSAH.

Characterization methods

The Fourier Transform Infrared (FTIR) spectra of the adsorbents were recorded using a Thermo Scientific Nicolet spectrometer (iS50, Netherlands). The crystalline structure was analyzed with an X-ray diffractometer (Philips X’PERT MPD, PW3040, Netherlands) over a 2θ range of 5–60°. Morphological studies were conducted using a Field Emission Scanning Electron Microscope (FE-SEM, TeScan MIRA3 model, Czech Republic). Textural properties, including the specific surface area and average pore diameter, were determined through nitrogen adsorption-desorption analysis using a gas adsorption analyzer (Micromeritics TriStar II, US). The Brunauer–Emmett–Teller (BET) method provided data on the surface area, while the Barret–Joyner–Halenda (BJH) method was used to analyze pore size distribution from adsorption isotherms. Elemental composition was assessed with Energy Dispersive X-ray (EDX) analysis using the TeScan MIRA3 model (Czech Republic). Additionally, the zeta potential of the adsorbent was measured via electrophoretic light scattering device (HORIBA Scientific SZ-100, France).

Adsorption experiments

A batch-mode experiment was conducted to evaluate dye adsorption. For each test, 0.05 g of the adsorbent was dispersed in 25 mL of dye solution with varying initial dye concentrations (25–200 mg/L), pH levels (3–11), and contact times (1–120 min) under constant shaking at 300 rpm at room temperature (25–27 °C). The pH of the AB25 solution was adjusted using 0.1 mol/L HCl and 0.1 mol/L NaOH solutions. At predetermined intervals, the amount of adsorbed dye was quantified using a UV-Vis spectrophotometer (Hach, DR4000, US) by measuring absorbance at the maximum wavelength of 602 nm.

The removal efficiency of AB25 adsorption at any time can be calculated as follows:

$$\:\text{R}\text{e}\text{m}\text{o}\text{v}\text{a}\text{l}\:\text{e}\text{f}\text{f}\text{i}\text{c}\text{i}\text{e}\text{n}\text{c}\text{y}\:\left(\text{\%}\right)\:=\:\frac{{\text{C}}_{0}\:-\:{\text{C}}_{\text{t}}}{{\text{C}}_{0}}\:\times\:\:100$$
(1)

The amount of AB25 adsorption capacity was calculated as follows:

$$\:{\text{q}}_{\text{t}}(\text{m}\text{g}/\text{g})\:=\:\frac{{(\text{C}}_{0}\:-\:{\text{C}}_{\text{t}})\text{V}}{\text{m}}$$
(2)

where \(\:{\text{q}}_{\text{t}}\)(mg/g), C0 (mg/L) and Ct (mg/L) show the capacity of adsorbent at time t, the initial concentration of adsorbate and the concentration of adsorbate at time t, respectively. V (L) and m(g) indicate the volume of the dye solution and the mass of the adsorbent respectively18.

Results and discussion

Characterization analysis

Based on the chemical analysis presented in Table 1, the halloysite used in this study exhibited a specific surface area of approximately 20 m²/g. In comparison, previously reported values for halloysite range from 56 to 64 m²/g. The cation exchange capacity (CEC) of the halloysite was around 10 meq/100 g, whereas literature values have reported higher CECs, typically between 19.2 and 20 meq/100 g39. The functional groups of the synthesized materials were analyzed using FTIR spectroscopy, as shown in Figs. 2 and 3. In Fig. 2(a), the broadband at 3427 cm⁻¹ corresponds to the overlapping stretching vibrations of the OH and NH groups40. The peak at 2875 cm⁻¹ is attributed to the symmetrical and asymmetrical \(\:\text{C}-\text{H}\) stretching vibrations in the chitosan matrix. Sharp peaks at 1654 cm⁻¹ and 1601 cm⁻¹ represent \(\:-\text{N}{\text{H}}_{2}\:\)bending and \(\:\text{C}=\text{O}\) stretching vibrations in the HCO matrix, respectively. Peaks at 1417 cm⁻¹ and 1381 cm⁻¹ are assigned to \(\:\text{C}-\text{O}\) and \(\:\text{C}-\text{N}\) stretching vibrations, while the bands at 1084 cm⁻¹ and 1158 cm⁻¹ indicate polysaccharide bonds related to \(\:\text{C}-\text{O}\) stretching vibrations41. For sodium alginate (SA), the FTIR spectrum shows a broad peak at 3423 cm⁻¹ due to \(\:\text{O}-\text{H}\) stretching vibrations, a peak at 2929 cm⁻¹ for \(\:-\text{C}{\text{H}}_{2}\) functional groups, and characteristic peaks at 1637 cm⁻¹ and 1421 cm⁻¹ corresponding to the symmetric and asymmetric stretching vibrations of COO⁻ carboxylate groups. Additionally, a peak at 1026 cm⁻¹ indicates saccharide stretching within the SA framework42. In the FTIR spectrum of the chitosan-sodium alginate composite (CSA), the peak shifts to 3422 cm⁻¹ due to the interaction between CS and SA, where the positive ammonium groups in CS form electrostatic bonds with the carboxylate ions in SA, resulting in a polyelectrolyte complex43. Further, the stretching vibration of \(\:\text{C}=\text{O}\) shifts from 1654 cm⁻¹ to 1630 cm⁻¹, confirming CSA composite formation. Electrostatic interactions involving CaCl2 and tri-polyphosphate functional groups further enhance the connection between CS and SA44. The broad peak (at 3422–3427 cm⁻¹) observed in all three spectra (CS, SA and CSA) exhibits slight shifts and broadening in the CSA spectrum, indicating strong hydrogen bonding. Additionally, the CSA spectrum displays a merged and shifted peak at 1630 cm⁻¹ compared to the CS and SA spectra. This shift highlights the formation of ionic bonds between the COO⁻ groups of SA and the NH₃⁺ groups of CS. Similarly, the peak at 1097 cm⁻¹ in the CSA spectrum shows a slight shift from the individual value of 1084 cm⁻¹, confirming that structural blending impacts the polysaccharide backbone. Overall, the CSA composite retains the key characteristics of both polymers, while the observed shifts and overlaps validate the successful interaction and formation of a blended material with modified properties45. Figure 3(a) and (b) depict FTIR spectra of HNTs and CSAH10. For HNTs, characteristic peaks include 3549 cm⁻¹ (\(\:\text{O}-\text{H}\) stretching of water), 1652 cm⁻¹ (\(\:\text{O}-\text{H}\) deformation of water). Peaks at 3695 cm⁻¹ and 3623 cm⁻¹ correspond to hydroxyl (\(\:-\text{O}\text{H}\)) stretching vibrations from the \(\:{\text{A}\text{l}}_{2}-\text{O}\text{H}\) bond on the HNTs surface46. The bands at 1036 cm⁻¹ and 912 cm⁻¹ correspond to the stretching vibrations of Si–O–Si bonds and the bending vibrations of inner surface hydroxyl groups (Al–O–H), respectively. Additionally, the band at 537 cm⁻¹ is attributed to the deformation vibration of Al–O–Si bonds39. In the CSAH10 composite, the appearance of characteristic HNTs peaks at 3695 cm⁻¹ and 912 cm⁻¹, along with those from the CSA matrix, confirms the successful incorporation of HNTs into the CSA framework47. The characteristic peaks of HNTs at 3695, 3549, and 1036 cm⁻¹ are retained in the CSAH10 spectrum but show reduced intensity and slight shifts. This indicates the successful incorporation of HNTs into the composite, with interactions primarily involving hydrogen bonding and ionic interactions. In the HNTs spectrum, peaks at 912 cm⁻¹ (Al-OH bending) and 469 cm⁻¹ (Si-O bending) also exhibit reduced intensity, confirming the contribution of HNTs to the structural framework of the CSAH10 composite. The broad peak at 3422 cm⁻¹ in the CSAH10 spectrum is broader compared to the CSA composite, suggesting stronger hydrogen bonding due to the addition of HNTs. Furthermore, the COO⁻ stretching peaks (asymmetric at 1564 cm⁻¹ and symmetric at 1411 cm⁻¹) in CSAH10 are slightly shifted relative to the CSA spectrum, reflecting enhanced ionic interactions between alginate and HNTs in the presence of chitosan. The Si-O stretching peak at 1036 cm⁻¹, which is absent in CSA, appears prominently in CSAH10, confirming the incorporation of halloysite nanotubes48. Chitosan’s amide I and amide II peaks (1654 and 1601 cm⁻¹) and alginate’s COO⁻ peaks (1637 and 1421 cm⁻¹) are merged and shifted in CSAH10, indicating strong interactions among the components. Additionally, the new HNT-related peaks at 1036 cm⁻¹ and 912 cm⁻¹ in CSAH10 further confirm the presence of halloysite nanotubes within the composite45. Some characteristic peaks are summarized in Table 2.

Table 2 Characteristic peaks of materials and their attributed functional groups.
Fig. 2
figure 2

FTIR spectra of (a) chitosan, (b) SA and (c) CSA.

Fig. 3
figure 3

FTIR spectra of (a) HNTs, (b) CSAH10.

The N2 adsorption-desorption isotherm and BJH pore size distributions are provided in Fig. 4. The N2 adsorption-desorption curve indicates the mesoporous pore size of CSAH10 in the range of 2–50 nm. The isotherm (Fig. 4a) displays a type II with distinct type H3 hysteresis loop in the relative pressure (P/\(\:{\text{P}}_{0}\)) and this type of isotherm was a typical characteristic of mesoporous and macropores structures49. The BET surface area of the CSAH10 composite was measured to be 0.7791 m²/g, which is lower than the values reported for raw halloysite nanotubes (60 m²/g) and their chitosan-based composites (82 m²/g). It also falls below the surface areas documented for sodium alginate (21.1 m²/g) and sodium alginate–halloysite composites (2.9 m²/g). This reduction can be attributed to the formation of a compact biopolymer matrix composed of chitosan and alginate, which likely envelops the halloysite nanotubes and restricts access to their internal pores. In addition, the dense structure created by hydrogen bonding between the polymer chains and their relatively high molecular weights may further limit the availability of accessible surface area. Despite this modest BET surface area, the material retains a mesoporous architecture and is rich in functional groups—such as amino, hydroxyl, and carboxyl moieties—verified through FTIR and zeta potential analysis. The BJH pore size distribution results are shown in Fig. 4b and c, indicating that the average pore diameter of CSAH10 was calculated to be 15.96 nm, and the pore volume was determined as 0.00311 \(\:{\text{c}\text{m}}^{3}/\)g.

Fig. 4
figure 4

N2 adsorption-desorption isotherm and pore size distributions of CSAH10.

The X-ray diffraction (XRD) patterns of chitosan (CS), sodium alginate (SA), the chitosan–sodium alginate composite (CSA), pure halloysite nanotubes (HNTs), and the CSAH10 composite are presented in Fig. 5. In Fig. 5(a), two sharp peaks observed at 2θ = 11.4° and 20.4° are attributed to the semi-crystalline structure of chitosan. This crystallinity arises from the regular arrangement of polymer chains stabilized by intermolecular hydrogen bonding, particularly involving –OH and –NH₂ functional groups50. In contrast, the XRD pattern of sodium alginate (Fig. 5(b)) displays broader peaks at 2θ = 19.4° and 31.8°, which are indicative of its predominantly amorphous nature due to the more irregular structure of alginate chains51. For the CSA composite, the XRD pattern shown in Fig. 5(c) exhibits a notable reduction in the intensity of the characteristic peaks associated with both CS and SA. This reduction is primarily due to the disruption of hydrogen bonding between chitosan chains upon blending with alginate, leading to a decrease in overall crystallinity52. However, the presence of peaks at 2θ = 11.9°, 19.1°, and 31.8° still confirms successful formation of the CSA composite, suggesting a semi-crystalline nature with reduced structural order compared to the individual components. The XRD pattern of pure halloysite nanotubes (Fig. 5(d)) displays well-defined peaks at 2θ = 11.9°, 19.9°, and 24.8°, consistent with the highly crystalline nature of HNTs as reported in literature46. These peaks confirm the ordered tubular structure of the mineral component. In Fig. 5(e), the CSAH10 composite exhibits distinct peaks at 2θ = 12.7°, 20.3°, and 24.9°, aligning with the crystalline peaks of HNTs and CS, while the presence of a peak at 2θ = 31.8° corresponds to SA. The presence of these peaks indicates that the CSAH10 composite retains partial crystallinity, derived primarily from the crystalline HNTs and the semi-crystalline regions of CS. Compared to the CSA composite, the incorporation of halloysite nanotubes enhances the overall crystallinity of the material. This partial crystalline structure in CSAH10 may contribute to improved mechanical stability and may influence dye adsorption by affecting porosity and surface characteristics53.

Fig. 5
figure 5

XRD patterns of (a) CS, (b) SA, (c) CSA, (d) HNTs and (e) CSAH10.

The FE-SEM images of HNTs are shown in Fig. 6(a). It reveals the tubular structure of HNTs. Also, the SEM image of CSA composite is shown in Fig. 6(b). The structure on the surface of the CSA composite is smooth because of the smooth surface of the pure sodium alginate and coating of composite surface with chitosan molecules54. The SEM image of CSAH10, the mass ratio of HNTs to CSA composite is 10%, is shown in Fig. 6(c). The structure on the surface of CSAH10 was revealed to be rougher in surface structure compared to the CSA composite. This is because of adding HNTs to the CSA composite structure. The SEM image of CSAH30, the mass ratio of HNTs to CSA composite is 30%, is shown in Fig. 6(d). The main difference between CSAH10 and CSAH30 is that the amount of halloysite nanotube in CSAH30 is greater than CSAH10, and this probably would not change the whole surface structure of CSAH regardless of the amount of HNTs. It can be observed from Fig. 6(d) that halloysite nanotubes are more visible than in Fig. 6(c). The Energy Dispersive spectroscopy micrograph and elemental mapping of CSA composite and CSAH10 are shown in Fig. 7(a, left side) and (b, right side). Figure 7(b) reveals the presence of halloysite nanotubes on the CSA composite, because the content of aluminum and silicon which are the main elements of HNTS, are more than CSA composite based on the report of element weight percentages. The elemental composition (mass ratio, wt%) of the CSA and CSAH10 samples based on EDS analysis is summarized as follows: For the CSA composite, the dominant elements were carbon (32.23%), oxygen (40.97%), nitrogen (5.42%), and sodium (21.28%). In contrast, the CSAH10 composite showed an increase in carbon (38.63%) and oxygen (43.52%), with additional signals for aluminum (3.86%) and silicon (4.14%), which are characteristic elements of halloysite nanotubes. The sodium content significantly decreased to 4.91% after HNT incorporation. These results confirm the successful integration of HNTs into the CSA matrix and support the observations made in the elemental mapping. It also shows that the HNTs are uniformly distributed over the surface of CSA composite and the interface between HNTs and CSA composite matrix is clear55.

Fig. 6
figure 6

FE-SEM images of (a) HNTs, (b) CSA, (c) CSAH10, (d) CSAH30.

Fig. 7
figure 7

EDX spectra and micrograph of (a, left side) CSA, (b, right side) CSAH10.

The zeta potential of CSAH10 was measured 3 times in the pH values of 3, 4, 6 and 9, and is shown in supplementary data Fig. 2A. For the analysis, a 0.1 wt% aqueous suspension of CSAH10 was prepared and ultrasonicated for 10 min to ensure uniform dispersion prior to measurement. The results indicate that CSAH10 exhibits a positive zeta potential across the tested pH range, with the highest value observed at pH 3. As the pH increases, the zeta potential decreases steadily, indicating a reduction in surface charge. This trend can be attributed to the protonation and deprotonation of functional groups on the composite surface. At low pH, the amino groups (–NH₂) of chitosan are protonated to –NH₃⁺, and carboxyl and hydroxyl groups on alginate and halloysite surfaces may also be in their protonated forms. This leads to a strongly cationic surface, which enhances the electrostatic attraction between the adsorbent and anionic dye molecules like AB25. As the pH increases, these functional groups undergo deprotonation, diminishing the net positive surface charge. At pH 9, the zeta potential is significantly lower, reflecting a weaker electrostatic interaction potential under alkaline conditions56.

Effect of solution pH on the adsorption process

The pH of a solution is an important parameter in the adsorption mechanism and influences the efficiency of dye removal. The extent of AB25 dye removal is related to the solution’s initial pH and the nature of the adsorbent surface charge, which may be defined by its point of zero charge (pHpzc). Changes in pH may result in an increase or a decrease in the capacity for dye adsorption, depending on changes in the adsorbent’s surface charge. The pH value of the solution affects the magnitude of the electrostatic interactions between the adsorbent and the adsorbate, thereby markedly influencing the removal efficiency. The anionic nature of the AB25 dye molecules attracts them to the surface of the positively charged adsorbent, underlining the prime contribution of ionic interactions in the mechanism of adsorption57.

The effect of solution pH on the adsorption process was examined in the range of 3 to 11 by applying an adsorbent dosage of 2 g/L, initial concentration of 50 mg/L and at a constant temperature of 27 °C for about 2 h. The effect of pH value on the adsorption process for CSA and CSAH10 is shown in Fig. 8. As it shows, dye removal decreased in equilibrium condition at the end of the adsorption process with an increase in pH value. In acidic conditions, because of the formation of hydrogen bonds, the adsorption of AB25 molecules, as an anionic dye, is favorable for the positively charged surfaces of the adsorbent. Moreover, the NH₂ groups of chitosan are protonated to NH₃⁺, leading to strong electrostatic attraction between the positively charged adsorbent surface and the negatively charged dye molecules. As pH approaches neutrality, the degree of protonation of chitosan decreases, reducing electrostatic interactions. However, other interactions, such as hydrogen bonding and van der Waals forces, still contribute to adsorption58. According to the zeta potential results, it can be interpreted that the adsorbent reveals cationic properties and shows a favorable tendency over the adsorption of anionic compounds. In Fig. 8(a), the maximum dye removal percentage of CSA is obtained 79.9, 72.4, 70.3, 60.3 and 51.8 for pH values of 3, 4, 6, 9 and 11 respectively. Also, In Fig. 8(b), the maximum dye removal percentage of CSAH10 is calculated as 93.8, 83.1, 78.5, 71.5 and 59.6 for pH values of 3, 4, 6, 9 and 11 respectively. At all pH values, CSAH10 consistently outperforms CSA, with a particularly notable improvement in acidic and neutral conditions. The maximum dye removal percentage for CSA and CSAH10 in pH value of 3 are obtained 79.9 and 93.8 respectively. Because, the incorporation of halloysite nanotubes introduces additional adsorption sites, including hydroxyl groups, which enhance the overall adsorption capacity. The tubular structure of HNTs may also provide more active sites and facilitate dye diffusion into the composite matrix45. With a pH value greater than 9.0, the percentage of AB25 dye removal shows a gradual decrease. This can be majorly attributed to a kind of competition between hydroxyl ions (OH⁻) and the anionic sulfonic groups of AB25 for the adsorption sites available. Additionally, the surface charge of the adsorbents becomes less positive or even negative due to the deprotonation of chitosan. The negatively charged adsorbent surface experiences electrostatic repulsion with the dye molecules, leading to reduced adsorption efficiency57. CSAH10 demonstrates better adsorption efficiency at pH 6 and 9 compared to CSA, suggesting that HNTs help stabilize adsorption performance across a wider pH range because the interactions between HNTs and dye molecules supplement the pH-dependent electrostatic interactions provided by chitosan and alginate45. The highest adsorption capacity was obtained at a highly acidic pH of 3 and decreased with the increase in pH. A similar result was obtained by Hanafiah et al.59. At reduced pH values, the high concentration of H⁺ ions in the solution protonates the carboxyl, hydroxyl, and amino functional groups on the adsorbents. This increases the degree of electrostatic attraction between the positively charged surface of the adsorbent and the anionic AB25 molecules. In an aqueous environment, the sulfonate groups of AB25 ionize into their anionic form, as shown:

$$\:{\text{R}\text{S}\text{O}}_{3}\text{N}\text{a}\:\to\:\:{\text{R}\text{S}\text{O}}_{3}^{-}+\:{\text{N}\text{a}}^{+}$$
(3)

This reaction facilitates the attraction between the sulfonate groups of AB25 and the positively charged adsorbent surface, represented by the following equations:

$$\:{\text{R}\text{C}\text{O}\text{O}\text{H}}_{2}^{+}+\:{\text{R}\text{S}\text{O}}_{3}^{-}\:\leftrightarrow\:\:{\text{R}\text{C}\text{O}\text{O}\text{O}\text{H}}_{2}^{+}\dots\:\:{\text{O}}_{3}^{-}\text{R}\text{S}$$
(4)
$$\:{\text{R}\text{O}\text{H}}_{2}^{+}+\:{\text{R}\text{S}\text{O}}_{3}^{-}\:\leftrightarrow\:\:{\text{R}\text{O}\text{H}}_{2}^{+}\dots\:\:{\text{O}}_{3}^{-}\text{R}\text{S}$$
(5)
$$\:{\text{R}\text{N}\text{H}}_{3}^{+}+\:{\text{R}\text{S}\text{O}}_{3}^{-}\:\leftrightarrow\:\:{\text{R}\text{N}\text{H}}_{3}^{+}\dots\:\:{\text{O}}_{3}^{-}\text{R}\text{S}$$
(6)

Additionally, AB25 contains sulfonic acid functional groups, which are known to have low pKa values (pKa ̴̴ 1) indicating that the dye readily deprotonates in aqueous solutions above pH 2. As a result, AB25 exists predominantly in its anionic form (–SO₃⁻) across the pH range studied (pH 3–11). This consistent negative charge influences how the dye interacts with the surface of the adsorbent. At lower pH values, the protonation of amine and hydroxyl groups on CSAH10 enhances the surface’s positive charge, leading to strong electrostatic attraction between the cationic adsorbent and the anionic dye. As the pH increases, deprotonation of these functional groups reduces the surface charge, weakening these interactions. Although the structural form of AB25 remains largely unchanged above pH 3 due to its low pKa, the electrostatic driving force for adsorption diminishes at higher pH because of changes in the adsorbent’s surface charge rather than the dye itself.

Additionally, with increasing pH, the number of positively charged sites available on the surface of the adsorbent decreases, leading to reduced electrostatic attraction and, hence, a decreased capacity for AB25 adsorption. The presence of various functional groups in these adsorbents, demonstrated by FTIR spectra, does suggest that other mechanisms, such as hydrogen bonding and chemical adsorption, may also be involved in this process. From these results, pH 3 was chosen as an optimum pH for all further adsorption experiments since it increases the electrostatic attraction between the adsorbent and dye molecules.

Fig. 8
figure 8

Dye removal percentage versus time in various pH values for (a) CSA (b) CSAH10 (initial concentration = 50 mg/L, adsorbent dosage = 2 g/L, temperature = 27 °C).

Adsorption mechanism of AB25 onto CSAH

The adsorption of AB25 onto the CSAH composite is driven by multiple interactions between the functional groups of the adsorbent and the dye molecules. Under acidic conditions (pH 3), the amino groups (–NH₂) of chitosan are protonated to –NH₃⁺, and the carboxyl (–COOH) and hydroxyl (–OH) groups of alginate are also partially protonated, forming –COOH₂⁺ and –OH₂⁺. These positively charged sites form strong electrostatic attractions with the anionic sulfonate groups (–SO₃⁻) of AB2545. Additionally, hydrogen bonding occurs between the hydroxyl and carboxyl groups of the adsorbent and the oxygen atoms in the sulfonate or hydroxyl groups of AB25. The tubular halloysite nanotubes (HNTs) contribute to adsorption through their surface –OH groups, which participate in hydrogen bonding with dye molecules and provide additional active sites46. The following representative interactions can occur: RNH₃⁺SO₃⁻, ROH₂⁺SO₃⁻, and RCOOH₂⁺SO₃⁻, enhancing the overall binding of AB25. As the pH increases, deprotonation reduces the number of positively charged sites, weakening electrostatic attractions and resulting in decreased adsorption. Thus, the high removal efficiency observed at low pH can be attributed to the synergistic effects of electrostatic interactions, hydrogen bonding, and the structural contribution of HNTs47. This mechanism is well described in the Fig. 9.

Fig. 9
figure 9

Adsorption mechanism of AB25 onto CSAH.

Effect of the HNTs ratio on the adsorption process

The effect of the HNTs ratio in chitosan–sodium alginate–halloysite nanotube (CSAH) composites was evaluated using an adsorbent dosage of 2 g/L, an initial AB25 concentration of 50 mg/L, solution pH of 3, and a contact time of 2 h at 27 °C. The dye removal efficiency for various HNT loadings is shown in Fig. 10. As the HNT content increased from 5 to 10%, the maximum dye removal improved from 84.3 to 93.8%, indicating enhanced adsorption capacity. However, further increases in HNT loading to 15%, 20%, and 30% resulted in a gradual decline in removal efficiency to 88.3%, 82.9%, and 81.3%, respectively. Therefore, CSAH10 (with 10% HNT by weight relative to CSA) was identified as the optimal formulation.

This trend can be explained by considering both the structural and chemical characteristics of the composite. Halloysite nanotubes contribute additional functional groups (mainly hydroxyl groups on their inner and outer surfaces) and increase surface area and porosity, as supported by BET and FTIR analyses. At 10% loading, these enhancements appear to synergize with the functional groups in chitosan (–NH₂) and alginate (–COOH, –OH), facilitating stronger electrostatic interactions and hydrogen bonding with the anionic AB25 dye. Moreover, the XRD pattern of CSAH10 shows preserved crystalline peaks from both HNTs and the biopolymer matrix, suggesting good structural integration without excessive aggregation60. However, when the HNT ratio exceeds 10%, excessive halloysite content may lead to the partial coverage or blockage of active binding sites on the CSA matrix. This reduces the accessibility of dye molecules to key adsorption sites. Additionally, too much inorganic filler can disrupt the polymer network’s homogeneity and reduce the swelling capacity and flexibility of the composite, thereby lowering overall performance. Thus, the CSA-to-HNT weight ratio in CSAH10 achieves a critical balance—providing sufficient additional active sites from HNTs while maintaining the accessibility and functionality of the biopolymer matrix61.

Fig. 10
figure 10

Dye removal percentage versus time in various HNTs ratios (initial concentration = 50 mg/L, adsorbent dosage = 2 g/L, temperature = 27 °C and solution pH = 3).

Adsorption isotherm study

Adsorption isotherm data shows how adsorbate interacts with the adsorbent and provides detailed results about the mechanism of the adsorption processes. The isotherm studies for CSAH10 were conducted with an adsorbent dosage of 2 g/L, initial concentration of 25, 50, 100, 200, 400 and 600 mg/L, pH solution of 3 and constant temperature of 27 °C for about 2 h. In this regard, contact between the adsorbent and adsorbate was continued until the equilibrium point. The adsorption isotherm data shows the relative changes of equilibrium adsorption capacity (qe) versus equilibrium concentration of adsorbate (Ce)62. The initial concentration of dye significantly influences the adsorption characteristics of the CSAH10 composite. As the AB25 concentration increased from 25 to 600 mg/L, a corresponding rise in equilibrium adsorption capacity (qe) was observed. This can be explained by the enhanced concentration gradient at higher dye levels, which improves mass transfer and promotes greater interaction between dye molecules and the adsorbent’s active sites. At lower concentrations, fewer dye molecules are available to occupy these sites, resulting in reduced adsorption. In contrast, higher concentrations lead to a more substantial loading of dye onto the adsorbent until surface sites begin to reach saturation.

To describe adsorption capacity, analysis and design of adsorption systems, the isotherm models are used commonly. The Langmuir, Freundlich, Temkin, Redlich-Peterson and Toth isotherm models are used to interpret the equilibrium adsorption data (Supplementary data S. 1). These models establish the relationship between the concentration of the adsorbate at equilibrium and the amount of solute adsorbed onto the adsorbent at a constant temperature63.

The fitted parameters, coefficient of determination (\(\:{\text{R}}^{2}\), supplementary data) and the absolute average relative deviation (AARD, supplementary data) values are summarized in Table 3. Among the models tested, the Freundlich, Toth, and Redlich-Peterson models provided the best fits to the experimental data, with \(\:{\text{R}}^{2}\) values of 0.9987, 0.9996, and 0.9994, respectively, and AARD values of 11.2717%, 4.4696%, and 5.7805%, respectively. The Toth model, with the highest \(\:{\text{R}}^{2}\) and lowest AARD, showed the best agreement with the experimental data, indicating that the adsorption of AB25 onto the CSAH10 composite occurs in a heterogeneous system64. Additionally, the maximum adsorption capacity of CSAH10 for AB25, based on the Langmuir model, was calculated to be 351.07 mg/g, as shown in Table 3. The experimental isotherm data, along with the Langmuir, Freundlich, Temkin, Redlich-Peterson, and Toth models, are depicted in supplementary data Fig. 3A. The experimental data clearly demonstrate a nonlinear increase in adsorption capacity (qe) with increasing equilibrium concentration (Ce), confirming that the adsorption process is concentration-dependent and does not follow a strictly linear trend. At lower dye concentrations, qe increases gradually, suggesting that ample active sites are available on the CSAH10 surface, and adsorption proceeds efficiently via monolayer coverage18. As the concentration increases beyond this range (toward 400–600 mg/L), the rate of increase in qe becomes more pronounced, indicating a shift toward multi-layer adsorption or site saturation effects where higher dye molecule density enhances surface coverage through interactions beyond just active site availability. This behavior supports the presence of heterogeneous surface energy distribution, as evidenced by the better fit of nonlinear isotherm models such as Toth, Redlich–Peterson, and Freundlich. These models, which account for site heterogeneity and variable affinity, align closely with the experimental data across the full range of concentrations. Thus, the experimental trend not only reinforces the capacity of CSAH10 to adsorb higher dye loads effectively but also validates the selection of complex isotherm models to capture the equilibrium behavior of the system more accurately than simpler models like Langmuir65.

Table 3 Parameters of isotherm models for CSAH10 at adsorbent dosage = 2 g/l, temperature = 27 °c and solution pH = 3.

Comparative adsorption capacity of CSAH10 and other adsorbents

Comparative data for CSAH10 and other adsorbents from the literature are also provided in Table 4. It is evident that the CSAH10 adsorbent used in this study demonstrates a higher adsorption capacity in comparison with most of the adsorbents, including chitosan (48.8 mg/g)66, cross-linked chitosan beads (127 mg/g)67, and some modified adsorbents like BGFS-CTAB (166.67 mg/g)68 and Zeolite-CTAB (112.44 mg/g)69. Although adsorption capacity of CSAH10 is lower than the adsorption capacity of pectin derived from pomelo peel (719.4 mg/g)70, which is rich in some functional group like hydroxyl (\(\:-\text{O}\text{H}\)), carboxylate (\(\:{\text{C}\text{O}\text{O}}^{-}\)), and ester (\(\:{-\text{C}\text{O}\text{O}\text{C}\text{H}}_{3}\)), the CSAH10 showed notable performance due to the synergistic effect of chitosan and alginate. The presence of amino (\(\:{-\text{N}\text{H}}_{2}\)) groups in chitosan and carboxylate groups in alginate facilitates efficient dye binding through electrostatic interactions, making CSAH10 a competitive alternative for AB25 removal despite its lower overall adsorption capacity42.

Table 4 The comparison of maximum adsorption capacity of AB25 on various adsorbents.

Kinetic study

The effect of contact time for CSA and CSAH10 was investigated by using an adsorbent dosage of 2 g/L, initial concentration of 50 mg/L and constant temperature of 27 °C for about 2 h. at various solution pH in the range of 3 to 11. Additionally, the effect of contact time on the adsorption performance of CSA and CSAH composites is clearly illustrated in Fig. 8. As shown, the adsorption process proceeds rapidly within the first 10–20 min for all samples, with CSAH10 achieving the highest dye uptake. This initial phase is dominated by a strong concentration gradient between the dye in the solution and the available active sites on the adsorbent surface, which facilitates fast external diffusion and surface interaction. As time progresses, the rate of adsorption gradually decreases, and a plateau is reached, indicating equilibrium. Beyond this point, no significant increase in adsorption capacity is observed, suggesting that the available adsorption sites have been occupied or become less accessible due to steric hindrance and adsorbate–adsorbent repulsion. Notably, CSAH10 reaches equilibrium more quickly and with higher dye removal compared to other formulations, which is attributed to the enhanced porosity and availability of active functional groups from the halloysite nanotubes. These observations confirm that reaction time is a critical factor in determining adsorption efficiency and kinetics, especially during the early stages of the process where most dye uptake occurs18.

The process of conventional adsorption is conventionally divided into four steps: the transportation of AB25 molecules from the bulk solution to the outer layer of the adsorbent, external diffusion from the solution film to the bulk surface of the adsorbent, intraparticle diffusion, and adsorption-desorption interactions of AB25 molecules at the active sites of the adsorbent83. The kinetic study of the adsorption process is one of the methods for investigating the rate of dye molecules’ adsorption. Also, kinetic studies play a significant role in the design of adsorption-based systems. The kinetics of adsorption processes depend highly upon the physical and chemical characteristics of the adsorbent and show the mechanism of the process. Commonly, the forecasting of adsorption rate and computation of kinetic parameters by models usually applied in kinetic investigations have great importance in designing and modeling the adsorption systems. The kinetic modeling of AB25 adsorption to the tested adsorbents was determined using two different kinetic models, namely the pseudo-first-order kinetic model and the pseudo-second-order kinetic model84. In these models, the idea is based on the assumption that adsorption in the adsorbent’s surface is the only factor controlling adsorption systems. The intraparticle diffusion model and the Elovich kinetic model were thus applied in the study of the mechanistic approach to the adsorption process. More explanation is provided in supplementary data S. 2.

In the pseudo-first-order kinetic model, the rate of adsorption is assumed to be proportional to the number of adsorption active sites of the adsorbent58. The validity of each model was studied using the coefficient of determination (R2, supplementary data) and absolute average relative deviation (AARD, supplementary data) as an error function to interpret the conformity of the calculated parameters with the experimental data. In this approach, the nonlinear least-squares function provided by MATLAB software was utilized. For AB25 regarding the CSA and CSAH10 adsorbents, the parameters corresponding to the pseudo-first-order and pseudo-second-order kinetic models, R2 and AARD for each solution pH value are tabulated in Table 5. This reflects that the AARD value in the pseudo-second-order is less for CSA adsorbent compared to the pseudo-first-order, and the R2 value in the pseudo-second-order indicates that this model and the experimental data are in good agreement. Also, the same trend was realized for the CSAH10 adsorbent, and both CSA and CSAH10 adsorbent since R2 has a great value and AARD has a low value. The pseudo-second-order kinetic model is the one governing the adsorption process. Moreover, the effect of HNTs ratio on contact time and kinetic study was investigated by various HNTs ratios that varied from 5 to 30%, as shown in Fig. 10, at an adsorbent dosage of 2 g/L, an initial concentration of 50 mg/L, pH solution of 3 at constant temperature at 27 °C for about 2 h. Additionally, the pseudo-first-order and pseudo-second-order kinetic model parameters for all ratios of HNTs are reported in Table 6. From this table, it can be realized that for all cases of the adsorbent studied, the AARD value for a pseudo-second-order model is smaller than a pseudo-first-order model, and also R2 value for a pseudo-second-order model shows that there is a strong correlation between this model and experimental data. Also, the very high value of R2 and low value of AARD prove that the pseudo-second-order kinetic model is a governing mode in the adsorption process. The intraparticle diffusion model equation (supplementary data S. 2), which was conducted by testing the model as the rate-limiting step using the model, is investigated and the parameters are obtained by the method proposed for the calculation of pseudo-first-order and pseudo-second-order parameters. The calculated parameters are tabulated in Tables 7 and 8. In Table 7, intraparticle diffusion model parameters, R2 and AARD for CSA and CSAH10 adsorbents are listed. The same parameters are listed for CSAH with various HNTs ratios in Table 8. All the data obtained in the study of the intraparticle diffusion curve fitting reveal that the value of the coefficient of determination related to the intraparticle diffusion model is low and also the high value of AARD shows the inapplicability of the intraparticle diffusion model in explaining adsorption kinetic. Figure 6A from Supplementary data illustrates that the intraparticle diffusion models do not go through the origin, which indicates that the adsorption process of AB25 onto adsorbents is controlled by both boundary and intraparticle diffusion mechanisms. Hence, the intraparticle diffusion does not become the rate-controlling step solely for the adsorption process of AB25 onto adsorbents. The high values of constant C obtained from the Tables 7 and 8, indicate great affection for the boundary layer on the AB25 molecules’ diffusion83.

Elovich kinetic model, R2, and AARD parameters for CSA and CSAH10 adsorbents and different HNTs ratios of CSAH adsorbent are presented in Tables 9 and 10. All obtained data from the curve fitting study reveals that the value of the coefficient of determination for the Elovich model is low and also, the high value of AARD reveals the inapplicability of the Elovich kinetic model to explain the adsorption kinetic. The experimental kinetic data, along with the pseudo-first-order, pseudo-second-order, intraparticle diffusion and Elovich kinetic models (The best fit) are depicted in supplementary data Fig. 4A.

Table 5 Parameters of pseudo-first-order and pseudo-second-order kinetic models, R2 and AARD for AB25 adsorption onto CSA and CSAH10 at various solution pH value - initial concentration 50 mg/l, adsorbent dosage 2 g/l, temperature 27 °C.
Table 6 Parameters of pseudo-first-order and pseudo-second-order kinetic models, R2 and AARD for AB25 adsorption onto CSAH at various HNTs ratios - initial concentration 50 mg/l, adsorbent dosage 2 g/l, temperature 27 °C and solution pH 3.
Table 7 Parameters of intraparticle diffusion kinetic model, R2 and AARD for AB25 adsorption onto CSAH various solution pH value - initial concentration 50 mg/l, adsorbent dosage 2 g/l, temperature 27 °C.
Table 8 Parameters of intraparticle diffusion kinetic model, R2 and AARD for AB25 adsorption onto CSAH at various HNTs ratios - initial concentration 50 mg/l, adsorbent dosage 2 g/l, temperature 27 °C and solution pH 3.
Table 9 Parameters of Elovich kinetic model, R2 and AARD for AB25 adsorption onto CSAH various solution pH value - initial concentration 50 mg/l, adsorbent dosage 2 g/l, temperature 27 °C.
Table 10 Parameters of Elovich kinetic model, R2 and AARD for AB25 adsorption onto CSAH at various HNTs ratios - initial concentration 50 mg/l, adsorbent dosage 2 g/l, temperature 27 °C and solution pH 3.

Cost assessment of adsorbent preparation

Assessing the cost-effectiveness of the CSAH10 composite is crucial for evaluating its practical viability in dye wastewater treatment. The total production cost of the adsorbent includes the cost of raw materials and energy consumption during synthesis. The adsorbent was prepared from chitosan, sodium alginate, and halloysite nanotubes in a 1:1:0.2 mass ratio (i.e., 10 wt% HNTs relative to the CSA polymer matrix). The cost per gram of dye removed was calculated using the following expression38:

$$\:AC\left(\frac{\$}{g}\right)=\frac{Cost\:of\:chemicals\:\left(\frac{\$}{g}\right)+Cost\:of\:energy\left(\frac{\$}{g}\right)kwh}{q\left(\frac{mg}{g}\right)\times\:{10}^{-3}\left(\frac{g}{mg}\right)}$$
(7)

AC refers to the adsorption cost per gram of pollutant removed, while q represents the adsorption capacity of CSAH10. Cost of chemicals is calculated based on the proportions used, and cost of energy is estimated from freeze-drying and stirring operations. Among the various components used in adsorbent preparation, chitosan is the most expensive, often serving as the primary factor influencing the overall production cost. For comparison purpose, the chitosan/cellulose composite developed for chromium removal, the reported adsorbent cost reached approximately $0.62 per gram of adsorbate. Additionally, the production cost of magnetic chitosan-functionalized graphene oxide used for removing Reactive Black 5 was estimated at 127.7 USD per kilogram38. Using Eq. 7 and the estimated wholesale prices of the raw materials sourced from common markets, the adsorption cost per gram of AB25 removed (AC) for the CSAH10 composite—featuring a maximum adsorption capacity of 351.07 mg/g—was calculated to be approximately $1.08/g. Despite the relatively high-cost contribution from chitosan, the composite remains economically promising due to its efficient dye uptake, fast kinetics, and reusability. The balanced combination of cost-effectiveness and adsorption performance positions CSAH10 as a viable and competitive alternative to many conventionally reported adsorbents.

Adsorbent reuse study

The experiment on regeneration explores the possibility of a different route for direct disposal of spent adsorbent, where the potential to recycle the spent adsorbent may decrease the overall costs related to adsorbent treatment. A dosage of 2 g/L adsorbent, an initial concentration of 50 mg/L, pH 3, and a constant temperature of 27 °C were used in running the reuse and regeneration of CSAH10 for five cycles, each lasting about 2 h. For the reactivation of the used adsorbents, 0.1 M sodium hydroxide solution was used in the experiment. The experimental testing focused on the potential sustainability of the adsorbent, especially in successive processes of adsorption. The results are shown in supplementary data Fig. 5A. As can be observed, the difference between the first and the last cycle is obtained 39%. The calculated percentage removal efficiency was 91.2 ± 2.3%, 83.1 ± 1.8%, 75.7 ± 1.2%, 60.8 ± 1.4% and 57.7 ± 2.4% for 5 successive cycles. If the adsorption process were fully reversible, all AB25 molecules would have been desorbed. The 91.2% removal observed in the first regeneration cycle suggests that most of the adsorbent’s active sites were effectively restored85. This indicates predominantly weak interactions between AB25 molecules and high-energy adsorption sites, which is advantageous for desorption and enhances the material’s regeneration potential. The adsorption capacities in the first and fifth cycles were 22.79 ± 0.57 mg/g and 14.42 ± 0.61 mg/g, respectively, indicating a moderate decline after five regeneration cycles. In comparison, previous studies reported a more substantial decrease in the adsorption capacity of modified halloysite for Congo Red, dropping from 60 to 30 mg/g over five cycles86. This comparison suggests that the adsorbent used in the present study exhibits better regeneration stability and retains a higher proportion of its initial adsorption performance.

It can be explained that at the high pH of the solution, the adsorbent surface becomes predominantly negatively charged and causes the repulsion of anionic AB25 molecules. In the pH experiment, it was observed that the adsorption of AB25 was unfavorable in high pH; this may account for the effectiveness of the base in desorbing AB25 from the adsorbents. In such an unfavorable condition, the interaction between AB25 and the adsorbent might be weakened and be easily displaced by the \(\:{\text{O}\text{H}}^{-}\) present.

Conclusion

This study investigated the removal of Acid Blue 25 (AB25) dye from aqueous solutions using chitosan/sodium alginate (CSA) and chitosan/sodium alginate/halloysite nanotube (CSAH) composites. Characterization confirmed the structural and surface properties of the adsorbents. The CSAH10 composite, containing 10% halloysite nanotubes, showed superior performance, achieving 94% dye removal within 30 min—an improvement over CSA, which reached 80% in 70 min. Isotherm analysis indicated that the Toth model best described the adsorption behavior, while kinetic studies revealed that the process followed a pseudo-second-order model, suggesting chemisorption. The maximum adsorption capacity of CSAH10 was 351 mg/g. The enhanced performance was attributed to the synergistic effects of electrostatic interactions, hydrogen bonding, and the additional active sites provided by the nanotubes. Regeneration tests demonstrated the reusability of CSAH10, with efficiency declining moderately from 91 to 58% over five cycles. Overall, CSAH10 is an effective, eco-friendly, and cost-efficient adsorbent for AB25 removal, particularly under acidic conditions.