1 Introduction

Because of the positively charged nitrogen atoms in PPy matrix, PPy can adsorb metal ions, inorganic anions and some organics through ion exchange or electrostatic interaction [1, 12, 22]. However, the application of pure PPy is restricted because pure PPy has low adsorption ability and is difficult to be reused due to its low density.

Some researchers began to synthesize composite materials by combining PPy with other materials to solve these two shortcomings. Bhaumik et al. [2] investigated the adsorption performance of the prepared PPy/Fe3O4 composite for Cr(VI), and found that the composite exhibited outstanding adsorption ability with the maximum adsorption amount of 169.4 mg/g. Li et al. [13, 14] synthesized PPy/TiO2 composites in HNO3 and H2SO4 solutions, respectively, and evaluated their adsorption performances for acid red G and methylene blue. The results showed that the PPy/TiO2 composites displayed much better adsorption ability than pure PPy [7]. Chen et al. [5] investigated the influence of metal oxides on the adsorption performance of PPy/metal oxides for methylene blue, which suggested that the composites exhibited various adsorption abilities by using different substrate materials. In our previous study, PPy/TiO2 prepared in different carboxylic acid with hydroxyl group showed different adsorption capacities [8]. However, it did not systematically analyze the effect of the surface physicochemical properties of the substrate materials on the adsorption performance of the formed composites.

In this work, TiO2 particles prepared in citric acid were calcined in different temperatures to change the physiochemical properties of the surface. The calcined TiO2 particles were then used as the substrates to synthesize the PPy/TiO2 composites. The corresponding adsorption capacities for Acid Red G and Methylene Blue were discussed, in order to confirm that the surface physicochemical properties of the substrate materials influenced the adsorption performance of the formed composites.

2 Experimental

2.1 Materials

Pyrrole (98%, Qingquan Pharmaceutical & Chemical Ltd., Zhejiang, China) was distilled twice under reduced pressure, and then stored in the dark under low temperature. Acid Red G (ARG) was commercial grade and purified before used. Methylene Blue (MB), FeCl3·6H2O, HNO3 (65–68%), NaOH, citric acid, n-propanol (99.9%) and tetrabutyl titanate (TBOT, 98%) were of analytical grade and purchased from Beijing Chemical Reagent Co., China. The deionized water used for all experiments was obtained from the EPED-40TF Superpure Water System (EPED, China).

2.2 Synthesis of adsorbents

The TiO2 powder was synthesized by hydrolysis method. A mixture of TBOT and n-propanol (the volume ratio is 5:2) was added into 200 mL citric acid solution (65 °C, 0.16 mol/L), with magnetic stirring for 2 h. The suspension was then continuously stirred for 12 h at ambient temperature. Finally, the white solid was filtrated and washed several times with DI water until the pH value of the washing liquid became neutral. The TiO2 powders were dried at 50 °C for 24 h and named as 50-TiO2. 50-TiO2 particles calcined at 150 °C, 250 °C, 350 °C and 450 °C were named as 150-TiO2, 250-TiO2, 350-TiO2 and 450-TiO2, respectively.

The preparation process of the PPy/TiO2 composite was described as follows. First, 0.1 g of the calcined TiO2 was added into 100 mL deionized water by ultrasonic vibrating for 10 min. Then, the mixture was cooled to 5 °C and magnetically stirred for 30 min. Afterwards, pyrrole (0.30 mL) was added into the mixture and stirred for 30 min, followed by adding dropwise FeCl3 (3.0 mol/L, 4.0 mL) solution in 1 h. The mixture needed 24 h to complete the reaction. Finally, the generated black solid was filtered and washed with deionized water several times, and dried at 50 °C for 24 h. According to the calcination temperature of TiO2, the prepared PPy/TiO2 composites were named as 50-PPy/TiO2, 150-PPy/TiO2, 250-PPy/TiO2, 350-PPy/TiO2 and 450-PPy/TiO2, respectively.

2.3 Characterizations

