Introduction

Perovskite materials exhibit excellent photosensitive and electronic characteristics such as broad absorption coefficients, extended carrier diffusion lengths, and large charge carrier mobility. These properties make perovskite materials attractive for a choice of optoelectronic devices, such as photovoltaic cells, light-emitting diodes (LED), photodetectors (PDs), and metal–semiconductor-meal photodetectors (MSM-PDs). Interestingly, the efficiency in converting power, often referred to as PCE, of solar cells made from perovskite materials (commonly abbreviated as PSCs) around 25% has been reported so far which is the result of advanced materials development and device engineering processes. The advancement mainly in materials synthesis and evaluation makes the PSCs now more closely competitive than those of traditional inorganic semiconductors thin film solar cells like copper indium gallium selenide (CIGS) and cadmium telluride (CdTe). It is predicted that the PCE of PSCs could reach beyond 25% soon due to the enhanced and controlled growth of perovskite layers1,2,3,4,5. A certified quasi-steady-state PCE of 26.15% for 0.05 cm2 and 24.74% for 1.04 cm2 perovskite solar cells has been reported recently in Ref6. The device exhibited 95% of its initial PCE after 1200 h at 65 °C under continuous operation. Besides, for practical applications, the persistent environmental durability over an extended period of PSCs is a crucial matter to address, which is currently considered prime research in this field of study. Exposure to environmental factors such as humidity, oxygen, heat, and light can cause degradation in PSCs, compromising their performance. To be suitable for commercialization, PSCs must demonstrate stability for nearly 25 years under outdoor conditions without significant surface degradation. However, the strength for PSCs is found about a year (so far, the longest period ever reported in the literature), which is significantly shorter than the commercialized PV technologies for example silicon solar cells. In particular, the stability and short lifespan of PSCs represent a significant obstacle to their commercialization in photovoltaics7,8,9.

The chemical constancy of PSCs is highly affected by the presence of two components (H2O and O2) in ambient air. It is reported that the perovskite layer in PSCs undergoes a color change from dark brown to yellow due to the surface and structural degradation occurs during the ambient environmental exposure. According to reports available in the literature, two possible reversible chain reactions cause very quick degradation of PSCs10. The combination of MAPbI3 and H2O drives to the creation of CH3NH2 plus [(CH3NH3+)n − 1(CH3NH2)nPbI3][H2O] which faraway disgraces into the [(CH3NH3 +)Pb3]n − 1, HI, Led-Iodide and water. Furthermore, CH3NH2 and HI gas easily affect the non-encapsulated device and/or non-degraded part and influence the degradation of that part. It has been reported by Snaith et al. that soft hydrogen bonding is likely to be formed in crystal composition during the perovskite formation which creates the unbound MAI. These MAIs escape easily from the perovskite crystal matrix, which sooner or later influences the growth of PbI2 and leads to degradation11. On the other hand, when exposed to humid conditions, the hydrolysis reaction of methylamine lead iodide (MAPbI3) can occur, causing the material to dissociate into MAI and PbI2 in the manifestation of moisture (H2O). Subsequently, MAI can decompose into HI (aq.) and CH3NH2 (aq.) as well. Liquidous HI can then respond with the air to form I2 (s) and water due to the Oxygen. Alternatively, HI may dissociate into H2 (gas) and I2 (salt). The utilization of HI by perovskite materials can impact the decay process and accelerate the reduction in PSC efficiency10. However, though a substantial quantity of research work has been conducted to investigate the degradation mechanism of perovskite materials including several reviews, and to overcome the stability issue of PSCs for further achieving highly performing and stable PSCs as well, still further research work is necessary8,9,10,11,12,13,14,15,16,17,18,19,20.

