1 Introduction

Bismuth oxyiodides (BiOI) is being used as a photocatalyst for the photocatalytic reaction since its first discovery [1,2,3,4,5,6,7,8,9]. Besides, BiOI is a p-type material, and the decent band-gap, environment-friendly properties make this broader adaption into different applications [10]. Moreover, because of the higher stability, high tolerance in defect, and inexpensive nature of the BiOI, the researcher was attracted to consider and develop it as a photoanode for the photo-electrochemical devices [11,12,13,14,15,16,17]. Addressing the necessity of a stable BiOI material research world is trying various synthesis techniques for the production of BiOI with the help of various solvents [5, 11, 16, 18,19,20]. The solvothermal and hydrothermal methods are commonly known to synthesize the BiOI powder for photocatalytic applications [9, 18, 19]. Besides that, the doctor blade and chemical-based deposition techniques have been widely used to deposit BiOI films for photovoltaic studies [13, 14, 16, 21]. All the previous research shows that the synthesis technique impacts the morphology and structure of the BiOI material, which eventually affects the device performance. Therefore, in our experiment the BiOI thin film's deposition has been conducted via dip-successive ionic layer adsorption and reaction (SILAR) technique. Furthermore, morphology, crystallite size, and optical properties can be substantially affected if the film development process changes, such as the change of concentration of the raw material [21,22,23,24], selection of surfactant, and solvent selection [25, 26]. After the deposition process, post-treatment, such annealing temperature can also significantly affect the material properties [21]. In progress, some studies show that the annealing treatment helps to get the derivatives of the BiOI materials, which causes some remarkable improvement in the photocatalytic performance [27]. As a result, the derivatives of BiOI are the most attractive and favorably reported materials in photocatalytic applications.

Another comparative study confirmed that for photocatalyst activity, Bi4O5I2 is better than BiOI. This is because smaller size and broader valance band reduce the electron-hole pair recombination rate [21, 28, 29]. Furthermore, BiOI and one of its derivatives, i.e., Bi7O9I3, showed the same properties reported for photocatalytic purposes, mostly under visible light irradiation [27, 30]. On the other hand, from Bi5O7I, the photocatalytic activity was found two times better than that of BiOI because the pore size and band structure were played a vital role [31]. However, so far, there is no reported research article to check the post-annealing treatment on the dip-SILAR prepared BiOI/FTO thin film’s morphology, structure, optical and photovoltaic properties. Therefore, this study aims to prepare dip-SILAR BiOI thin films on glass substrate with an improved photovoltaic performance at different annealing temperatures. The purpose of this paper is to investigate the phase transformation effect on the structure, morphology, optical, and photovoltaic properties of BiOI thin films grown by dip-SILAR method.

2 Materials and methodology

2.1 Materials

In our experiment, 2 cm × 2 cm fluorine-doped tin oxide (FTO) glass was used as a substrate. For cleaning the FTO glass substrate, we used acetone, ethanol, and N2 gas, respectively. Moreover, during the experimental process, Bi (NO3)3.5H2O and KI (Purchased from Nacalai Tesque, Inc. Kyoto, Japan) was used as a cation and anion source, respectively. All solvents were used without further purification. Ultrapure water was collected from Milli-Q direct water purification system (resistivity: 18.2 MΩ-cm and temperature: 25 °C).

2.2 Experimental methodology

BiOI thin films were deposited on the top of cleaned FTO (2 cm × 2 cm) substrate via the dip-SILAR process. For the deposition purpose, 6 mM concentrated Bi (NO3)3.5H2O (pH value: 2.1) and KI solution (pH value: 4.8) were prepared, respectively. After that, the FTO initially dipped into the Bi (NO3)3.5H2O, followed by dipping into the KI solution. Hereafter, once cleaned with deionized water to complete one SILAR cycle. The substrate was dipped into each solution for 20 s, and the dip-SILAR process continued for up to 30 cycles. Finally, the films' in the presence of air were annealed within the temperature range of 100–400 °C for 1 h. The flow of the experiment is shown in Fig. 1.

Fig. 1
figure 1

Illustration of the preparation of BiOI and its derivative composites on FTO

2.3 Characterizations