The structures of the as-prepared samples were examined by Fourier transform infrared spectra (FT-IR) using the KBr pellet method on a BRUKER TENSOR 37 FT-IR spectrophotometer in the range of 4000–400 cm−1. XRD diffraction was utilized to measure the crystallinity of the samples by X’Pert PRO MRD Diffractometer using Cu-Kα radiation. The surface chemistry characterization of the samples was estimated by temperature programmed desorption (TPD) using Builder Gas Adsorption analyzer PCA-1200 (Beijing, China) in He flow (30.0 mL/min) and at a heating rate of 10 °C/min to 700 °C. The oxidative states of the samples were determined using X-ray photoelectron spectroscopy (XPS) on Kratos Axis Ultra DLD with an Al monochromatic X-ray source (1486.71 eV). All binding energies (BEs) were referenced to the C1s hydrocarbon peak at 284.6 eV. The BET surface area (SBET), total pore volume (V) and average pore radius (R) were measured at 77 K using Builder SSA-4200 (Beijing, China).

The zeta potentials were measured with Malvern Zetasizer Nano ZS90. Samples for zeta potential measurement were prepared by adding 5 mg of sample in 10 mL NaCl solution (10−3 mol/L) at different pH values. The pH was adjusted with diluted HNO3 or NaOH solution.

2.4 Adsorption experiments

The suspension containing 800 mg/L of dye solution and 2 g/L of adsorbent was shook for 120 min at 25 °C. Then the suspension was centrifuged at 4000 rpm for 5 min. The obtained supernatant was analyzed by the UV–Vis spectrophotometer (Agilent 8453) at the wavelength of 506 nm for ARG and 665 nm for MB.

The influences of pH and ionic concentration on the adsorption capacity of PPy/TiO2 were further studied. The suspension containing 300 mg/L of ARG or MB and 2 g/L PPy/TiO2 was stirred for 1 h. The pH values of suspensions were adjusted to 1.0–13.0 with NaOH or HNO3 solution. Then the suspension was centrifuged at 4000 rpm for 5 min. The clarified supernatant was analyzed by the UV–Vis spectrophotometer (Agilent 8453). The effect of ionic concentration (0–0.3 mol/L) on the adsorption was carried out by adding Na2SO4 into the 300 mg/L ARG and MB solution.

The adsorption rate R (%) and the amount of dye molecules adsorbed onto adsorbent Qt (mg/g) after time t were calculated from the following Eqs. (1) and (2), respectively:

$$R\left( \% \right) = \frac{{C_{0} - C_{t} }}{{C_{0} }} \times 100$$
(1)
$${\text{Q}}_{\text{t}} \left( {{\text{mg}}/{\text{g}}} \right) = \frac{{{\text{C}}_{ 0} - {\text{C}}_{\text{t}} }}{\text{M}} \times {\text{V}}$$
(2)

where C0 is the initial dye concentration (mg/L), and Ct is the concentration of dye after time t; V is the solution volume (L) and M is the mass of the used adsorbent (g).

The adsorption equilibrium of ARG or MB with different concentrations (300, 500, 800 mg/L) on PPy/TiO2 was evaluated at 20 °C, with 2 g/L of PPy/TiO2 added and stirred for 1 h. The mixture was fetched per 10 min and filtered, and then the filtrates were analyzed by the UV–Vis spectrophotometer. The adsorption kinetics were analyzed by using the pseudo-first (Eq. 3) and pseudo-second orders (Eq. 4):

$$\lg (Q_{e} - Q_{t} ) = \lg Q_{e} - \frac{{k_{1} }}{2.303}t$$
(3)
$$\frac{t}{{Q_{\text{t}} }} = \frac{1}{{k_{2} Q_{e}^{2} }} + \frac{t}{{Q_{e} }}$$
(4)

where t is the contact time (min); K1 (min−1) and K2 (g/mg/min) are the rate constants for the pseudo-first-order and pseudo-second-order models, respectively; Qe (mg/g) is the adsorption amount at equilibrium state.

Equilibrium adsorption isotherms at 20 °C were obtained by mixing different concentrations (300–1000 mg/L) of ARG or MB solutions with 2 g/L of PPy/TiO2. There are two models, Langmuir and Freundlich isotherms, which are described in the following Eqs. (5) and (6), respectively:

$$Q_{e} = \frac{{Q_{\hbox{max} } K_{L} C_{e} }}{{1{ + }K_{L} C_{e} }}$$
(5)
$$Q_{\text{e}} = K_{F} C_{e}^{1/n}$$
(6)

where Qeq and Qmax (mg/g) are the adsorbed dye equilibrium concentration in the solid phase and the maximum adsorption capacity, respectively; Ceq (mg/L) is the dye equilibrium concentration; KL (L3/mg) is a constant that related to the heat of adsorption; KF (mg/g/(mg/L3)n) represents the adsorption capacity when Ceq equals 1; n represents the degree of dependence of adsorption on equilibrium concentration.