Perovskite films have already been prepared by using various fabrication technologies e.g. spin-coating21,22, sequential deposition23,24, and co-evaporation4,21,25 techniques followed by controlled temperature annealing processes including rapid thermal annealing (RTA)26. Among these methods, temperature-controlled spin coating technology is considered the simplest method ever to fabricate PSCs cost-effectively and eco-friendly. However, the growth of continuous perovskite films by spin-coating techniques using methyl ammonium halide and lead iodide (PbI2) mixed precursor solution is very challenging and yet to be addressed for future industrialization27,28. In particular, the solvent used in the foundation liquid plays an essential function in the formation of the perovskite thin film. The solvent influences the crystal growth and the resulting morphology that affects the visual, photosensitive, and electronic controls of the perovskite thin film. Employing anti-solvent materials during the fabrication process has been proposed to improve the film’s properties and stability. Anti-solvent materials potentially slow the solubility process of the perovskite precursor compared to the most used solvents. The addition of anti-solvent materials to the precursor solution is found effective in the formation of a more compact and uniform perovskite crystal structure leading to the improved physical, optical, and electronic properties of the resulting thin films. Toluene is found to be very effective as an anti-solvent chemical for obtaining quick crystalline perovskite films, however, other antisolvents like ethyl acetate, diethyl ether, and chlorobenzene also have potential for trials. The choice of anti-solvent has a significant impact on perovskite film formation and can potentially improve the stability of perovskite films which in intern can improve the perovskite-based solar cells as well. Additionally, non-fully covered perovskite films can be improved by investigating anti-solvent materials, especially for single-step spin coating techniques29,30,31,32,33,34,35,36.

In this study, we focused on the stability of perovskite materials and solar cells that were fabricated and annealed in natural ambient conditions using four different anti-solvents Toluene, Ethyl-acetate, Diethyl ether, and Chlorobenzene. The antisolvent selection approach took into account several aspects that impact crystallization processes and film quality, including diethyl ether, toluene, ethyl acetate, and chlorobenzene. Toluene and Chlorobenzene were selected as they can ensure homogeneous crystal formation. However, the non-aromatic solvents diethyl ether and ethyl acetate were chosen because they were expected to improve the film surface (smoothness) and enable quick solvent extraction. This wide range of choices was made to explore the rich avenues for achieving superior film shape and overall performance, including a variety of crystallization processes and their implications on the final perovskite films37,38,39,40. The perovskite films (around 300 nm thick) were fabricated using a simple spin-coater and stored in an air ambient (laboratory environment). The changes in the film’s quality and characteristics have been testified and investigated the effects of anti-solvent materials on the structural and optical properties of perovskite thin films. The obtained results reflect the potential of anti-solvent materials to improve the quality and stability of perovskite thin films, which can pave the way for the development of efficient and reliable perovskite-based optoelectronic devices.

Materials and methods

The chemical formula of perovskite materials is defined as ABX3, where A is a cation, B is a divalent metal cation, and X is an anion. The perovskite crystal structure is exemplified by a three-dimensional (3D) framework of corner-sharing BX6 octahedra, with A cations occupying the voids between the octahedral sites. The perovskite crystal structure can hold a wide range of cations and anions for the formation of various perovskite materials, including synthetic perovskite materials41,42,43.