The structural characterizations were performed using the XRD instrument (Rigaku Smartlab, XRD). The Raman shift of the thin films was detected by the Raman spectroscopy (JASCO NRS-1500W) under room temperature condition with excitation wavelength of 532 nm. The prepared samples' morphology was heeded by using a scanning electron microscopy (SEM, JSM-6510). The energy dispersive X-ray spectrometer (EDS) was performed using field emission scanning electron microscope (JEOL: JSM-7001FF) to evaluate the composition of the films. The transmittance T (λ) and reflectance R (λ) were recorded to analyze the optical properties at normal incidence in the wavelength range of 300–1500 nm using the UV- Visible NIR spectroscopy (JASCO 670 UV).

2.4 Fabrication of electrochemical cell and photovoltaic application

After the dip-SILAR process and different annealing temperature treatments, samples were prepared to employ in the photovoltaic cell in our study. Finally, to prepare the complete solar cell, we used a counter electrode (Pt-coated glass), which was attached to a polymer film (Himilan, 50 μm). Again, in between the BiOI film and counter electrode, \({I}^{-}{/I}_{3}^{-}\) redox (Solaronix Iodolyte AN-50) was used as an electrolyte. So, our complete cell structure was composed of FTO/BiOI/Iodine electrolyte/Pt-FTO/glass (Fig. 2). To record photo-current–voltage (I–V), a solar simulator (100 mW/cm2, AM 1.5 illumination) was used, where the light illumination active area dimension was 0.16 cm2.

Fig. 2
figure 2

Illustration of BiOI/FTO glass substrate photovoltaic device structure

3 Results and discussion

3.1 Structural properties

3.1.1 X-ray diffraction analysis

BiOI material was deposited at different annealing temperatures on top of the FTO glass substrate, and the change of X-ray diffraction patterns was observed (Fig. 3a). The sample prepared at without annealing condition (i.e., at 25 °C), the XRD pattern shows the (002), (102), (110), and (200) planes at 19.3°, 29.7°, 31.7°, and 45.5°, which is matched with the Joint Committee on Powder Diffraction Standards (JCPDS) card of BiOI No. 00-73-2062. Whenever the BiOI/FTO glass substrate film was annealed at 100 °C, the peaks' sharpness is increased at 19.3°, 29.7°, 31.7°, and 45.5°, which is the indication of the bigger crystallite size. The present authors have reported that 100 °C is the optimal temperature for obtaining better uniform film, and under this temperature, BiOI reaches its good physical structure [32]. Again, further increase of annealing temperature means at 200 °C, the full width at half maximum (FWHM) becomes broader. The peak increased at 19.3° disappeared, and other three peaks are the same as the 100 °C, but the changes happen in the intensity and reduction of peak sharpness. In the XRD pattern, the reduction of the peak sharpness indicates the smaller crystallite size. Moreover, the increasing annealing temperature causes desorption of iodine resulting in the increase of defect density, which will be discussed later, but until 200 °C BiOI belongs to its own characteristics [33, 34]. As a consequence of that, change has been observed in the XRD pattern. If we compare the 100 °C and 200 °C annealing temperature, the plane (102) at 300 °C annealing temperature shifted towards the smaller 2θ. The reason is that more bismuth and oxygen are contained in the BiOI lattice crystal [21]. Here, the peak at 31.59° has a d-spacing 0.283 nm, that is identical with the JCPDS card no 00-04-0548 and 38-0669. Again, some research articles reported that 0.286 nm is the d-spacing for Bi7O9I3 [21]. So, we can say that the peak we got at 300 °C annealing temperature is for the Bi7O9I3 phase. Moreover, some literatures are calming identical planes for Bi7O9I3 phase as BiOI [35].

Fig. 3
figure 3

a XRD pattern of BiOI/FTO thin films and b Digital photographs of the prepared samples at various annealing temperature   

Again, according to the JCPDS card No. 00-40-0548, Bi5O7I crystal planes (001), (312), (004), (204), (020), and (316) were found at around 7.7°, 28.2°, 31.09°, 33.02°, 33.4°, and 53.6°. Moreover, JCPDS card No. 380669 also confirms that it found the Bi5O7I crystal planes at 28.08°, 31.08°, 33.02°, 56.08°, 56.67°. In our study, at 400 °C annealing temperature, we found the peaks at the same line. The more structural details of Bi5O7I can be found in some previous studies [36]. The phase transformation reactions at 300 °C and 400 °C are expressed as follows, respectively.

$$7{\text{BiOI}} + {\text{O}}_{2} \to {\text{Bi}}_{7} {\text{O}}_{9} {\text{I}}_{3} + 2{\text{I}}_{2}$$
$$5{\text{Bi}}_{7} {\text{O}}_{9} {\text{I}}_{3} + 2{\text{O}}_{2} \to 7{\text{Bi}}_{{5}} {\text{O}}_{7} {\text{I}} + 4{\text{I}}_{2}$$