3 Results and discussion

3.1 FT-IR analyses

The FT-IR spectra of TiO2 and PPy/TiO2 are shown in Fig. 1. The intensity of the characteristic peak of hydroxyl group at 1630 cm−1 gradually decreases or even disappears as the rising of calcination temperature. This suggests that the amount of the hydroxyl group decreases with the increase of the calcination temperature. Furthermore, the intensities of the peaks at 1710 cm−1, 1540 cm−1 and 1400 cm−1 corresponding to carboxyl group, anti-symmetric and symmetric stretching vibration of carboxylate group respectively, also reduce with increasing temperature [10]. Moreover, these peaks almost disappear when the temperature exceeds 350 °C. This result indicates that the citric acid molecules coordinated with TiO2 are gradually decomposed with the increase of calcination temperature, which reduces the content of carboxyl and carbonyl groups on the surface of TiO2. In addition, the intensity and shape of the peak at 400–800 cm−1 corresponding to Ti–O–Ti exhibit obvious changes with the increase of calcination temperature [16]. It is potentially due to the fact that the gradual disappearance of hydroxyl, carboxyl and carbonyl groups reduces the defects on the surface of TiO2, which results in the formation of a certain crystal structure in TiO2 [23]. It is obvious that the type and quantity of the active functional groups on the surface of TiO2 change with the calcination temperature, resulting in the variation of the surface chemical properties of TiO2.

Fig. 1
figure 1

FT-IR spectra of TiO2 (a) and PPy/TiO2 (b), respectively

Figure 1b is the FT-IR spectra of the prepared PPy/TiO2 composites, and the corresponding data are listed in Table 1. The positions of the bands related to PPy obviously change [17]. The band of Ti–O-–i is not found in the spectra of 50-PPy/TiO2, 150-PPy/TiO2 and 250-PPy/TiO2, but appears in that of 350-PPy/TiO2 and 450-PPy/TiO2. This may be because the active function groups on the surface of TiO2 calcined at lower temperature can combine with PPy through strong chemical reaction. Therefore, the force between PPy and TiO2 weakens with the increase of the calcination temperature due to the decrease of the active function groups.

Table 1 FT-IR adsorption bands of the PPy/TiO2 composites and their assignments [3]

3.2 TPD analyses

Figure 2 displays the TPD spectra of TiO2 after calcination at different temperatures. The function groups on the surface of TiO2 decompose upon heating and release CO and CO2 at different temperatures, which can possibly be used to identify and estimate the active groups quantitatively. It has been reported that CO peaks result from the decomposition of the carbonyl groups at higher temperature, whereas CO2 peaks derive from the decomposition of the carboxyl groups at low temperature [6, 19]. The TPD spectra of 50-TiO2 and 150-TiO2 are basically similar, which are mainly CO2 peak derived from the decomposition of carboxyl groups. However, the peak area of 150-TiO2 is smaller than that of 50-TiO2, suggesting that 150-TiO2 possesses fewer carboxyl groups due to the high calcination temperature. For 250-TiO2, the position and area of CO2 peaks both change significantly, owing to the further decomposition of the function groups. The CO2 peaks are replaced by CO peaks in the TPD spectra of 350-TiO2 and 450-TiO2 calcined at higher temperature, which implies that the carboxyl groups on the surface of TiO2 are decomposed during the calcination progress, leaving only the carbonyl groups. In addition, considering 350-TiO2 shows a larger peak area, 350-TiO2 should contain more carbonyl groups than 450-TiO2. Finally, the type and quantity of the function groups on the surface of TiO2 have changed after calcination at different temperatures, resulting in the variation of the surface chemical properties.

Fig. 2
figure 2

TPD spectra of TiO2 calcinated at different temperatures

3.3 XRD analyses

The XRD results of TiO2 and PPy/TiO2 are shown in Fig. 3. The crystal form of TiO2 is transformed from amorphous to anatase as the calcination temperature rises [21, 24]. 350-TiO2 exhibits anatase structure, and 450-TiO2 displays a very clear anatase structure. According the previous FT-IR analyses, the decrease of the active function groups of TiO2 calcined at higher temperature reduces the defects on the surface of TiO2, which results in the formation of the crystal structure. It also can be seen that PPy/TiO2 and TiO2 at the same temperature exhibit a similar crystal structure, although the peak intensities of PPy/TiO2 are lower than that of pure TiO2 due to the outer layer of PPy.