Solution processing involves the deposition of a perovskite precursor solution onto a substrate followed by annealing to form a perovskite thin film. However, the quality and stability of perovskite thin films are highly dependent on the fabrication conditions and the properties of the materials used. The perovskite precursor solution typically contains a metal halide, such as lead iodide (PbI2), and an organic halide, such as methylammonium iodide. Commercially available FTO-coated glass substrates (10 sq) were cleaned by using an ultra-sonic bath and glass cleaning solvents commercially available in the markets. Then the cleaned glass substrates were subjected to be dried with pure nitrogen (N2) gas blown on a hot plate. A perovskite precursor solution (CH3NH3PbI3) was prepared by dissolving 461 mg PbI2 (purity of 99%, purchased from Sigma Aldrich) and 159 mg Methylammonium iodide (Dyesol) in 0.5 ml Dimethylformamide (DMF) and 0.2 ml dimethyl sulfoxide (DMSO). The solution was prepared in a glove box filled with N2 and maintained there for more than 8.0 h with the amounts of water and oxygen remaining below 1.0 ppm, and 200 ppm respectively. The solution was spin-coated twice, for 10 s at 1000 RPM and 20 s at 3000 RPM, onto a glass substrate that had been FTO-coated to create the perovskite layer. After 5 s, 100 µl of the required anti-solvent was tipped over the rotating glass substrate in the second step of the spin-coating process. The spin coating procedure was carried out in a laboratory setting with open air. The samples were moved to a hotplate that was situated in the same atmospheric condition as the solution preparation after the spin coating procedure was completed. The samples were exposed (heated) on the hot plate for 10 min at 100 °C (as presented in the schematic picture, Figure S1). Then the films were put in an environmental chamber of 50% RH, 2 to 5 lumens of light, and 30 °C ambient temperatures for continuous observation of degradation.

The PSC fabrication was followed by 100 nm of zinc-tin-oxide (ZTO) film preparation prior to perovskite films being spin-coated on top of ZTO films. The hole-extracting layer has been employed by a partial modification of the candle soot method. In this study, the calcinated carbon electrode via candle soot is used because it is potentially a hole-extracting electrode material that is inexpensive, stable, environmentally friendly, and abundant. A metal mask was placed on top of the FTO-coated glass substrate, and the candle soot films were deposited and then clamped with the FTO/ZTO/Perovskite stack after removing the mask. The fabrication process including cell structure is schematically shown in Fig. 1.

Figure 1
figure 1

(a) Schematically shows the cell fabrication technique, (b) the structure of the solar cells, (c) a band diagram of the solar cell, and (d) an image of the fabricated sample.

The structural characteristics of the perovskite films were examined and investigated using X-ray diffraction (XRD) spectroscopy. Using a BRUKER aXS-D8 Advance Cu-Kα diffractometer and a Cu-Kα radiation wavelength of 1.5408 Å, the XRD traces were obtained in the 2-Theta range (20° to 70°). The results of the investigation into changes in microstrain, dislocation density, and structural disintegration are shown in the result section. Using Perkin Elmer Instruments Lambda35, UV–vis spectrometry is used to evaluate the optical characteristics. The Hall measurement equipment “ECOPIA 3000” was used to measure the carrier density, mobility, and resistivity. PL was measured at room temperature using a continuous wave laser of wavelength 452 nm utilizing the Edinburgh Instruments FLSP920 spectrofluorometer. Using Ag paste purchased from TED PELLA, INC, in the four corners of the films to measure electrical properties was determined.

Results

To explore the effects of anti-solvent materials on the structural and optical properties of ambient-fabricated perovskite thin films we conducted a series of experiments in preparation and characterization of perovskite films. The results obtained from these analyses revealed significant variations in the structural and optical properties of the perovskite thin films depending on the type of anti-solvent material used during the fabrication process. Figure 2 showcases the time evolution of the XRD of perovskite layers prepared on FTO coated glass substrate. The perovskite films prepared in room ambient remained in a humidity ambient of 45%RH for 30 days. The diffraction peaks are found at around 12.7, 14.2, 24.6, 28.5, 31.8, 38.7, 40.5, and 44.0, which correspond to a crystal plane of (001) (for PbI2), (110), (202), (220), (310), (224), (134) and (404), respectively20,21. One day of exposure revealed the peak with the (312) plane distinct to (114) and (310) (Fig. 2a,b). After three days of exposure, two further peaks with the (311) and (314) planes became evident, both suggesting the potential disintegration of the perovskite films.

Figure 2
figure 2

XRD patterns of the perovskite films observed for different time durations (* sign indicates the position of the plan (110) of the perovskite films).