In the texture of materials, the preferred orientation is the most favorable direction, which arises because the material has a strong tendency to crystallize in a specific direction. The preferred orientation can be determined by the highest value of the texture coefficient (TC) [37, 38]. Moreover, if the value of TC equals 1, that indicates the crystallites will be randomly oriented. However, if TC > 1, then the crystallites will be oriented in a particular (hkl) direction. Meanwhile, the higher the value of TC, the greater the number of crystallites which are periodically oriented. In our study for 100 °C, the annealing film TC value has been calculated (see Table 1) according to the literature [37, 38]. Among, all the diffraction plan, the largest intensity (TC = 1.55) has been observed for (102). So, diffraction plane (102) is the most favorable.

Table 1 Texture coefficient values (TC) of major lines: BiOI (100 °C)

Again, let's look at Fig. 3b; it is quite clear that as the annealing temperature increases, the color of the film also changes, which is also the indication of the phase transformation. Here, at 100 °C and 200 °C annealing temperature, the film's color doesn't vary that much, but when the annealing temperature goes to 300 °C the film color becomes yellowish. Meanwhile, at 400 °C, the BiOI/FTO film's annealing temperature color converts light yellowish. With the increasing of annealing temperature, the average crystallite size changes have also been observed. It is essential to check with the increasing annealing temperature how the crystallinity and the defects of the BiOI films change. The average crystallite size D, dislocation density δ, the number of crystallites, NC, and the microstrain εs are microstructural parameters that give us a clear idea about the microstructure of BiOI films. By using the same Scherrer's formula and reported equation [36, 39,40,41], we have calculated the structural parameters. All calculated values of D, δ, εs, and NC under different annealing temperatures are included in Table 2. The crystallite size increases with the annealing at 100 °C, then decreasing from 17.62 to 12.99 nm as the annealing temperature changes from 100 to 400 °C. However, dislocation density decreases at 100 °C and increases from 0.32 × 1016 to 0.59 × 1016 m−2, which means the length of the dislocation lines per unit increases with the increasing annealing temperature volume is increased.

Table 2 The Structural parameters for the BiOI/FTO thin films at  varied annealing temperature

On the other hand, the microstrain and the number of crystallite values were increased. Moreover, with the increase of annealing temperature, more point defects were increased in the films, and the crystallite size reduction caused an increase in the grain boundaries. The BiOI/FTO films' images under different annealing temperatures were attached beside XRD patterns in Fig. 3b. At the 100 °C temperature, the color of the film is deep orange, and as the temperature started to increase, the color of the BiOI film started to become yellowish, and at 400 °C it became light yellowish. The variation in color change occurs due to the phase transformation of the BiOI.

3.1.2 Raman spectroscopy analysis

We did the Raman spectroscopy analysis to examine other structural studies of the dip-SILAR-prepared BiOI/FTO glass substrate films (Fig. 4). Here, for without annealing prepared BiOI/FTO film, we got a small peak in Raman spectra at 149.6 cm−1, which is matching with the reported study of BiOI [15, 21, 42, 43]. Again, after depositing BiOI, when the film is annealed at 100 °C for 1 h, we got the high-intensity peak in Raman spectra at 149.6 cm−1 position. At 200 °C annealing temperature condition, the prepared sample is also showing the peak at the same position as like as 100 °C and without annealing condition, but the peak intensity is higher than the without annealing and lower than the 100 °C temperature.

Fig. 4
figure 4

Raman spectra of the for the BiOI/ FTO thin films at different annealing temperature

When the annealing temperature increased to 300 °C, in Raman spectra, there is a broader peak at the 149.6 cm−1 positions. That is maybe because of the phase transformation of the BiOI materials. Again, at 400 °C seems like there is a broader peak in the region of the 120–200 cm−1. Because of phase transformation (Bi5O7I) and at the higher temperature, the vibration mode of the Bi-I shifted towards the higher frequency. Another reason as our sample changes to FTO color that is why we maybe we didn’t get any peak at 400 °C. Moreover, some Raman study of Bi5O7I material confirmed that they got a peak at the range of 200–360 cm−1 and 520–600 cm−1 [21].

3.1.3 Study of morphology

