Introduction

Contamination is a serious issue that is likely to get worse in the next years due to toxic and dangerous materials, colors, and pigments [24, 26, 36]. There are numerous kinds of organic dyes such as cationic (basic) dyes, mordant dyes, disperse dyes, metal-related dyes, reactive dyes, and anionic (acid) that are used in the industries of electroplating, textile, paper and solar cell [27]. For living beings, a lot of health risks can be caused due to the discharged dyes into the water system without sufficient purification. The chemicals of dyes cause some respiratory issues, allergic reactions in contact with the skin such as itching, irritations and dermatitis and numerous health defects. Azo dyes and aromatic amines produced from the degradation of these dyes are considered carcinogenic and highly toxic [4]. According to the persistence of the azo group, a big risk in the environment will be assumed due to the bioaccumulation of azo dyes [16]. As a result, it is important to reduce the eco-toxic effect as well as the potential risk to human health (Bustos et al.[28]) by removing these dyes from industrial wastes. As an example, the mutagenic effects of methyl blue (MB) were reported to be dangerous to human beings [12, 37].

Today, various methods of removing contaminants from water have been used [13, 22, 41, 49, 52]. Adsorption is a superior and extensively used approach among these technologies because of its low cost, ease of operation, and lack of toxic secondary products [1, 32, 42]. The use of effective adsorbents is critical for ensuring the efficacy of water treatment when using the adsorption approach [19, 21]. Clay minerals consider inexpensive and eco-friendly materials that have silicate layers with a thickness of around one nanometer [54]. Most clays consist of octahedral and tetrahedral layers which are placed in various ways. Sodium Montmorillonite (Na+-Mt) is an example of a 2:1 clay mineral that consisted of two tetrahedral SiO2 sheets that have an octahedral Al2O3 sheet between these sheets [2, 3]. Due to the net negative surface charge of Montmorillonite (Mt), it has been used as an adsorbent for the removal of cationic pollutants [2, 3, 54]. To use Mt as an adsorbent for anionic pollutants in water, or soil, the properties of Mt must improve by modifying its surface. There are many approaches had been applied to modify Mt [7]. As an example, the most common method is an ion exchange with organic ammonium cations [8]. However, the adsorption technique for removing dyes still has an apparent disadvantage, it does not lead to the degradation of the organic dyes in the end. In the previous works [5, 9, 10, 19, 25, 38] the wastewater purification process is completed after adsorption. The problem of how to deal with the surfaces that have adsorbed the dyes remains a significant one. Epoxy thermosets are an important class of polymers because they are versatile and have many applications. They can be used as matrices for fiber-reinforced composites, electric encapsulates, fiber-optic sheathing, adhesives, and coatings. However, because of their elevated degree of crosslinking, they are naturally brittle and vulnerable to damage, limiting their use in aerospace, automotive, and advanced electric purposes. [51]. Furthermore, their very little thermal and electrical conductivities severely restrict their use in functions that need efficient heat and static electricity dissipation. [18, 44]. These problems can be solved by modifying epoxy resin with various additives or fillers. Besides that, most industries prefer epoxy coating to have higher density and viscosity with excellent thermal stability and adhesive property to protect against ultraviolet (UV) radiation [30, 31]. Different attempts have been taken to improve the strength, adhesiveness, and thermal stability of polymers using various types of reinforcing agents, such as glass fibers, graphene, silica, zinc oxide, iron, copper, cobalt, titanium oxide, etc. [29, 30, 30, 31, 31, 35]. The properties of the final products depend on the specific function of the fillers. The inorganic fillers improve the chemical resistance, mechanical, thermal, and electrical properties of the epoxy [17, 45]. Ho et al. [15] and Wang et al. [20]) enhanced the mechanical properties of epoxy using several percentages of nano-clay.