However, after seven days, it was seen that the peak elevation laterally of the perovskite plane (110) was gradually decreasing. This data demonstrates that the crystallographic perovskite structure is being consumed by the moisture-induced breakdown. The PbI2 peak (001) is a rising substitute for the perovskite (110) peak, as the PbI2 conversion resulted from the perovskite crystal breakdown (Fig. 2). Additionally, a gradual movement towards a lower angle in the peak position of the (110) plane is observed, indicating a rise in micro-strain and dislocation density. The mean crystallite sizes of the perovskite films may be impacted by the peak height’s decreasing over time. The breakdown of the films is further confirmed by the increase in the PbI2 peak, where PbI2 may form some point defects in the perovskite lattice that affect the atoms’ dislocation. To determine the crystallite size (D) of the fresh and 7-day-old perovskite films that were helped by anti-solvents, Eq. (1) was utilized in which λ is the wavelength (0.154 nm) used in XRD, k is the shape coefficient (0.9), β is the full-width half maxima, and θ is the diffraction angle (degree)44.

$${\text{D }} = {\text{ k}}\lambda /\beta {\text{cos}}\theta$$
(1)

The introduction of several numbers of atoms and/or grains with varying relative positions and orientations during the recrystallization (drying process) of perovskite films can result in lattice misfit and strain. This is particularly evident in thin films where atoms are displaced from their reference-lattice positions, leading to the development of lattice strains. The resulting lattice misfit and strains caused by atomic displacement are characterized by micro-strain and can be estimated using a specific formula44 as shown in Eq. (2).

$${\text{Microstrain}}; \, \varepsilon \, = \, \beta /{\text{4tan}}\theta$$
(2)

Further, crystallographic imperfection developed by the atomic dislocation could be recognized by calculating the approximate dislocation density in the film. Dislocations are typically caused by interstitial atoms or vacancies that differ from the surrounding atoms within the film’s crystals. As such, the dislocation density in a film can serve as an indicator of its crystallographic imperfection, which is associated with lattice mismatching. To calculate the dislocation density, Williamson and Smallman’s relation has been used in this study44. This relation provides a means of estimating the density of dislocations in the film based on specific parameters, allowing for a quantitative assessment of the crystallographic imperfection caused by atomic dislocation.

$$\delta \, = { 1}/{\text{D}}^{{2}}$$
(3)

where D is the crystallite size.

Table 1 presents an overview of the crystalline size changes associated with the dissolution of perovskite thin films made using various antisolvents.

Table 1 Best obtained films’ properties prepared with different anti-solvent materials.

Figure 2a shows the variation of PbI2 conversion and bandgap properties. PbI2 conversion has been estimated using the following equation:

$${\text{PbI}}_{{2}} {\text{conversion}}\left( \% \right) = \left[ {{\text{I}}_{{({\text{PbI2}})}} /\left( {{\text{I}}_{{({\text{Perovskite}})}} + {\text{ I}}_{{({\text{PbI2}})}} } \right)} \right] \times {1}00$$
(4)

where “I” represents the intensity of the characteristic peak in the X-ray diffraction (XRD) pattern for the respective materials. For example, I(PbI2) refers to the intensity of the peak corresponding to PbI2, while I(Perovskite) refers to the intensity of the peak corresponding to the perovskite material.

Figure 3a shows that the micro-tension and dislocation degrees increase proportionately through the amount of decayed PbI2. This could be because more crystal defects and precipitates remain on the films. The impact of point defects on the film structure, including lattice misfit and dislocation, is widely recognized. For the understanding of the potential defects that may arise during the decomposition process and their effects on the perovskite crystal structure, readers are encouraged to review the relevant published works as well45.

Figure 3
figure 3

(a) The degradation of perovskite films in terms of PbI2 conversion for different anti-solvent, (b) the variation of the optical bandgap as an impact of PbI2 conversion, and (c) shows the photograph of the perovskite films for fresh and 15 d of exposer.