Fig. 3
figure 3

XRD patterns of TiO2 (a) and PPy/TiO2 (b) at different calcination temperatures

3.4 Zeta potentials

Figure 4 presents the zeta potentials of TiO2 and PPy/TiO2. The isoelectric point (pHiep) is the pH value when the zeta potential value is zero. The pHiep of 50-TiO2, 150-TiO2, 250-TiO2, 350-TiO2 and 450-TiO2 are 2.27, 2.81, 4.65, 6.03 and 6.79, respectively, suggesting the pHiep of TiO2 increases with the calcination temperature, which is consistent with previous studies [20]. The reduction of the carboxyl groups on the TiO2 surface promotes its electrical neutrality. However, the pHiep of PPy/TiO2 is larger than that of TiO2. The pHiep of 50-PPy/TiO2, 150-PPy/TiO2, 250-PPy/TiO2, 350-PPy/TiO2 and 450-PPy/TiO2 are 2.73, 8.54, 9.80, 9.80 and 9.79, respectively, which are lower than that of pure PPy (pHiep > 10) [4]. The distinction is related to the various content of carboxyl group on TiO2 surface. When the content of carboxyl group is relatively high, it can involve into the PPy chain and neutralize -NH+- on the PPy chain, which make PPy/TiO2 is negatively charged; while PPy/TiO2 is positively charged when the carboxyl group is relatively low, which is not enough to neutralize all the -NH+- groups [26]. This implies that the content of the carboxyl group on TiO2 surface will impact the chemical properties of PPy/TiO2.

Fig. 4
figure 4

Zeta potentials of TiO2 (a) and PPy/TiO2 (b) at different calcination temperatures

3.5 XPS analyses

The XPS spectra of the 50-PPy/TiO2 and 450-PPy/TiO2 composites are displayed in Fig. 5. From the spectra, the peaks at 399.9 and 401.3 eV are attributed to the neutral nitrogen atoms (NH) and positively charged nitrogen atoms (N+) in PPy layer, respectively [11, 26]. The proportion of positively charged nitrogen atoms is found to be about 44% in terms of [N+]/[N]. For 450-PPy/TiO2, the peak at 397.4 eV attributed to the imine (=N–) structure appears in the spectrum instead of that at 402.1 eV (=N+–). And its proportion of positively charged nitrogen atoms is about 29%. This suggests that 50-PPy/TiO2 contains more positively charged nitrogen atoms, for the strong acidity of TiO2 without calcination results in more nitrogen atoms of PPy to be protonated during the polymerization. Furthermore, it is obvious that 50-PPy/TiO2 contains more oxygen atoms for the intensity ratio of N1 s and O1 s for 50-PPy/TiO2 is larger than that of 450-PPy/TiO2 (as shown in Fig. 6) which indicates the TiO2 particles with many carboxyl groups can be dopants are inserted into the PPy chains [18, 25].

Fig. 5
figure 5

XPS N1s core level spectra of the 50-PPy/TiO2 (a) and 450-PPy/TiO2 (b) composites

Fig. 6
figure 6

XPS N1s and O1s core level spectra of the 50-PPy/TiO2 and 450-PPy/TiO2 composites

3.6 SBET analyses

Besides, the specific surface areas of 50-TiO2, 450-TiO2, 50-PPy/TiO2 and 450-PPy/TiO2 are shown in Table 2. It is clear that the SBET of 450-TiO2 is larger than that of 50-TiO2, it may be because high temperature calcination causes the organic matter on the surface of TiO2 to decompose to produce more pore structure. In addition, the specific surface areas of PPy/TiO2 and TiO2 are similar, indicating that the introduction of polypyrrole does not cause significant changes in specific surface area. Similarly, the SBET of 450-PPy/TiO2 is larger than that of 50-PPy/TiO2.

Table 2 Textural property of 50-TiO2, 450-TiO2, 50-PPy/TiO2 and 450-PPy/TiO2

3.7 Adsorption performance

3.7.1 Effect of the calcination temperature