The present paper describes firstly, the adsorption performance of methyl blue (MB) dye from wastewater on organophilic montmorillonite (claytone) as well as on modified sodium montmorillonite with poly oxy propylene diamine (Jeffamine D-2000). Then the two loaded clays with MB dye have been incorporated into epoxy resin through in-situ polymerization to obtain new colored epoxy/MB/clay nanocomposites. The obtained epoxy/MB/clay nanocomposites were characterized using X-ray diffraction (XRD) and Transmission electron microscope (TEM). The thermal stability and hardness of the new epoxy nanocomposites will be examined. Additionally, the antimicrobial activity of the prepared epoxy nanocomposites was studied. This approach opens the door to preparing colored reinforced polymer nanocomposites by reusing adsorbents that have already adsorbed organic dyes from wastewater. Moreover, improve the properties of the epoxy polymer to suit various industrial requirements. That is will give up a new path to effectively treat wastewater on a large scale by adsorption process and using the solid wastes for improving the thermal and mechanical properties of polymeric materials to fit several industrial applications.

Experimental

Materials

All of the reagents are commercially accessible, and no additional purification was performed before the reactions. Two types of modified clay minerals were utilized in this study. The first one was organophilic montmorillonite from southern clay products Inc (Gonzales, Texas, USA) under the market name claytone APA. The d001 interlayer spacing is 18.4 Å. The organically modified silicate was produced through a cation exchange reaction between the silicate and dimethyl benzyl hydrogenated tallow ammonium chloride. The organic content (dimethyl benzyl hydrogenated tallow ammonium chloride) was 24%. The second type was named clay D2000 and obtained from our prior work [40]. Epoxy resin of average molecular weight 340.41 g/mol, 1,2-diaminopropane (curing agent), dichlorodimethylsilane and methyl blue dye were purchased from Sigma–Aldrich.

Adsorption study