The optical bandgap related to PbI2 conversion during the degradation of perovskite films is shown in Fig. 3b for a range of anti-solvents. The as-deposited films’ bandgaps for diethyl ether, ethyl acetate, toluene, and chlorobenzene are 1.57 eV, 1.57 eV, 1.55 eV, and 1.58 eV, respectively. However, there’s been an observed rise in bandgap following a 7-day exposure period. The film fabricated using toluene and Diethyl ether shows the highest bandgap increase which is consistent with the estimation of PbI2 conversion. Overall, the results reveal a clear relationship between anti-solvent selection and the degree of degradation observed in perovskite films. In general, films fabricated using Diethyl ether exhibit the highest degree of degradation, with approximately 75% of the initial films converted to PbI2 after 7 days of exposure in the ambient atmosphere. In contrast, films fabricated using Ethyl acetate exhibit the lowest degree of degradation, compared to other samples over the same period. These differences in degradation rates are reflected in the deviation of the spectral bandgap, as well as photographs of the films as shown in Fig. 3c. Overall, these results highlight the need for careful material selection and optimization in the fabrication process by indicating that the choice of anti-solvent compounds can significantly affect the stability and performance of perovskite thin films.

As it can be seen from XRD and UV–Vis spectroscopic analysis that the film fabricated using the Ethyl acetate shows better stability against the room’s environmental humidity and light, we tried to understand the PL characteristics of that film. Figure 4 shows the photoluminescence spectra for perovskite thin films fabricated using Ethyl acetate, both in their as-prepared state and after 7 days of exposure to ambient atmosphere.

Figure 4
figure 4

Photoluminescence absorption spectra for perovskite film fabricated using Ethyl acetate (as prepared samples and the same samples after 7 days of exposure).

The results reveal a notable shift in the absorption peak position and a reduction in the photoluminescence intensity after exposure to the ambient atmosphere. Specifically, the as-prepared samples exhibit a sharp absorption peak at approximately 793 nm, whereas the samples exposed to the ambient atmosphere for 7 days exhibit a broader peak centered at approximately 771 nm attributed to the bulk recombination. Additionally, the photoluminescence intensity is significantly reduced in the exposed samples, indicating a loss of charge carriers and a decline in overall performance. The reduction in photoluminescence (PL) intensity can be attributed primarily to a decline in radiative recombination or an escalation in non-radiative recombination through the formation of defect centers, typically occurring in perovskite during the decomposition process, as detailed in Ref46. Furthermore, PL intensity reduction in perovskite materials (mostly with methylammonium lead halide perovskites) occurs due to their transformation of PbI2 which leads to changes in the crystal structure, band structure, and recombination dynamics of the material. Therefore, the efficiency of electron–hole recombination is affected, resulting in a reduced PL intensity as observed in studies of perovskite material degradation, emphasizing the importance of stability considerations in perovskite-based optoelectronic devices47,48. Photon-excitation phenomena and discharge from entangled recombined charged carriers in the superficial and/or band boundary level are likely to be the primary causes of PL broadening49. Peak shifting may also be associated with physical phase transitions and/or film decay. These observations suggest that exposure to the ambient atmosphere can significantly impact the optical properties and performance of Ethyl acetate-fabricated perovskite thin films, emphasizing the importance of careful environmental management during their fabrication and storage. Moreover, we also observed that there is a second PL peak at around 820 nm for both films which is attributed to surface recombination. A similar phenomenon has also been reported elsewhere50,51. The change in intensity as estimated by IA/IB has been observed to decrease for the exposed film indicating the increase of surface recombination and/or surface recombination becomes dominant in the exposed film. Alternatively, we can assume that the decomposition of perovskite films increases surface defects and/or recombination.