Figure 5 shows how the change of annealing temperature affects the BiOI/FTO thin films' morphology growth. In Fig. 5a, the morphology at without annealing condition is showing that a decent amount of small size flakes is generated. At 100 °C annealing temperature in the morphological view (Fig. 5b), a decent number of flakes are generated. Some more bright flakes are visible (Fig. 5b) because of the increase of the flake's diameter. Again, all the flakes are connected to each other. When the annealing temperature increased from 100 to 200 °C, that time number of flakes and the connection between the flakes were also started to decrease (Fig. 5c). Furthermore, if we see Fig. 5d, at 300 °C annealing temperature, the flakes number and diameter were decreased compared to the 200 °C annealing temperature. Moreover, Fig. 5d shows that the connection between the flakes furthermore decreases. Finally, at 400 °C annealing temperature, very few percentages of the flakes are there. Meanwhile, a part of the FTO is visible (Fig. 5e), and there is no connection between the flakes, which is also partially agreeing with some previous study though that is not flakey growth. But in that study at the higher temperature, distortion of BiOI materials and the FTO visibility have been observed [44, 45].

Fig. 5
figure 5

SEM image for BiOI/FTO films: Annealing Temperature: a without annealing b 100 °C c 200 °C d 300 °C e 400 oC

3.2 EDS and thickness effect analysis

The annealing treatment causes a change in the film quality and structure of material. In our study to confirm the film quality and change in atomic concentration the energy dispersive X-ray spectrometer (EDS) has been performed and represented in Fig. 6. Figure 6 shows the EDS spectrum for 100 °C annealed film the atomic concentration of the Bi/I/O are 24%, 24%, 52% respectively. But as the annealing increased up to 200 °C, then atomic concentration of I is almost same. This is matching with the XRD result that film is BiOI up to 200 °C, then changes to Bi7O9I3 (300 °C) and then Bi5O7I (400 °C). However, the atomic concentration of I decreased to 20%. Here, for the BiOI material (at 100 °C) the Bi/I ratio is ~ 1 but for Bi7O9I3 material (at 300 °C) the ratio increased ~ 1.4. Whenever, BiOI transformed into the Bi5O7I at 400 °C annealing temperature the ratio of Bi/I became 13.3. The increase of the Bi/I ratio and atomic concentration of O (%) actually introducing the defects in the film [32]. So, according to our study we can say that 100 °C annealing film is the most uniform film therefore there is a possibility to get decent electrical properties under this condition. Moreover, from the SEM picture the porosity percentage (Via ImageJ software) has been checked that is also showing lowest porosity percentage for the BiOI film which is annealed at 100 °C (see Fig. 7)

Fig. 6
figure 6

Typical EDS spectrum of 100 °C annealed BiOI and atomic composition at different annealing temperature

Fig. 7
figure 7

Percentage porosity of BiOI/FTO thin film at different annealing temperature

On the other hand, the percentage weight loss effects the thickness of the film. In our study till 100 °C the thickness increased and then started to decrease which is also showing an agreement with EDS analysis. Annealing temperature changes the physical properties of the material and our study also confirmed that till 100 °C the crystallite size increases. This increase of the crystallite size produces a better flakes connection, uniformity and film thickness. After 100 °C the BiOI material started losing weight which reduces the crystallite size, uniformity and thickness. Our prepared BiOI/FTO films' measured thicknesses are without annealing: 482 nm, 100 °C: 507 nm, 200 °C: 493 nm, 300 °C: 235 nm, and 400 °C: 157 nm, respectively. Moreover, thickness is the utmost important parameter to tune optical and electrical properties. In our previous of optical characterization of the BiOI/FTO thin under different thickness also confirmed that around 500 nm is the optimal thickness for reaching decent optical properties [32].

3.3 Optical properties of BiOI

In solar cell performance the optical properties is very essential element because with the help of optical properties we can evaluate the potentially of the photovoltaic device [46, 47]. Herein, for our SILAR prepared BiOI/FTO thin films transmittance T (λ) and reflectance R (λ) has been recorded (wavelength range: 300–1500 nm) and represented in Fig. 8. In Fig. 8 if we see transmittance (T (λ)) spectra at the region of 300–600 nm the increasing edge shifting towards the shorter wavelength region. At 400 °C temperature annealed film shows the maximum transmittance throughout the 300–1500 nm wavelength region. This is just because of lower flakes connection and thickness reduction with annealing treatment. Moreover, in the reflectance spectrum in the range of 300–600 nm wavelength highest peak has been observed under 400 °C annealing condition. Hence, the higher transmittance and reflectance will cause the change in absorbance which also confirmed by absorbance measurement (see Fig. 9a).