Adsorption experiments were conducted separately for each type of clay in a batch method. In these experiments, 5 mL of claytone aqueous suspension (2 g/L) and 3 mL of MB dye solution (239.5 mg/L) at pH = 2 of phosphate buffer was shaken in Erlenmeyer flasks ((Julabo D-7633 Seelbach, Germany) for a particular period at 120 rpm and 25 ± 0.2 °C. The adsorbent was separated using (Centrifuge-BL II Selecta) after a specific time, and the amount of MB contained in the aqueous solution was determined using a UV–visible spectrophotometer. (SPECORD 210 PLUS spectrophotometer) at λmax = 605 nm. The adsorption capacity qe, was estimated from the mass balance Eq. (1):

$$q_{e} = \, \left( {C_{o} - \, C_{e} } \right)V/m$$
(1)

where, Co and Ce denote the initial and equilibrium concentrations (mg/L) of MB, respectively, V denotes the volume (mL) of MB solution, and m denotes the mass (g) of the adsorbent utilized.

The adsorption kinetics was investigated by measuring adsorption capacities at various periods. Adsorption isotherms were determined by incubating MB solutions with adsorbents at 25 ± 0.2 °C until the equilibrium was reached. The impact of temperature was studied at temperatures 25, 35, and 45 °C ± 0.2 °C, respectively. All assays were completed in duplicate, and the average values were calculated. The adsorption experiment of MB on clayD2000 and the adsorption capacity, qe, were similarly measured at a neutral medium. After centrifugal separation at 6000 rpm for 10 min, the loaded clays with MB were collected and dried at 60 °C under vacuum to produce MB/clayD2000 and MB/claytone.

Preparation of epoxy resin

The ratio of epoxy/1,2-diaminopropane was 87.33:12.67 by weight. Consequently, 4.08 g of epoxy was mixed with 0.592 g of 1,2-diaminopropane and stirred under vacuum for 20 min at 25 °C. The mixture was poured into a glass mold which was pretreated by dichlorodimethylsilane, followed by curing in an oven at 80 °C for 2 h then at 120 °C for 3 h.

Fabrication of epoxy/loaded methyl blue dye/clay nanocomposites

Two modifiers were used, dimethyl benzyl hydrogenated tallow ammonium chloride and poly oxy propylene diamine (Jeffamine D-2000) having an average molecular weight of 2000 g/mol and primary amine content of 0.97 meq/g, Fig. 1. The composites were performed by a simple solvent mixing method. A certain amount of MB/clayD2000 (or) MB/claytone was dispersed in epoxy in a round flask for 20 min using sonication at 25 °C. Then, 1,2-diaminopropane was added to the mixture with stirring under a vacuum for 20 min at 25 °C. The mixture was poured into a glass mold which was pretreated with dichlorodimethylsilane. Then curing was done in the oven at 80 °C for 2 h followed by 3 h at 120 °C. In each system, the ratio of loaded clay/epoxy was 7.5/92.5 by weight.

Fig. 1
figure 1

Chemical structure of Jeffamine D2000

Characterization

To investigate the prepared samples of epoxy, epoxy/ MB/claytone and epoxy/MB/clayD2000, X-ray diffraction (XRD) was performed on Philips PW1710 equipped with Cu Kα tube which is a source of high-intensity radiation (λ = 1.5418 Å) (Germany). The sample was subjected to the range of 2θ = 3° to 20° with a scan rate of 8 (deg/min) at room temperature. Transmission electron microscope (TEM) specimens were cut from nanocomposites block using an ultra-microtome, LEICA EM UC6 equipped with a glass knife. By sliding the sample across a knife edge, the ultra-thin films (40–50 nm) were cut and then placed on copper grids at room temperature. TEM images were captured with a JEOL JEM-2100 Electron Microscope (Japan). Perkin Elmer thermogravimetric analyzer TGA4000 (France) under airflow of 25 mL min−1 was used to perform the thermogravimetric analysis (TGA). The samples (5–10 mg) were heated from room temperature to 800 °C at a linear heating rate 20 °C min−1. The microhardness was measured using Zwick/Roell Indentec machine. 300 g were applied for 20 s in a perpendicular direction during the hardness test. Five readings were obtained for each data point, and the average value was computed.

Antimicrobial activity of the prepared nanocomposites

Escherichia coli, Bacillus subtilis, Staphylococcus aureus, Salmonella typhimurium, Klebsiella pneumoniae, Pseudomonas aeruginosa, and Candida albicans were taken from the Bacteriology Unit's culture collection at the Botany Department of the Faculty of Science at Tanta University for use in the experiment. The test bacteria and yeast-like fungus were grown on nutrient agar and Sabouraud’s broth. The cut plug method (Anderson et al. [33]) was used to assess the antibacterial activity of epoxy, epoxy/MB/claytone, and epoxy/MB/clayD2000 on plates containing the test bacteria and inoculum fungus. Inoculums were diluted to 1 × 105 cfu/mL and overnight cultures of the bacterial and C. albicans indicators were prepared in nutrient and sabouraud broths. 200 mL of 1 × 105 cfu/mL were thoroughly mixed. Following solidification, 5 mm diameter wells were created, and each was filled with 0.2 gm of the tested nanocomposites (tested nanocomposites are not dissolved in any solvent). The widths of the inhibition zones were then measured to determine the inhibitory effects after the plates had been incubated at 30 °C for 24 h.

Results and discussion

The organically modified montmorillonite renders the hydrophilic character of montmorillonite and increases its organophilic nature leading to improving its swelling in organic solvents and its wetting properties with epoxy resin. In addition, the adsorption of organic dyes onto the modified clay facilitates the migration of hardener and epoxy into clay layers. Upon curing the epoxy reacts with hardener (1,2-diaminopropane) leading to the formation of epoxy/modified clay-loaded dye nanocomposite.

Adsorption studies

Effect of pH

In the adsorption process, the pH of the dye solution has a key role in the adsorption capacity determination. This is due to its impact on the adsorbent's surface characteristics as well as the ionic form of the adsorbate. Therefore, pH experiments of the adsorption of MB onto claytone and clalyD2000 were examined in the pH range of 2–6 using phosphate buffer. Figure 2 displays the equilibrium adsorption capacity of MB onto claytone and clayD2000 in a water solution with various pH values. The experiments were done in the pH range of 2–6 because the color of the MB solution fades at pH > 6 [14]. With an initial concentration of MB of 239.94 mg/L, it could be noted that the adsorption capacity raised from 0.570 mg/g to 0.742 mg/g with the acidity increased for claytone. Because MB is an ionic dye, the increased adsorption capacity could be due to the increased electrostatic interaction between MB and the claytone surface. However, an increment in the adsorption capacity of clayD2000 was found from 0.063 mg/g to 0.628 mg/g as the medium becomes neutral (pH = 6).

Fig. 2
figure 2

Effect of initial pH of the medium on the adsorption capacity of MB onto claytone and clay D2000 (2 g/L) at 25 °C, [MB]0 = 239.5 mg/L

Impact of contact time

Figure 3 presents the time profile of the adsorption equilibrium of MB onto claytone and clayD2000. The adsorption of MB was very rapid in the first 10 min, and then, as time passes, it steadily diminishes until it reaches equilibrium. The availability of more adsorption sites on the surface of the two adsorbents could explain the increase in adsorption activity at the initial state. Thereafter, the amount of MB dye adsorbed on both surfaces reduces as the adsorption rate falls, as a result, the equilibrium was attained. Under the experimental conditions, the amount of dye adsorbed at the equilibrium time (qe ≈ 1.4 mg g−1 for both surfaces) reflected the adsorbent's maximal adsorption capacity. The contact time prerequisite to reach the equilibrium condition for MB on claytone and clayD2000 was about 60 min.

Fig. 3
figure 3

Time profile of the adsorption equilibrium of MB onto claytone and clayD2000 (2 g/L) at 25 °C, [MB]0 = 239.5 mg/L, pH = 2 for claytone and pH = 6 for clay D2000

Adsorption kinetics

Several kinetic models were applied to assess the kinetic behavior of dye adsorption onto claytone and clayD2000. To calculate the rate constants and understand the process of adsorption, experimental data (which were collected in 3.2.1) were fitted into pseudo-first order, pseudo-second order, and intraparticle diffusion models. The equations of the three models are given in the supporting information Equs. (1, 2 and 3, respectively). The data acquired from the linear plots are recorded in Table 1. The pseudo-second-order kinetic model fits the experimental kinetic data with correlation coefficient (R2) values close to unity for both surfaces, confirming typical chemical adsorption [46], Turan et al. [53]). Lowered R2 values of the pseudo-first-order model, suggest that this model failed to adequately describe the experimental data. The similar values of the experimental adsorption capacity at equilibrium (qe,exp) and the estimated (qe,cal) from the equation further support the great convention between the experimental data and pseudo-second order. Elsherbiny et al. have found that the second-order kinetic model was the best appropriate model for explaining the adsorption of MB on another modified montmorillonite [10].