Table 2 provides a summary of the electrical properties of perovskite thin films fabricated using various anti-solvents, both in their as-prepared state and after 7 days of exposure to ambient atmosphere. The results reveal significant differences in the carrier concentration, mobility, and resistivity of the different films, highlighting the impact of anti-solvent selection on the electrical performance of the resulting films. Specifically, films fabricated using Ethyl acetate exhibit the highest carrier concentration, and films fabricated using Chlorobenzene show the highest mobility and comparatively lowest resistivity compared to the film prepared by Toluene. After 7 days of exposure to the ambient atmosphere, there is a general decrease in carrier concentration and mobility (summarized in Table 2) for all films, accompanied by an increase in resistivity. However, after 30 days, a drastic change in electrical properties was observed where the resistivity of the films was increased to the mega-ohm range, and films were converted to n-type. These changes indicate a complete transformation of perovskite to lead iodide which indeed reveals the complete degradation of perovskite materials and films. Furthermore, it was discovered that the sample prepared using ethyl acetate had a degradation rate that was significantly lower than that of the other samples, which may have been caused by ionic migration that occurred during sample preparation45. This was indicated by the variation of the normalized current density, voltage in the open circuit (Voc), current through the short-circuit (Jsc), as well as the efficiency throughout exposure (as shown in Fig. 5).

Table 2 Summary of electrical properties of the perovskite films prepared by using different ant-solvents (as prepared samples and the same samples after 7 days of exposure).
Figure 5
figure 5

Time-dependent electrical properties variations observed in perovskite thin films.

The fact is the transformation from perovskite into PbI2 can certainly lead to a reduction in mobility and charge carrier concentrations. Perovskite materials act as semiconductors, however, the decomposed PbI2 becomes electrically insulators. Therefore, the increase in resistivity is a direct consequence of the reduction in mobility and charge carrier concentration that follows Ohm’s law, which states that resistivity is inversely proportional to both mobility and carrier concentration. Subsequently, due to the mobility and charge carrier concentration losses, there are likely to be higher resistivity increases in the films52.

These findings confirm that the selection of anti-solvent materials can have a significant impact on the electrical properties and performance of perovskite thin films and highlight the need for careful optimization and management of environmental conditions during the fabrication and testing of such films. In addition, the physiochemical properties (such as polarity, boiling point, and solubility parameters) of antisolvents and their influences on perovskite thin film formation kinetics can significantly affect the nucleation and crystallization processes of perovskite materials. For instance, the rate of solvent evaporation and crystallization may be affected by the distinct interactions that polar anti-solvents have with perovskite precursors. Similar to this, changes in boiling points can affect the pace at which solvent is removed, which in turn can change the content and shape of the film. Furthermore, SWOT analysis (Fig. 6) has been applied to understand the overall impact of all anti-solvent materials (Chlorobenzene, Diethyl ether, Ethyl Acetate, and Toluene) on the development of perovskite thin films fabricated under ambient conditions. Our study reveals that the utilization of anti-solvents advances substantial strengths, such as enriched crystallinity and improved optical properties, leading to a flexible method for tailoring perovskite thin film qualities. However, there are some limitations associated with the toxicity of certain anti-solvents and the possibility of having material incompatibility. On the other hand, the opportunities for processes and parameters optimization and application diversification were identified, besides the possible threats related to regulatory hurdles and inconsistent results. This analysis contributes to getting a comprehensive understanding of the prospects and challenges associated with anti-solvent materials processing in the domain of perovskite thin film development and technology, guiding future research directions and industrial applications as well.

Figure 6
figure 6

SWOT analysis presenting the summarizing understanding of using anti-solvent materials in perovskite film development.

Significance and future motivation