Fig. 8
figure 8

Transmittance T (λ) and Reflectance R (λ) of BiOI/FTO: Annealing Temperature: a without annealing b 100 °C c 200 °C d 300 °C e 400 °C

Fig. 9
figure 9

Absorbance and Optical bandgap for different crystal phase (at different annealing temperature)

Again, due to the temperature effect, the grain size and phase were changed; hence the absorbance was also affected. The absorption coefficient depends on the T (λ) and R (λ) [48]. Besides, by using the Tauc’s relation showed in Eq. 1, the optical band-gap \({E}_{g}^{Opt}\) have also been calculated (Fig. 9b). The details of can be found in literatures [49,50,51,52].

$$\alpha {\text{hv}} = A\left( {{\text{hv}} - {\text{E}}_{{\text{g}}}^{{{\text{Opt}}}} } \right)^{{\text{r}}}$$
(1)

where, \(\alpha\) is a parameter that depends on the transition probability, where h is Planck constant, \(\upnu\) is the frequency, and \({E}_{g}^{Opt}\) is the optical band gap, and r is a number which describes the transition process (r = 1/2 in this work). The calculated values of the \({E}_{g}^{Opt}\) were 1.77 eV for without annealing condition, 1.72 eV for 100 °C, 1.82 eV for 200 °C, 1.95 eV for 300 °C and 2.96 eV for 400 °C, respectively (see Fig. 9b). The optical band gaps of the BiOI films are almost constant up to 200 °C, then were increased with the annealing temperature. Here, the annealing temperature causes the change in flakes size (see Fig. 5), thickness, crystal phase, and the crystallite size (Table 2), etc. All these change is effecting the optical band-gap of BiOI material. Especially, the optical band-gap is changed by the quantum effect of nanocrystals. The slight increase from 1.77 eV (100 °C) to 1.82 eV (200 °C) would be due to the effect of quantum confinement that cause the reduction of the crystal size. The increasing flakes and crystallite size are reducing band-gap. On the other hand disappearance of the flakes, decrease of flakes and crystallite size causes the reduction of the optical band-gap. The details has been discussed in our previous study [32, 33]. Figure 3 shows that the crystal phase up 200 °C is BiOI, that at 300 °C is Bi7O9I3, and that at 400 °C is Bi5O7I. Figure 3 shows that the crystal phase up to 200 °C is BiOI, that at 300 °C is Bi7O9I3, and that at 400 °C is Bi5O7I. The respective optical band-gap energies are around 1.77 eV, 1.95 eV, and 2.96 eV, matching with the literature [21, 53,54,55]. The previous study of the annealing effect for different preparation techniques was also showed that the band-gaps were changed from 1.76 to 2.11 eV when the temperature changed from 100 to 550 °C [21, 44, 45].

3.4 Photovoltaic properties and energy diagram

The photovoltaic characterization has been represented in Figs. 10 and 11. Where, Fig. 10 denotes the I–V relationship and in Fig. 11, short circuit current density (Jsc), open-circuit voltage (Voc), fill factor (FF), and power conversion efficiency (PCE) is plotted with respect to temperature for the prepared BiOI photovoltaic cells to make the optimal condition understandable. The study result shows that without annealing prepared cell reaches the Jsc = 0.42 mA/cm2, Voc = 0.38 V, and PCE = 0.05% value respectively. But when the prepared sample annealed at 100 °C for 1 h Jsc, Voc and PCE improved by 1.5 times, 1.1 times, and 2.2 times respectively. Hence, at 100 ° C annealing condition the value becomes Jsc = 0.61 mA/cm2, and Voc = 0.43 V, and PCE = 0.11%, (see Fig. 11). This improvement happens because with the increase of annealing temperature until 100 °C, the large crystallite size (see Table 2) and connection between the flakes increased (Fig. 5b), which may reduce the series resistance and improve effective surface area. Moreover, for electrochemical solar cells, a uniform flaky structure improves the effective surface area. That is why at 100 °C temperature conditions, maximum electrical properties have been observed. However, with the further increase of the annealing temperature, the electrical properties decrease and almost reaches zero at 400 °C annealing temperature conditions. In cause of BiOI thin film, the increasing annealing temperature beyond 100 °C, the percentage weight loss started to increase [33], which causes the decrease in the crystallite size and introduces higher dislocation density (see Table 2). The SEM picture shows that after 100 °C, the flakes connection between the bright flakes started to decrease, which produced roughness and increased series resistance. Therefore, from 200 °C temperature, electrical properties started to decrease (see Fig. 11).