The prepared TiO2 and PPy/TiO2 are employed to adsorb ARG and MB (800 mg/L), and the results are shown in Fig. 7. The adsorption capacity of TiO2 for ARG is much weaker than that for MB. This is because the carboxyl groups on the surface of TiO2 generate electrostatic repulsion with ARG, but show electrostatic attraction with MB. In addition, the adsorption capacity declines dramatically as the calcination temperature increases. This is mainly attributed to the reduction of the adsorption sites, resulting from the decrease or even almost disappearance of carboxyl and hydroxyl groups on the surface of TiO2 with the increase of calcination temperature.

Fig. 7
figure 7

Effects of calcination temperature on the adsorption capacities of TiO2 and PPy/TiO2 for ARG (square) and MB (roundness)

However, PPy/TiO2 exhibits an enhanced adsorption capacity for ARG and MB at the same condition. This is potentially because the neutralization of the carboxyl groups on the TiO2 surface and –NH+– on the PPy chain eliminates the repulsive force between the carboxyl groups and ARG. The oxygen atoms of PPy/TiO2 can also be as the adsorption sites. The adsorption capacities of PPy/TiO2 decrease with the increase of the calcination temperature. There are two potential reasons to elucidate the decrease of the adsorption capacity of PPy/TiO2. One is the loss of adsorption active sites. The other is the weakened interaction between PPy and TiO2 limits the delocalization of excess electrons from TiO2 in the PPy chain, which decreases the dispersion effect between the outer layer PPy and the dye molecules, and ultimately reduces the adsorption capacity.

In addition, the adsorption capacities of 50-TiO2 and 50-PPy/TiO2 are higher than that of 450-TiO2 and 450-PPy/TiO2, although 450-TiO2 and 450-PPy/TiO2 have larger specific surface areas (as shown in Table 2). This suggests that the specific surface area is not the main factor. The same conclusion has been confirmed in our published article [9].

3.7.2 Adsorption capacity of pure PPy

Furthermore, we also investigate the adsorption performance of pure PPy to further investigate the role of PPy on the adsorption capacity of PPy/TiO2, as shown in Fig. 8. The concentrations of ARG and MB are both 300 mg/L. The adsorption capacity of pure PPy for MB is slightly higher than that for ARG. However, the adsorption capacity of pure PPy is not very well. It also finds that the adsorption capacity of PPy/TiO2 is higher than the summation of the adsorption capacity of PPy and TiO2. This may be because the formation of the covalent-like binding between PPy and TiO2, followed by the increased N+ groups (as shown in Fig. 5), and then the enhanced capacity [13, 14].

Fig. 8
figure 8

The adsorption capacity of pure PPy for ARG and MB (300 mg/L)

3.7.3 Effects of pH and ionic concentration on adsorption

The adsorption performance of 50-PPy/TiO2 is further investigated for its highest adsorption capacity. The influences of pH and ionic concentration of the dye solution on the adsorption capacity of 50-PPy/TiO2 are shown in Fig. 9. The adsorption capacity of 50-PPy/TiO2 for ARG decreases when pH is above 3, while that for MB rises with the increasing pH. The surface of 50-PPy/TiO2 can be positively charged when pH is lower than pHiep (2.73), and it can be negatively charged when pH is lower than pHiep (2.73) [13, 14]. Therefore, anionic dye ARG can be adsorbed by positively charged 50-PPy/TiO2 through the electrostatic attraction at a lower pH. Correspondingly, cationic dye MB can be adsorbed by negatively charged 50-PPy/TiO2 through the electrostatic attraction at a higher pH. Besides, 50-PPy/TiO2 still shows some adsorption capacity for ARG although the pH value is higher than 3, which means there maybe exists other adsorption forces except electrostatic effect, such as hydrogen bonding [8].

Fig. 9
figure 9

Effects of pH (a) and ionic concentration (b) on the adsorption capacities of 50-PPy/TiO2 for ARG and MB, respectively

Besides, the effect of ionic concentration is also investigated, as shown in Fig. 8b. The result shows that the ionic concentration has a weak negative impact on the adsorption capacity of 50-PPy/TiO2. Zhang et al. [25] indicated that the increase of ionic concentration reduced the electrostatic attraction between the adsorbates and adsorbents, and also reduced the electrostatic repulsion between the adsorbates. The former declined the adsorption capacity, and the latter improved it [15]. With the effects of these two aspects, the adsorption capacity of 50-PPy/TiO2 is almost unchanged at the different ionic concentration.