We aimed to investigate the stability of perovskite thin films (expected to be better candidates for high-performing solar cell fabrication) and annealed in ambient lab conditions using various anti-solvents hold enormous implications for the development of renewable energy technologies. The variations in structural, optical, and electrical properties observed on the perovskite films over time pose an essential understanding of the stability and performance of perovskite thin films and solar cells. The obtained results indicate that stable and high-performance perovskite solar cells can be manufactured under normal ambient conditions, making them more accessible and cost-effective for common and extensive use. We believe that by addressing the issues of the degradation mechanisms and factors influencing perovskite stability, this research provides a foundation for future work. However, the integration of a machine learning approach in anti-solvent optimization further enhances the potential to tailor anti-solvent selection for improved stability, opening new avenues for highly performing and reliable perovskite materials and solar cells in various applications. This holistic approach is found to be promising to accelerate the development of sustainable and efficient energy materials solutions. Recently, ML approach and algorithms have been applied to sustainably developed nanoparticles in the film of nanomaterials and nanotechnology53,54,55,56.

Machine learning can transform the future progress and synthesis of new perovskite materials leading to the development of highly efficient solar cells by optimizing the selection of anti-solvents. This process begins with data collection, where extensive datasets contain information on various parameters, including anti-solvent choices, processing conditions, and the resulting material properties such as structural, morphological, optical, electrical, efficiency, and stability will be gathered to build a library, as shown in the schematic diagram (Figure S2). Following the dataset generation feature engineering will be the next crucial step, where relevant features will be extracted from the dataset, such as properties of the anti-solvent, environmental conditions, and more. The most suitable machine learning algorithms (Random Forest, Gradient Boosting, or Neural Networks) depending on the specific optimization targets will be selected, once the data is ready. In this stage, the dataset will be separated into training, validation, and test sets to train the model, validate its performance, and evaluate its ability to foresee anticipated outcomes. Model training will make predictions based on the chosen anti-solvent and process parameters. Fine-tuning the model to enhance its predictive accuracy will be performed by applying the Hyperparameter tuning process. To evaluate the model’s accuracy in the required amounts and anti-solvent choices, measures such as Mean Absolute Error (MAE) or Root Mean Square Error (RMSE) will be used. Following training and validation, the model will be used as a useful tool for upcoming engineers and researchers in this sector, and the most recent study findings will be published elsewhere. The procedure of choosing anti-solvents will be streamlined by this implementation, which will also provide more effective and efficient means of creating extremely stable perovskite thin-film materials for durable uses like the creation of high-performing solar cells. Additionally, fresh data can be added to the model regularly to keep it current and improve its analytical and projection abilities. Thus, a promising path toward improving the stability and efficiency of these renewable energy technologies at an acceptable price is the practice of machine learning algorithms for the optimization of anti-solvents for perovskite thin film materials and solar cells.

Conclusions

We have demonstrated the effects of using anti-solvent materials in the fabrication of perovskite thin films that have a significant impact on their structural, and optoelectrical properties. The choice of anti-solvents is an important factor that can affect the crystalline and morphological characteristics of the films, as well as their carrier concentration, mobility, and resistivity. Exposure to the ambient atmosphere can also lead to degradation and changes in their performances. The peak of perovskite associated with the plane (110) was observed to decrease gradually with the rise of exposure point whereas the peak associated with PbI2 is increased oppositely. Also, the dissociation of peaks (312) and (411) has been observed which indicates an expansion in displacement and micro-strain as well as confirming the disintegration of perovskite films. The creation of PbI2 concerning the exposer time has been estimated and found that film fabricated using Ethyl acetate shows better stability against the ambient moisture and temperature. It has also been discovered that the PL intensity decreases for uncovered films, suggesting a reduction in the process of radiative recombination and an upsurge in defects sites formed in the perovskite due to breakdown. PL widening was also seen, and it is believed that this emission results from trapped charge carrier recombination at the superficial and/or band border levels. Additionally, the perovskite breakdown has dramatically changed the electrical characteristics of the films, including resistivity, mobility, and carrier distribution. These findings highlight not only the need for careful optimization and management of environmental conditions during the fabrication and testing of perovskite thin films but also the need for future research in this area focusing on the development of new anti-solvent materials and optimizing their use to achieve high-performance perovskite thin films for various applications, including solar cells, LEDs, and sensors57.