Table 1 Kinetics data with their correlation coefficient (R2) for the adsorption of MB onto claytone and clayD2000 at 25 °C

Finally, the intraparticle diffusion model (Morris et al. [50]) was applied to the experimental data to study if the adsorption process is controlled only by intraparticle diffusion or if other phenomena such as surface adsorption, ion exchange, and complexation are involved (Bustos et al. [28]). The examination of Fig. S1 indicates that two intersected linear stages for the adsorption of MB on claytone and clayD2000 and the lines are not passing through the origin. It indicated that there are additional processes involved in the adsorption removal process than intraparticle diffusion and that intraparticle diffusion was not the rate-limiting step.

Adsorption isotherm

The equilibrium adsorption isotherms were investigated to better understand how MB interacts with the two surfaces and to compute the maximum adsorption capacity. In this study, the experimental adsorption data at equilibrium were matched with three models: Langmuir, Freundlich and Dubinin-Radushkevich (D-R) isotherm models. The equation and enlarged explanation of these models were given in the supporting information Equs. (4, 5 and 6, respectively). The data obtained from isotherm models are listed in Table 2. By comparing the correlation coefficients (R2), the adsorption of MB on claytone followed Langmuir isotherm at 298 K. At higher temperatures (308 and 318 K), the adsorption of MB on claytone obeyed Freundlich isotherm model with (n) values higher than unity, indicating the adsorption process was favorable (Aftab et al. [48]). The maximum adsorption capacity, qmax increased with increasing temperature, implying this adsorption may be an endothermic process. However, the adsorption of MB on clayD2000 was declared by Langmuir at a temperature of 298 and 308 K, by increasing the temperature to 318 K, the adsorption was supposed to predict multilayer as Freundlich isotherm. The intensity factor (n) declined with increasing temperature but is still higher than unity. The D-R model provides information about the mean sorption energy (E) which predicts the type of adsorption on the surface. The adsorption of MB on claytone and clayD2000 was governed by physical adsorption, since the value of (E) was < 8 kJ/mol. Moreover, the temperature has a positive effect on the values of (E) for both surfaces.