3.7.4 Adsorption kinetics

It is essential that an adsorbent shows a rapid adsorption rate for the adsorbates. Figure 10 represents the influences of contact time and initial concentration on the adsorbed ARG and MB on 50-PPy/TiO2, respectively. It is obvious that 50-PPy/TiO2 can complete its adsorption process in a short contact time of 20 min. Therefore, it is feasible to choose 60 min as the adsorption time in the following adsorption experiments. Furthermore, 50-PPy/TiO2 is still able to adsorb ARG and MB quickly even though the dye concentration is up to 800 mg/L, which suggests that 50-PPy/TiO2 exhibits an excellent adsorption performance.

Fig. 10
figure 10

Adsorption equilibrium curves of ARG and MB on PPy/TiO2

The fitting data of the adsorption kinetics of ARG and MB are listed in Table 3. The adsorption behavior of 50-PPy/TiO2 can be well described by the pseudo-second-order model because the values of the correlation coefficients R2 are close to 1. Furthermore, the calculated values of Qeq from the pseudo-second-order model approximately equal to the experimental values. This indicated that the adsorption of ARG and MB on 50-PPy/TiO2 is mainly attributed to chemisorption [13, 14].

Table 3 Kinetic parameters of ARG and MB adsorption on the 50-PPy/TiO2 composite

3.7.5 Adsorption isotherm

Figure 11 represents the results of the adsorption isotherm which is employed to describe the interaction between 50-PPy/TiO2 and dyes. The corresponding data are listed in Table 4. It is obvious that Langmuir isotherm model is more reasonable to describe the adsorption behavior of 50-PPy/TiO2 for ARG and MB, for its higher correlation coefficient R2. This means that the adsorption of ARG and MB onto 50-PPy/TiO2 is the monolayer adsorption. Besides, the maximum adsorption capacities of ARG and MB are 424.75 and 439.61 mg/g, respectively, suggesting that 50-PPy/TiO2 is an excellent adsorbent compared with activated carbon. The dimensionless separation factor, RL, which is an essential characteristic of the Langmuir model to define the favorability of an adsorption process, is expressed as

$$R_{L} = \frac{1}{{1 + K_{L} C_{m} }}$$
(7)

where Cm is the maximum initial concentration of ARG and MB (1200 mg/L). The calculated RL values are a 0.0035 and 0.0069 for the adsorption of ARG and MB, respectively, which are in the range of 0–1, indicating the adsorption process is favorable.

Fig. 11
figure 11

Langmuir and Freundlich adsorption isotherm models of ARG and MB onto 50-PPy/TiO2

Table 4 Parameters of Langmuir and Freundlich adsorption isotherm models

4 Conclusion

In this article, the PPy/TiO2 composites synthesized by polymerizing pyrrole monomer on the surface of TiO2 calcined at different temperatures were employed to adsorb ARG and MB. The results of FT-IR, XRD, TPD and Zeta potentials indicated that the functional groups (hydroxyl and carboxyl groups) of TiO2 decreased with the increase of calcination temperature. This led to the gradual decrease of the adsorption capacity of TiO2. The results of FT-IR, XRD, Zeta potentials and XPS further suggested that the chemical properties of TiO2 had a strong impact on that of PPy/TiO2. The force between the inner TiO2 and outer PPy of the PPy/TiO2 composites was weakened when the TiO2 particles were calcined at higher temperature. The adsorption capacity of PPy/TiO2 was the strongest when TiO2 was not calcined, and gradually decreased with the increase of the calcination temperature of TiO2. The result of the effect of pH suggested that ARG could be adsorbed by PPy/TiO2 under acidic condition, and MB could be adsorbed by PPy/TiO2 under alkaline condition. Besides, the ionic concentration had a negative effect on the adsorption performance of PPy/TiO2. The equilibrium adsorption of ARG and MB on PPy/TiO2 was achieved in a short time of 20 min. Its adsorption kinetics was well described by the pseudo-second-order model. The Langmuir isotherm model was found for PPy/TiO2 with the maximum adsorption amount of 424.75 and 439.61 mg/g for ARG and MB, respectively. Finally, the surface chemical properties of TiO2 had a great influence on the adsorption performance of the synthesized PPy/TiO2. The PPy/TiO2 composite could possess excellent adsorption performance when the selected TiO2 contained more hydroxyl and carboxyl groups.