Fig. 10
figure 10

Relationship between current-density and voltage between at different annealing temperature for dip-SILAR-prepared BiOI thin film based photovoltaic cell

Fig. 11
figure 11

Performance of the dip-SILAR-prepared BiOI thin films in photovoltaic device: a short-circuit current density (Jsc (mA/cm2) b open-circuit voltage (Voc (V)) c fill factor (FF) d power conversion efficiency (PCE (%)) at various annealing temperatures

On the other hand, the variation of photovoltaic properties can also be explained by the energy band diagram. As displayed in Fig. 1, prepared bismuth oxyhalides are BiOI up to 200 °C annealing temperature, then above 300 °C annealing BiOI changes to Bi7O9I3 (300 °C) and Bi5O7I (400 °C). It is well-known that BiOI is a p-type semiconductor, whereas the Fermi level goes towards the vacuum level for Bi7O9I3 and Bi5O7I [51,52,53]. The energy band diagram for BiOI, Bi7O9I3, and Bi5O7I are shown theoretically in Fig. 12a, b, and c, respectively. Therefore, after the cell preparation the energy band diagram with the contact of \({\mathrm{I}}^{-}/{\mathrm{I}}_{3}^{-}\) electrolyte can be illustrated as Fig. 12d, e, and f respectively. From the illustration, it is very clear that the increasing energy gap and shifting of Fermi level reduce the carrier flow. As a result, the rising annealing temperature causes a decrease in current density. The short-circuit current also decreases with the annealing temperature because the created electron-hole pairs are decreased due to the large band-gap energy. The disappearance of the flaky structure and decrease of coverage is also the reason for the degradation of photovoltaic properties at 300 °C and 400 °C. Hereafter, the open-circuit voltage has a proportional relationship with the diffusion potential; if we look at the diffusion potential (Vdp) in Fig. 12d, e and f, it is started to decrease as the BiOI transformed into Bi7O9I3, and Bi5O7I respectively. That is in good agreement that open-circuit voltage decreases with the annealing temperature.

Fig. 12
figure 12

Illustration of energy band diagram: without the contact of electrolyte a, b, c and with the contact of electrolyte d, e, f

A previous study doctor blade method prepared BiOI solar cell has shown the maximum Jsc, Voc, and efficiency 0.43 mA/cm2, 0.44 V, and 0.06% respectively at 300 °C annealing temperature condition [21]. However, in our investigation for dip-SILAR-prepared BiOI/FTO photovoltaic cells, electrical properties are getting worse after the phase transformation. The maximum Jsc, Voc, and efficiency are 0.61 mA/cm2, 0.43 V, and 0.11%, respectively at 100 °C annealing temperature. We believe that this study result will add some valuable information for the dip-SILAR-prepared BIOI/FTO glass substrate photovoltaic cell.

4 Conclusion

The effect of phase transformation on photovoltaic characteristics of bismuth oxyhalides films has been investigated. The experimental results show that for dip-SILAR-prepared BiOI photovoltaic solar cell after phase transformation from BiOI to Bi7O9I3 and Bi5O7I, the electrical properties are getting worse. This was due to that variation of annealing temperature changes the films' structural, morphological, and optical properties, resulting in the change of energy band diagram with electrolyte. BiOI film's crystallinity without annealing is poor but is increased via crystallization by annealing at 100 °C. But further increase of annealing temperature causes desorption of iodine, resulting in the poor crystallinity and photovoltaic performance. We observed phase transformation was started after 200 °C annealing temperature, and Bi7O9I3 is confirmed at 300 °C. Moreover, we got the Bi5O7I phase at 400 °C. Again, with the increase in annealing temperature, the band-gap increases from 1.77 to 2.96 eV, and the crystallite size decreases from 17.62 to 12.99 nm. At 100 °C, we found maximum Jsc, Voc, efficiency, which is 0.6 mA/cm2, 0.43 V, and 0.11% respectively, and at 400 °C, we observed the minimum Jsc, Voc, and efficiency, which is 0.01 mA/cm2, 0.04 V and 0.0001%, respectively. Finally, we can conclude that the optimal annealing temperature for dip-SILAR-prepared BiOI/FTO photovoltaic cells is 100 °C.