Table 2 Isotherm parameters and the correlation coefficient, R2 for the adsorption of MB dye onto claytone and clay D2000

Influence of temperature and thermodynamic parameters

The influence of temperature on the adsorption of MB onto claytone and clayD2000 was studied at three different temperatures 295, 308 and 318 K. The impact of temperature on the adsorption process permits us to obtain thermodynamic parameters of adsorption such as ΔG°, ΔH°, and ΔS°. These thermodynamic parameters are evaluated using the Van’t Hoff Eq. (2) [47] and Eq. (3) [34].

$${\text{ln }}\left( {{\text{K}}^\circ_{{{\text{Eq}}}} } \right) \, = \Delta {\text{S}}^{{\text{o}}} /{\text{R}} - \, \Delta {\text{H}}^{{\text{o}}} /{\text{RT}}$$
(2)
$$\Delta {\text{G}}^{{\text{o}}} = \, \Delta {\text{H}}^{{\text{o}}} {-}{\text{ T }}\Delta {\text{S}}^{{\text{o}}}$$
(3)

where Eq = (KLC0adsorbate) is the standard thermodynamic equilibrium constant, KL is Langmuir constant, C0 is the standard concentration of adsorbate and equal 1 mol/L, γadsorbate is the activity coefficient of adsorbate and can be negligible under dilute ionic solution [47]. T is the absolute temperature, and R is the gas constant. The slope and intercept of Van't Hoff's plot (Figure not shown) were used to calculate the values of enthalpy change (ΔHo) and entropy change (ΔSo) (Table 3). The positive value of ΔHo (Table 3) of the adsorption of MB onto claytone displayed the endothermic behavior of the process. Additionally, its value is less than 40 kJ/mol confirming that the process is physisorption in nature [8]. However, ΔH° has a negative value in the case of adsorption of MB on clay2000 implying the process is chemosorption. Gibbs energy change for adsorption (ΔGo) has negative values for the adsorption of MB on claytone, showing that the adsorption process was thermodynamically favorable to take place [23]. The negative values decrease as temperature increases, indicating that the adsorption process was favorable at higher temperatures [34]. For the adsorption of MB on clay D2000, ΔGo has a negative value at 298 and it becomes positive at 308 K and 318 K, implying that the feasibility of the process decreased with raising the temperature. The positive value of ΔS° for the adsorption of MB on claytone revealed that increasing the randomness at the solution/adsorbent interface during the adsorption process [5]. For the uptake of MB by clayD2000, ΔS° had negative values revealing that the disorder at the solid–liquid interface was decreased [6].

Table 3 Thermodynamic parameters of MB dye adsorbed onto claytone and clay D2000

Characterization of loaded clay/epoxy/nanocomposites

XRD

It was reported that the XRD pattern of intercalated Jeffamine/clay (clay D2000) displayed a d-spacing of 18.4 Å with an expansion of 9.1 Å due to the incorporation of two polymer layers or buckled structure of Jeffamine D-2000 [40]. For APA (claytone), a silicate reflection at 2θ of 4.8° corresponding to 18.4 Å was reported [39]. The characteristic peak to 001 plane of claytone and clayD2000 was shifted to 2θ value of 5.15° and 4.62°, respectively, after the adsorption of MB on them (see Fig. 4a). The shift of 2θ to a higher value in case of claytone after adsorption of MB indicating to contract in the interlayer spaces. This may be attributed to the exchanged and adsorbed MB or its molecular arrangement [10]. However, the decrease of 2θ value indicates the intercalation of MB between layers of clayD2000. For epoxy resin a broad peak at 2θ of 5.9° confirms the amorphous structure, Fig. 4b. The peak characteristic of epoxy resin was observed in epoxy/MB/clay nanocomposites however, the peak characteristic to 001 in claytone and clay D2000 after adsorption of MB at 2θ of 5.15° and 4.62° was not observed. This is attributed to the formation of exfoliated nanocomposites or blocking of d001 by the broad peak of epoxy. The exfoliation of the clay’s layers was confirmed by TEM measurements.

Fig. 4
figure 4

XRD pattern of (a) adsorbed MB on claytone and clayD2000, (b) epoxy resin, epoxy/MB/claytone and epoxy/MB/clayD2000

TEM

To observe the dispersion state of MB/clay into epoxy resin, TEM micrographs were obtained for the nanocomposites. Figure 5 depicts the TEM of pristine epoxy (a), epoxy/MB/claytone/(b), and epoxy/MB/clayD2000 (c) with a clay ratio of 7.5 wt %. The TEM micrograph of epoxy resin shows a smooth featureless morphology. However, the nanocomposites revealed the dispersion of loaded clays (dark lines in the images with an average space between layers of 10 and 40 nm for MB/claytone and MB/clayD2000, respectively) into the epoxy matrix (bright lines). No aggregation of the clay’s layers was noticed in TEM micrographs and this was confirmed by XRD since exfoliated nanocomposites were formed. For the epoxy/MB/clayD2000 nanocomposite confirming the exfoliation of clay layers (red arrows). It is worth mentioning that the dark particles (blue arrows) observed in the micrograph may be due to the adsorbed dye MB on the clay surface.

Fig. 5
figure 5

TEM micrograph of a epoxy resin, b epoxy/MB/claytone, and c epoxy/MB/clayD2000

TGA

TGA was used to assess the thermal behavior of the nanocomposites during the heating process as well as their thermal stability. The thermogram of epoxy resin displays one step of weight loss at 329.9 °C, Fig. 6. This single step corresponds to the resin decomposition without any release of any molecules during the heating process. The temperature at weight loss 10% (t10, °C), 50% (t50, °C) and 90% (t90, °C) of epoxy/MB/clayD2000 composite were improved from 362.9, 391.1, and 614.7 °C in pristine epoxy to 368.7, 404.5, and 775.6 °C, respectively, as appeared in Table 4. This behavior confirms that the addition of MB/clayD2000 improves the thermal properties of epoxy resin. The epoxy/MB/claytone nanocomposite tends to degrade slightly faster than the epoxy resin in the temperature range. However, the overall thermal resistance is still higher in colored epoxy due to the constrained region in the nanocomposite. Moreover, the char yield of epoxy/MB/claytone and epoxy/MB/clayD2000 nanocomposites was 5.14% and 9.66%, respectively, which is higher than that of bare epoxy (0.97%). The presence of dispersed exfoliated layered silicate acts as a barrier and increases the mean free path of decomposed molecules and delayed the decomposition temperature.

Fig. 6
figure 6

TGA curve for epoxy resin, epoxy/MB/claytone, and epoxy/MB/clayD2000

Table 4 Thermal stability factors and average hardness of epoxy, epoxy/MB/claytone and epoxy/MB/clayD2000 nanocomposites

Hardness

The hardness test was carried out to examine the influence of the inclusion of modified clays loaded dye into the epoxy resin. The average values of the hardness of epoxy and the two prepared nanocomposites are listed in Table 4. The hardness of the epoxy resin was significantly improved despite the small amount of modified clays loaded dye which makes them especially attractive. Moreover, the epoxy/MB/clayD2000 nanocomposite had the highest hardness value.

Antimicrobial activity

The human pathogenic bacteria Escherichia coli, Bacillus subtilis, Salmonella typhimurium, Klebsiella pneumoniae, Staphlococcus aureus, and Pseudomonas aeruginosa as well as the yeast Candida albicans were not inhibited by the antimicrobial activity of the investigated nanocomposites epoxy/MB/claytone and epoxy/MB/clayD2000, Fig. 7. Whereas epoxy resin displayed distinct inhibition zones of according to the findings, the epoxy exhibited good antibacterial and antifungal activities of varied intensities, Fig. 8. This might be because the epoxy resin and the tested organisms interact differently. It is partially understood how epoxy resin inhibits the growth of germs. Cellular proteins supposedly become inactive, and DNA is thought to lose its replication capacity [11]. Moreover, it was demonstrated that epoxy attaches to protein functional groups, causing denaturation of the protein. Additionally, it drastically alters the bacterial membrane, making it impossible for the bacteria to correctly control transport through the plasma membrane, ultimately leading to cell death [43]. The synthesized nanocomposites epoxy/MB/claytone and epoxy/MB/clayD2000 have a hard surface, complex structure, and insoluble properties so, they have no permeability through cell structure and do not affect on the microbial growth. Also, microorganisms cannot secrete any enzymes to degrade the previous nanocomposites (epoxy/MB/claytone and epoxy/MB/clayD2000) and cannot absorb this nanocomposite.

Fig. 7
figure 7

Antimicrobial activity of (A) epoxy/MB/claytone and (B) epoxy/MB/clayD2000

Fig. 8
figure 8

Antimicrobial activity of epoxy resin against different pathogenic organisms

Conclusion

Two modified montmorillonites namely, claytone and clayD2000 were used to remove methyl blue as a model of anionic dye from an aqueous solution by adsorption process. The maximum adsorption efficiency of claytone was found in an acidic medium, however, clayD2000 in neutral within 60 min. Pseudo-second-order kinetic model was the most appropriate model for explaining the adsorption of MB on both surfaces. The adsorption of MB on claytone and clayD2000 followed Langmuir isotherm at lower temperature and with increasing the temperature was supposed to predict multilayer as Freundlich isotherm. The enthalpy change (∆H°), and Gibbs energy change (∆G°) showed that the adsorption process MB on claytone was a favorable and endothermic process. However, an exothermic behavior for the uptake of MB by clayD2000 and a favorable process at lower temperatures. In a sustainable step, the colored clays that had been loaded with MB dyes were incorporated into epoxy resin to prepare fashionable layered polymer nanocomposites. TEM results demonstrated that the loaded clays were dispersed into the epoxy matrix. The large distance between clays’ lines in TEM images confirms the exfoliation of clay layers as confirmed by XRD. TGA results confirmed that the addition of MB/clayD2000 improves the thermal properties of epoxy resin. For epoxy /MB/claytone nanocomposite, it degraded slightly faster than the epoxy resin in the temperature range. However, the overall thermal resistance is still higher in colored epoxy due to the constrained region in the nanocomposite. The hardness of the epoxy resin was significantly improved despite the small amount of modified clays loaded dye. The epoxy/MB/clayD2000 nanocomposite had the highest hardness value. The human pathogenic bacteria E. coli, B. subtilis, S. typhimurium, K. pneumoniae, St. aureus, P. aeruginosa, and the yeast-like fungus C. albicans did not respond to epoxy/MB/claytone or epoxy/MB/clayD2000.