Surfaces have always been paramount to the electronic and photophysical quality and hence practical utility of semiconductors. This is particularly true for nanoscale semiconductors such as colloidal semiconductor nanocrystals (NCs) with inherently high surface-to-volume ratios.^[@ref1]−[@ref3]^ Conventional semiconductor NCs, such as CdSe and InP, need to be overcoated with epitaxial shells (typically ZnS) for eliminating the localized surface states that act as traps for photogenerated electrons and holes, thus diminishing the photoluminescence quantum yields (PL QYs). Newcomers among highly luminescent semiconductor NCs (colloidal NCs of lead halide perovskites \[APbX~3~ NCs, A = Cs, formamidinium; X = Cl, Br, I, and mixtures thereof\]^[@ref4]−[@ref8]^) generally offer a much reduced density of surface trap states and greater tolerance of them.^[@ref9]^ The past few years have seen a surge of reports on these NCs, ranging from their synthesis,^[@ref4],[@ref10]−[@ref18]^ structural and surface chemistries,^[@ref19]−[@ref29]^ and doping^[@ref30]−[@ref35]^ to optoelectronic applications such as in television displays,^[@ref36]^ light-emitting diodes,^[@ref37]−[@ref43]^ or solar cells.^[@ref24],[@ref44],[@ref45]^ The compelling set of optical characteristics of APbX~3~ NCs includes high absorption cross sections, high PL QYs (up to 100%), broadly tunable PL maxima (400--800 nm) with small PL full-width at half-maxima (fwhm, 12--50 nm for blue-to-near-infrared), and low thresholds for stimulated emission.^[@ref46],[@ref47]^ In addition, these NCs hold great promise as wavelength-tunable and controllable single-photon sources (with blinking-free single-photon emission, low spectral diffusion, ultranarrow line width of a few hundred microelectronvolts), capable of ultrafast emission (radiative lifetimes down to 100 ps at low temperature).^[@ref48]−[@ref54]^ An Achilles' heel of all lead halide perovskite NCs is their inherent structural lability (low melting point, finite solubility in solvents, etc.), culminating at the NC surface. Highly dynamic binding exists between the surface capping ligands, typically a pair consisting of an anion (halide or oleate) and a cation (CS or alkylammonium), and the oppositely charged NC surface ions.^[@ref10],[@ref19],[@ref55],[@ref56]^ The ligand shell rapidly desorbs upon isolation and purification of colloids, causing the loss of colloidal stability and eventually also the loss of structural integrity, i.e., the sintering of NCs into bulk polycrystalline materials. This surface damage then can extend beyond the ligand shell to the surface regions of the NCs, altering the surface stoichiometry and damaging the PbX~6~ octahedra. Ultimately, the whole CsPbX~3~ NC can alter its crystal structure, partially or fully converting to, for instance, CsX, CsPb~2~X~5~, PbX~2~, or Cs~4~PbX~6~ phases,^[@ref57]−[@ref65]^ or even fully disintegrate upon action of various solvents or complexing agents. Strategies for mitigating the instability issues include addition of new ligands or inorganic salts to the synthesis,^[@ref10],[@ref37],[@ref66]−[@ref69]^ postsynthesis treatments of perovskite NCs,^[@ref22],[@ref23],[@ref25]−[@ref27],[@ref47],[@ref70]−[@ref72]^ and embedding of NCs into a solid matrix.^[@ref36],[@ref73]−[@ref81]^

In this study, we use density functional theory (DFT) to model the atomistic structure of the surfaces of CsPbBr~3~ NCs for various degrees of the surface damage. We then compute the effect on the electronic structure and verify the eventual appearance of midgap trap states. On the basis of such a simple model, we rationalize the previously reported effects of the postsynthesis processing of perovskite NCs (ligand exchange, solvent effects, aging) on their luminescent characteristics (foremost PL QYs) and propose a general strategy for the elimination of the trap states by a simple surface treatment that invokes repair of surface PbX~6~ octahedra and restoration of the ligand shell. Specifically, we show that the combined treatment with PbBr~2~ and didodecylammonium bromide (DDAB) can recover the PL QY of the initially damaged NCs to values above 95%. This treatment also improves the colloidal durability of NCs, retaining their high PL QYs after three to four rounds of precipitation and redispersion. In addition, we discuss and demonstrate the utility and possible pitfalls of using the common techniques for elemental analysis, inductively coupled plasma-optical emission spectrometry (ICP-OES), and X-ray photoelectron spectroscopy (XPS).

*Atomistic Structural Model of the CsPbX~3~ Surface.* An overarching goal of this study is to rationalize the inorganic surface of perovskite NCs, including its possible transformations under typical experimental conditions. We classify CsPbX~3~ NCs and their surface termination by providing upper and lower bounds to their anion/lead (X/Pb) stoichiometry, a quantity that might be accessible experimentally (e.g., by XPS, ICP-OES, or ICP-mass spectrometry, Rutherford backscattering spectroscopy) and related to the quality of the surface (as evidenced, e.g., via PL QY measurements). In general, the upper bound for the anion/lead ratio is given by cutting a NC out of an orthorhombically distorted or, for simplicity, idealized cubic CsPbX~3~ bulk lattice in such a way that Cs and X atoms form the outermost layer of the NC (see [Figure [1](#fig1){ref-type="fig"}](#fig1){ref-type="fig"}a, open green circles and upper left schematic), denoted as \[CsPbX~3~\](PbX~2~){CsX}. The lower X/Pb bound is given by cutting the NC such that it is terminated with a PbX~2~ layer (orange open circles and lower schematic), named \[CsPbX~3~\](CsX){PbX~2~}. The inset shows that in the commonly encountered size region of experiments, i.e., 7--12 nm, the halide/lead atomic ratio should only vary between about 2.7 and 3.3. We note that to obtain charge balance, i.e., a charge neutral NC with each element in its thermodynamically most favored oxidation state (+1 for Cs, +2 for Pb, −1 for X), a few surface cations need to be discarded for both the CsX-terminated and PbX~2~-terminated cases. However, in [Figure S1](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf) we show that this leads only to a minor correction (\<1%) for the anion/lead stoichiometric ratio in the experimental size region.

![(a) Size-dependent anion/lead ratio (X/Pb) of cubic CsPbX~3~ NCs, where Cs, Pb, and X (=halide) atoms are depicted by green, orange, and gray spheres, respectively. Unlike in the bulk, in a NC the anion/lead ratio deviates from three, with the upper bound (green circles) and lower bound (orange circles) given by CsX and PbX~2~ termination, respectively. The inset shows commonly found experimental sizes, for which the anion/lead ratio should vary only between about 2.8 and 3.2, indicated by the yellow shaded area. (b) As explained in the main text, and to aid the discussion of aging, the NC is further (arbitrarily) divided into core, inner, and outer shell. For a realistic NC requiring colloidal stability, the outermost layer^[@ref61]^ is commonly replaced either by ligand pairs {AX′}, where A = cationic ligand (e.g., oleylammonium) and X′ = anionic ligand (e.g., bromide, oleate), respectively, or more recently also with zwitterionic ligands {AX′}, e.g., sulfobetaines. In either case, the anion/lead ratio (now \[X + X′\]/Pb) still falls within the yellow shaded area depicted in (a), and green circles correspond to full capping by the {AX′} ligand shell.](nz-2018-016695_0001){#fig1}

Realistic NCs are terminated with (long) insulating ligands, e.g., oleylammonium and oleate,^[@ref19],[@ref20]^ to render them colloidally stable by means of steric repulsion ([Figure [1](#fig1){ref-type="fig"}](#fig1){ref-type="fig"}b). To account for ligand capping, we introduce a nomenclature in which we represent, e.g., the NC as \[CsPbX~3~\](PbX~2~){AX′} consisting of a CsPbX~3~ core terminated by a PbX~2~ (inner) shell and a capping AX′ (outer) shell, composed of monovalent cations (A = alkylammonium and Cs^+^) and monovalent anions (X′ = halide and/or oleate). The proportion of the long-chain ions in the AX′ shell is governed by the steric hindrance and equilibria existing between the NC surface and solution. We note that our partition of the NC in core, inner, and outer shell regions is arbitrary, not intended to describe specific synthetic conditions, and solely intended to guide the rationalization of the experimental effects on the surface structure and optical properties.

The anion/lead ratio of an AX′-terminated NC is identical to that for the CsX-terminated case: a measurement of the anion/lead stoichiometry should yield the green data points in [Figure [1](#fig1){ref-type="fig"}](#fig1){ref-type="fig"}a, if defined as (X + X′)/Pb, or the orange data points, if defined as X/Pb. In any case, it should vary only between about 2.8 and 3.2 for NCs of ∼10 nm. Alternatively, ligand capping can also be achieved by exposing PbX~2~ termination, formed atop a CsX layer, i.e., as \[CsPbX~3~\](CsX){PbX′~2~}. To achieve steric colloidal stabilization under typical synthesis conditions, X′ must be oleate. However, {PbX′~2~} termination is rather improbable as (i) it would require about 2.5 times denser ligand packing, leading to steric hindrance, and (ii) it breaks the propensity of Pb^2+^ to octahedral coordination. Furthermore, earlier studies^[@ref19]^ and our results discussed below point to the generic \[CsPbX~3~\](PbX~2~){AX′} structure as the most relevant to the known experimental facts about CsPbX~3~ NCs.

Perovskite NC surfaces are fundamentally different from those of conventional semiconductor NCs in terms of their structural dynamics and lability. With perovskite NCs, an enormous degree of postsynthetic lability and reactivity has been reported and concerns the subsurface NC regions as well. Possible chemical reactions at the surfaces or involving the whole NCs may include mutual interconversion among CsPbX~3~, CsX, CsPb~2~X~5~, and Cs~4~PbX~6~ phases under addition/subtraction of ligands and CsX and PbX~2~ salts or other Cs, Pb, or X compounds.^[@ref57]−[@ref65]^ These addition and elimination reactions are greatly influenced by the capping ligands and other reagents in the solution. Hence one can no longer assume the static picture of the rigid inorganic NC core coated with an organic shell. Surface and subsurface atoms are likely directly involved in all possible chemistry equilibria and transformations. A rather new mindset needs to be developed to rationalize the structure, reactivity, and electronic effects on an atomistic level.

*Plausible Surface Transformations.* Detachment of surface capping ligands is the most plausible surface transformation, for instance, as a result of environmental effects (moisture) or processing (repeated washing) and storage conditions. [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"} schematically depicts this process for a 3.6 nm NC, starting with the structure \[CsPbX~3~\](PbX~2~)~*k*~{AX′}~*n*~, where *k* and *n* are the numbers of (PbX~2~) units and {AX′} ligands in the inner and outer shells, respectively. This idealized initial state "1" may now transform via removal of *m* {AX′} ligands (state "2"). A complete detachment of this ligand shell (*m = n*) yields a state "3", where a (PbX~2~) layer is now fully exposed. Subsequent partial (*l \< k*, state "4") or complete (*l = k*, state "1") removal of also the (PbX~2~) shell exposes the bare \[CsPbX~3~\] core, which is effectively state "1", albeit with an overall reduction of NC diameter by one layer of octahedra. [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"} depicts the evolution of the anion/lead ratio (X + X′)/Pb throughout these surface processes, which varies initially from anion-rich to lead-rich and then back to anion-rich. This suggests that monitoring the anion/lead stoichiometry might give a hint to the possible surface structure/ligand capping. Indeed, our simplified model explains the XPS-derived postsynthetic transformations of both the outer {AX′} shell^[@ref15]^ and inner (PbX~2~) shell.^[@ref22]^ We therefore propose that our simplified model presented in [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"} (which will further be refined in [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}c) may help to rationalize a broad range of experimentally observed surface transformation and guide the discussion of XPS-derived anion/lead stoichiometries.^[@ref15],[@ref22]^

![Plausible surface transformations illustrated for a 3.6 nm perovskite NC. The initial state "1" can be described as consisting of a \[CsPbX~3~\] core (continuous black line), surrounded by a shell of *k* (PbX~2~) moieties (dashed orange line) and capped with *n* AX′-type ligands (dotted green line). To enhance clarity, the core is shown slightly smaller than in reality. Partial removal of *m* {AX′} units (*m* \< *n*, state "2") or its complete elimination (*m* = *n*, state "3") leads to a (PbX~2~)-terminated NC. Further detachment of l (PbX~2~) units (*l* \< *k*, state "4") eventually leads to a bare \[CsPbX~3~\] core (*l* = *k*, state "1", analogous to "1"). During the aging process, the anion/lead ratio oscillates from initially anion-rich (state "1") to Pb-rich (state "3") and back to anion-rich (state "1").](nz-2018-016695_0002){#fig2}

*Electronic Structure at Various Surface Terminations.* After having established plausible scenarios for the consecutive removal of A, Pb, and X moieties from a NC, we calculate the corresponding geometries and electronic structures at the DFT level (see [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf) for further details). This allows us to judge if, and how, variations in the surface atomistic structure might introduce/eliminate electronic trap states, thereby governing the primary physical properties, foremost the PL QYs. In [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}, we illustrate aging of a fully capped 3.6 nm CsPbX~3~ perovskite NC, described by the formula \[CsPbX~3~\](PbX~2~)~*m*~{AX′}~*n*~. The (PbX~2~) termination and {AX′} ligand shell are believed to best resemble the experimentally found surface, as explained above. In the specific example, we choose X = Br, as CsPbBr~3~ is currently the most widely studied halide variant; due to computational advantage, we further choose A = Cs and X′ = Br. However, we verified that A = oleylammonium, the commonplace ligand, yields qualitatively similar results; the same holds for X′ = oleate, which may be present in an amine-rich environment.^[@ref9]^

![Computed geometry and electronic structure of CsPbX~3~ NCs during the aging process introduced in [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"}, at the DFT/PBE level of theory. (a) Loss of the outermost {AX′}-ligand shell of a \[CsPbX~3~\](PbX~2~)~*k*~{AX′}~*n*(1--x)~ NC, with X = X′ = Br, A = Cs, and 0 \< *x* \< 1. The top row depicts the aging-induced changes to the geometry, where Pb, Cs, and Br atoms are depicted by orange, green, and gray spheres, respectively. The middle row shows the respective evolution of the valence band electronic structure from the HOMO (*E* -- *E*~HOMO~ = 0) up to 3 eV below the HOMO, where relative orbital contributions by the core and surface (defined as the outermost, one-atom-thick layer) are depicted by blue and red bars, respectively. Surface-localized states only appear after loss of more than 75% of the {AX′} shell, indicated by a dashed ellipse and visualized in the bottom row via the associated localized valence band edge molecular orbitals (HOMOs). (b) Subsequent loss of the now exposed (PbX~2~) shell. Localized states already appear at only 25% loss of the (PbX~2~) shell. (c) Schematics of the aging/damage and recovery of trap-free \[CsPbX~3~\](PbX~2~)~*k*~{AX′}~*n*~ NCs.](nz-2018-016695_0003){#fig3}

The initial NC is anion-rich (anion/lead = 3.50 for a 3.6 nm NC, equal to state "1" in [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"}). The upper left structure in [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}a shows its geometry after structural relaxation (for the computational details, see the [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)). For simplicity, a cubic CsPbBr~3~ crystal structure was taken as a starting configuration for DFT simulations. This then relaxes to an orthorhombically distorted polymorph, as in the experiments.^[@ref82],[@ref83]^ The electronic structure of the valence band is shown below, where horizontal blue and red bars indicate the relative orbital contribution from the core and the surface, respectively; in this case, the surface is defined as the outermost (one atom thick) layer of the NC. For all of the depicted valence band states, the primary contribution comes from the core, suggesting proper delocalizaton over the core and a trap-free NC.

Removing a fraction *x* (0 \< *x* \< 1) of the outer {AX′} shell leads to the structure \[CsPbX~3~\](PbX~2~)~*k*~{AX′}~*n*(1--*x*)~. In terms of the anion/lead ratio shown in [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"}, this means gradually moving from a maximally anion-rich structure ("state 1") toward a maximally lead-rich structure ("state 3"). We decided to strip ion pairs starting from the vertices and edge sites, followed by the center sites, as edge and vertices are more prone to ligand detachment (see [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)). However, qualitatively similar trends are observed also for random removal of ligands (see [Figure S2](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)), suggesting only a minor effect of the way these ligands are removed. As shown in [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}a, losing up to 75% (*x* = 0.75) of the {AX′} shell largely preserves the crystalline structure; furthermore, the main orbital contribution comes from the core, for all valence band states. Only essentially full stripping of {AX′} units (i.e., *x* = 1) leads to the appearance of states localized at the surface, as illustrated by the molecular orbital plots of the valence band edge states (i.e., the HOMOs), depicted below the electronic structures in [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}a. These states (indicated by dashed ellipses) may act as charge-trapping sites. Given the harsh treatment, the appearance of trap states is not surprising. Rather, it is remarkable that these anion-rich, {AX′}-terminated NCs are initially fairly robust to ligand loss, with delocalized valence band states up to a loss of about three-quarters of the entire {AX′} shell. For similar robustness of the conduction band states, see [Figure S3](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf).

In [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}b, we then investigated if such trap-tolerant behavior also holds for a lead-halide-terminated \[CsPbX~3~\](PbX~2~)~*k*~ or uncapped \[CsPbX~3~\] NC. Continued stripping of a fraction *y* (0 \< *y* \< 1) of the now exposed (PbX~2~) shell, thereby forming \[CsPbX~3~\](PbX~2~)~*k*(1--*y*)~, first leads to a lead-rich (anion/lead = 2.60) and then an anion-rich structure (anion/lead = 3.95); see transitions from state "3" to state "1" in [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"}. We note that instead of starting the aging process immediately from the final structure (*x* = 1) formed in [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}a, we first displace very few additional (PbX~2~); see the [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf) for a justification of this procedure. This initial structure (*y* = 0) features the expected cubic structure and a seemingly trap-free valence band, albeit with a higher surface contribution to the orbitals. However, stripping only 25% of the ligands already leads to the appearance of a large amount of trap states at the surface (indicated by dashed ellipses and corresponding HOMO plots) and a significantly deformed geometry. The NC structure further deforms upon additional (PbX~2~) stripping and additional trap states appear. In conclusion, compared to the {AX′}-capped NC, the (PbX~2~)-terminated NCs seem to be more sensitive to aging-induced trap formation via ligand displacement.

Realistic aging may deviate from the ideal (sequential) pathway depicted in [Figure [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"} and instead proceed via simultaneous damage of the inner (PbX~2~) and outer {AX′} shells; see [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}c. However, the general conclusions regarding the effect on electronic structure, structural reorganizations, and anion/lead ratio per loss of {AX′} or (PbX~2~) ion pair remain the same.

In a simplified view, the larger tolerance toward traps or structural deformations upon loss of the {AX′} layer, as compared to the (PbX~2~) layer, is not surprising. Since the electronic structure around the band edges is predominantly given by the PbX~6~^4--^ octahedra, their preservation is crucial for avoiding trap states. Per {AX′} loss, only one halide is lost, yielding PbX~5~^3--^ species, which still preserve the connection between the octahedra. Upon (PbX~2~) loss, however, larger structural reorganization may occur, leading to unstable states at the surface. Computationally, we notice even formation of Pb~2~X~6~ complexes on the surface of NCs, a clear sign of a disintegration of the perovskite structure.

Having identified the likely atomistic origin of traps in perovskite NCs, we highlight the factors paramount for the retention/recovery of the trap-free surface structure. Foremost, it is critical to rebuild all damaged surface PbX~6~ octahedra, i.e., to close the inner (PbX~2~) shell and overcoat it with a stable {AX′} shell ([Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}c). The latter must contain a sufficient quantity of long-chain A (e.g., alkylammonium) or X′ (e.g., carboxylate) moieties for efficient colloidal stabilization, the rest being smaller cations (e.g., Cs^+^) and anions (e.g., Br^--^). Hence all these small and large ions must be available in the medium for reconstructing the NC surface. For our CsPbBr~3~ case study, an obvious path to such trap-free surfaces would be to simultaneously treat the damaged NC surface with a mixture of long-chain ligands and PbBr~2~. Next to this, sufficient quantities of Cs^+^ and Br^--^ must be provided as well.

*Benchmark Experiments.* In the following, we discuss the experimental observations on CsPbBr~3~ NCs in the light of the aging model presented above (see [Figures [2](#fig2){ref-type="fig"}](#fig2){ref-type="fig"} and [3](#fig3){ref-type="fig"}) and, on the basis of the suggested recovery (see [Figure [3](#fig3){ref-type="fig"}](#fig3){ref-type="fig"}c), devise an effective surface treatment strategy for restoring trap-free surfaces (high PL QYs) along with the retention of colloidal integrity. The discussion is guided by a set of experiments. We also review the known experimental facts on CsPbBr~3~ NCs and how they agree with the proposed model.

*Starting Colloid.* The crude solution of ca. 9 nm CsPbBr~3~ NCs (see size histogram on [Figure S4](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf); PL peak position at around 513 nm, [Figure S5](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)), synthesized accordingly to an earlier report from some of us (Protesescu et al.;^[@ref4]^ oleylamine (OLA) and oleic acid (OA) as surfactants, octadecene as initial solvent; see the [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf) for details), was centrifuged at 12.1 krpm (20130*g* for a specific centrifuge used, *g* being the unit of the Earth's gravity) for 5 min, and the supernatant was discarded. The precipitation was redispersed in 300 μL of hexane and centrifuged again (at 10 krpm, 3 min), and the precipitate was discarded. The so-obtained solution in hexane was diluted two times and used for all experiments described below and denoted as the "starting colloid". We note that this procedure for the initial isolation and size selection of CsPbBr~3~ is commonplace, as can be exemplified by refs ([@ref19]), ([@ref46]), ([@ref49]), and ([@ref84]). Common variants of this purification involve the use of toluene in place of hexane (in the steps described above) or addition of 1-BuOH to such toluene solutions, followed by centrifugation and redispersion;^[@ref4],[@ref38],[@ref39],[@ref47]^ so-called solvent/nonsolvent purification, discussed later in the text.

*Effect of Dilution.* Such as-synthesized NCs are expected to be coated with an OAm^+^ cation and oleate and Br^--^ anions, forming an AX′ shell in our taxonomy. These specific ligands are known to bind dynamically and loosely, and hence are expected to desorb this ligand shell due to its dynamic binding to the NC surface.^[@ref19]^ In this context, we need to emphasize that QYs in this study and in the literature are mostly reported as measured in reference to dye molecules, such as Rhodamine 6G for the green-emissive NCs, obtained by comparing the integrated intensities of the emission and accounting for the absorbance at the excitation wavelengths. The protocol for such a QY measurement involves massive dilution of the sample to the optical density of typically 0.05--0.1 (1 cm path cuvette) at the absorption peak in order to minimize the reabsorption of the emitted light. For CsPbBr~3~, this corresponds to a dilution to a level of ca. 0.03--0.04 mg/mL (with respect to the mass of CsPbBr~3~), which is a factor of ca. 200 times lower than the concentration of the as-prepared "starting colloid". The QYs from the diluted "starting colloid" fall typically in the range of 60--70% right after dilution and further quickly drop in the course of hours to days. The undiluted "starting colloid" also fully degrades after 10 days.

*Effect of Purification with Nonsolvents.* Another commonplace procedure is destabilization of colloids by the addition of a nonsolvent (e.g., acetonitrile) to the "starting colloid", followed by centrifuging in order to collect NCs and redispersion in a pure solvent (e.g., toluene), here denoted as a "purified colloid". Our QY measurements after this procedure, followed by the appropriate dilution (as described above), showed QYs on the order of 8--10%. Such a detrimental effect of the nonsolvent already after the first precipitation had been reported by many other groups.^[@ref10],[@ref37],[@ref39],[@ref41]^ Addition of the ligands (OLA + OA) along with the nonsolvent, with the aim to suppress the ligand desorption, had only a marginal positive effect on the QYs (reaching 30--40% at best) and shelf life of the colloids. We thus conclude that standard procedures such as addition of nonsolvents or dilution all render CsPbBr~3~ NC surfaces moderately or heavily damaged.

*DDAB + PbBr~2~ Treatment for Surface Restoration.* Herein we find that an efficient postsynthesis surface treatment for maximizing the QYs and durability of CsPbBr~3~ NCs was treatment of the "starting colloid" that invokes didodecyldimethylammonium bromide (DDAB). The obvious advantage of the DDA cations and other quaternary ammonium salts is that their charged state is pH-independent (unlike OAmBr). The DDA cation had long been known as an excellent former of stable hydrophobic monolayers, either as free-standing molecular aggregates (used, for instance, as templates for growing mesostructured silica^[@ref85],[@ref86]^) or for functionalization (hydrophobization) of negatively charged surfaces such as those of aluminosilicates (forming so-called organoclays)^[@ref87]−[@ref90]^ and anion-capped metal chalcogenide NCs.^[@ref91]^ DDA and other molecules with two long hydrocarbon chains (2C~*n*~) are known to form more stable monolayers due to a good match between the molecule cross section and the typical densities of negatively charged surface sites. Importantly, longer chains (≥*C*~16~) often render the alkylammonium salts insoluble in typical apolar solvents.

The idea of adding PbBr~2~ together with DDAB stems directly from the theory presented above---it might be able to rebuild the damaged PbBr~6~ octahedra. Importantly, we note that in the NC, the Pb:Br ratio has to be at least 1:3. Hence the combination of DDAB + PbBr~2~ appears better than using PbBr~2~ alone. We note that PbBr~2~ alone is not soluble in toluene but quickly and fully dissolves upon addition of DDAB, forming an adduct, presumably DDAPbBr~3~ and/or DDA~2~PbBr~4~. Addition of DDAB alone or better DDAB + PbBr~2~ (in 2:1 molar ratio) was able to recover the QYs to the level of 90--100% ([Figure [4](#fig4){ref-type="fig"}](#fig4){ref-type="fig"}). The actually measured values in this case often exceed 100% by a few percent, which is understandable considering the estimated systematic measurement error of ±5%. Such dramatic recovery of QYs to near 100% was observed for "starting colloids" (QY = 60--70%) and for colloids treated by nonsolvents (QYs = 30--40%, depending upon the used nonsolvent and dilution). In comparison with NCs treated only with DDAB, a combined DDAB + PbBr~2~ treatment systematically yielded 10--20%-higher QYs and longer shelf life (e.g., the first signs of agglomeration appear at least four months later). NCs treated with DDAB + PbBr~2~ can sustain multiple steps, at least three, of precipitation and redispersion (with ethyl acetate, 2-propanol, acetone, and acetonitrile as nonsolvents and toluene as a solvent). Such rigorous washing procedures are not applicable to the "starting colloid", which is rendered insoluble already after the first round of such washing. This observation further highlights the robustness of the DDAB coating. The dilution has an apparently negligible effect, evident from a long shelf life of diluted colloids and retention of a high QY during storage. We find that addition of OA as a coligand to DDAB or DDAB + PbBr~2~ has a rather detrimental effect, manifested in a rather rapid drop of the QY during storage (by a factor of 2 after 5 days). In fact, earlier studies on OLA/OA-stabilized CsPbBr~3~ NCs have pointed out that the oleate ion is rather absent at the NC surface, and the role of OA is rather to protonate OLA.^[@ref19],[@ref56]^ This indicates that OA is not needed for quaternary ammonium salts as capping agents.

![(a) Comparison of the steady-state absorption and PL spectra for the starting colloid and the same colloid subjected to several treatments (for details see sample numbers 1, 2, 9, and 11 in the [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)): untreated starting colloid of OLA/OA-stabilized NCs (black line, sample 1), starting colloid precipitated with the acetone as a nonsolvent (containing OLA and OA) and redispersed in toluene (dark blue line, sample 2), starting colloid treated with the mixture of DDAB + PbBr~2~ (gray line, sample 9), and purified colloid (sample 2) treated with the mixture of DDAB + PbBr~2~ (blue line, sample 11). The inset magnifies the PL peak region. All colloids have been colloidally stable and their visual brightness under UV irradiation (see (b)) clearly reflected the variation of the measured QYs. (c) TEM image of sample 11, indicating the retention of structural integrity. (d) TRPL spectra for the same samples. For samples 1 and 9, the effect of aging by several days is indicated by dashed arrows.](nz-2018-016695_0004){#fig4}

*Reference Experiments ([Figures S5 and S6](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)).* We have conducted also a set of reference experiments to delineate individual effects of various reagents. In the footstep of the report by Alivisatos et al.,^[@ref22]^ addition of NH~4~SCN powder (this salt is not soluble in toluene) to the "starting colloid" yielded an improvement of the QY from below 70% to 80--85% (100% in ref ([@ref22])). Similarly to Alivisatos et al.,^[@ref22]^ we have observed a slight blue shift (ca. 2 nm, or 10 meV), which can be explained by the removal of the surface Pb atoms from the damaged PbBr~2~ layer upon coordination with SCN^--^. Such removal had been also suggested by Alivisatos et al.^[@ref22]^ on the basis of the XPS analysis that showed an increase in the Br:Pb ratio after the treatment (from 2.74 to 3.03). As another reference experiment, we have attempted a treatment with powdered PbBr~2~ (essentially insoluble in toluene) without an observable effect on PL QYs or long-term colloidal stability. We also treated the "starting colloid" with a mixture of PbBr~2~--OA--OLA, as previously proposed for NC films,^[@ref25]^ and this had not been effective for colloidal NCs.

Overall, the surface treatments described in our study had rather minor effects on the PL peak wavelengths (512--514 nm) or PL fwhm (18--20 nm) as well as absorption spectra (see [Figure [4](#fig4){ref-type="fig"}](#fig4){ref-type="fig"}a and, for a broader overview of various samples, [Figures S5 and S6](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)). Shifting PL peaks by no more than 1--2 nm to the blue or red side can be attributed to either removal or restoration of the outermost PbBr~2~ layer. Hence, on the basis of the minute changes to the absorption and PL spectra, we exclude deep etching or restructuring of NCs, in line with TEM images which lack noticeable changes to the NCs size and shape (see [Figures [4](#fig4){ref-type="fig"}](#fig4){ref-type="fig"}c and [S7](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)).

On the basis of the experiments above, and in full consistency with the proposed theory, the treatment by the mixture of DDAB (acting as a ligand) and PbBr~2~ (for repairing the Pb--Br layer), more correctly by their adduct, had been the only effective path to reach near-unity QYs and long-term colloidal durability, the latter being the ability to retain high PL QYs upon multiple solvent/nonsolvent purification steps.

*Time-Resolved PL.* The obtained time-resolved PL decays corroborate the conclusions drawn thus far (see [Figure [4](#fig4){ref-type="fig"}](#fig4){ref-type="fig"}d and, for a broader overview, [Tables S2 and S3](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf) and [Figures S8 and S9](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)). Longer intensity-averaged lifetimes (extracted from biexponential fits; see [Table S2](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)) correlate well with higher QYs: upon passivation, the faster nonradiative decay component decreases, whereas the longer lived, radiative bimolecular recombination enhances. While fresh "starting colloids" (black line in [Figure [4](#fig4){ref-type="fig"}](#fig4){ref-type="fig"}d) show an average lifetime of 19 ns and QYs of 60--70%, these parameters decrease to 6.5 ns and 30--40%, respectively, after storage for 2 weeks. A similarly detrimental effect on the average PL lifetime is seen after purification with the nonsolvent (dark blue line). When the latter is subjected to DDAB-PbBr~2~ treatment (light blue line), the average PL lifetimes double. The slowest PL decay, in 28.2 ns, is observed for the same "starting colloid" after being subjected to DDAB-PbBr~2~ treatment (gray line); this PL decay only moderately accelerates after 2 weeks of storage. Furthermore, intense purification of such DDAB-PbBr~2~-treated samples by repetitive precipitation with ethyl acetate (or acetone) and redispersion in toluene, by up to 3 times, did not substantially affect the time-resolved PL decays ([Figure S8](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)) and QYs (remained above 90%). We should also note that, on the basis of numerous studied samples, we have not found a correlation between the single-exponential-decay behavior and QYs. In fact, nearly all PL decay traces remained nonsingle-exponential. Instead, we find that PL decay traces evolve toward single-exponential when the PL collection wavelengths is set to the longer wavelengths shoulder of the PL band ([Figure S9](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)), suggesting that energy transfer or photon recycling within the ensemble of colloidal NCs may contribute to the observed decay kinetics. This matter requires further detailed study.

*Comments on Relevant Results from the Literature.* Herein we try to draw some conclusions also with the existing literature. We must note that the accurate comparison with the \[CsPbX~3~\](PbX~2~)~*k*~\[AX′\]~*n*~ model and with our experiments summarized above is virtually impossible for a number of reasons, foremost because of a complex interplay of various factors and cross-effects of different reagents and, occasionally, lack of details or differences in the experimental protocols (such as for QY measurements). However, certain qualitative conclusions can be drawn.

Bakr et al. reported that the treatment of solution similar to our "starting colloid" with DDA sulfide (DDAS) resulted in an increase of the PL QYs by up to a factor of 2 (to ca. 70%) and improved long-term stability.^[@ref47]^ Similar improvements after DDAS treatment were reported also by others, for instance, in ref ([@ref81]). Later on the focus shifted toward DDAB-based treatments: Bakr et al. reported on the mixed DDAB-OA treatment to yield improved QYs of 70% and LEDs with the EQE of 1.9% (and luminance of 35 cd m^--2^),^[@ref38]^ commensurate with that of DDAS treatment in their earlier study.^[@ref47]^ Interestingly, the same study pointed to a substantial QY drop when CsPbBr~3~ NCs were treated with OA only,^[@ref38]^ in agreement with our observations. Other reports also point to the detrimental effects of the treatments with increased concentrations of carboxylic acids or when the acid is a sole capping/treating agent.^[@ref25]^ Kido et al. also studied DDAB-OA treatments, varying the choice of the nonsolvent (BuOH, AcOEt, AcOBu, MeCN, 2-propanol) used before and after the addition of the DDAB-OA mixture,^[@ref39]^ achieving PL QYs of 70--80% in solution and demonstrating LEDs with external quantum efficiencies of 8.73%. Even higher EQE values of up to 11.6% have been reported with CsPbBr~3~ NCs synthesized using a multiligand system, containing DDAB.^[@ref15]^ Yang et al.^[@ref92]^ used a mixture of oleylammonium bromide and lead oleate for improving the PL QY of CsPbBr~3~ nanowires to ca. 50%. Overall, the \[CsPbX~3~\](PbX~2~)~*k*~\[AX′\]~*n*~ model is consistent with all known studies; in particular, Nag et al. recently elucidated the surface chemistry of OLA/OA-synthesized CsPbBr~3~ NCs by combining XPS, NMR, and DFT and arriving at similar conclusions as to CsBr termination with partial substitution of Cs^+^ with OLA cations.^[@ref56]^

As to the closely related CsPbI~3~ NCs, quite intriguing is the effective enhancement of PL QYs of CsPbI~3~ to 30--100% and substantial delay of the phase transition into a nonperovskite phase (a characteristic issue of this iodide) after treatment with trioctylphosphine.^[@ref68],[@ref72],[@ref93]^ We can attribute such treatment to Lewis acid--base (TOP being Lewis base; for instance, TOP can dissolve PbX~2~ into apolar solvents) interaction with undercoordinated Pb atoms at the NCs surface, leading either to coordination of TOP to the NC surface (as experimentally implied in ref ([@ref68])) or to the removal of such an adduct from the NC surface (thus restoring the NC "closed shells", similarly to the thiocyanate treatment). Similar effects (increased PLQYs and longer radiative lifetimes) were observed also from the thin films of MAPbI~3~ treated with TOP or other Lewis acids.^[@ref94]^

Highly relevant are also observations on the PL behavior of polycrystalline perovskite thin films, used in photovoltaics and light-emitting devices. Stranks et al. have recently shown that K halide termination at the surfaces or grain boundaries of (Cs,FA,MA)Pb(I~0.85~Br~0.15~)~3~ films led to external PL QYs of 66%, which, together with accounting for photon recycling and light-out-coupling effects, give internal yields exceeding 95%.^[@ref95]^

*Utility of ICP-OES and XPS for Monitoring the Anion/Lead Ratio: Experiment and Discussion.* ICP-OES provides an overall chemical composition of NCs, thus being the most relevant tool for testing the compositional predictions outlined in [Figures [1](#fig1){ref-type="fig"}](#fig1){ref-type="fig"} and [2](#fig2){ref-type="fig"}. XPS, on the contrary, probes only the surface region, typically up to 2 nm in depth (see the sketch in [Figure S10](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)). The signal collection depths with XPS is also element-specific and depends on the presence and density of the surface capping ligands etc. Hence it is natural to expect that ICP-OES and XPS may yield quantitatively different results. XPS by no means can be expected to reflect the overall stoichiometry of the sample but should rather be used to probe relative changes in the surface composition in response to various surface treatments or processing conditions. We suggest that Rutherford backscattering spectrometry (RBS) is a method that may be advantageous over ICP-MS, ICP-OES, or XPS for the quantitative elemental analysis of NCs;^[@ref20]^ its only shortcoming is its generally lower availability at most institutions.

We have carried out ICP-OES analysis for CsPbBr~3~ NCs with different surface ligands or treatments. In satisfactory agreement with [Figures [1](#fig1){ref-type="fig"}](#fig1){ref-type="fig"} and [2](#fig2){ref-type="fig"}, conventional OLA/OA-capped, ∼9 nm CsPbBr~3~ NCs, and the same NCs treated with DDAB or DDAB/PbBr~2~ and properly purified from the excess of ligands all exhibit Br/Pb ratios above 3, typically 3.2--3.5, in agreement with the conclusion that OLA and DDA cations are the dominant long-chain organic species in these NCs, charge balanced with Br^--^. We note that some of the excessive Br might originate from the residual ligand too. On the contrary, zwitterionic-ligand-capped CsPbBr~3~ NCs, synthesized as reported by us earlier,^[@ref10]^ all exhibit Br/Pb ratios below 3 (typically 2.6--2.9). In such NCs, one expects that the {AX′} layer is rather made of zwitterionic ligands and hence is rather Br-poor. We also note that we have developed a special procedure for the sample preparation for ICP-OES, which is rather well suited for all APbX~3~ NCs (see the [Supporting Information](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf) for details). Therein, we omitted using oxidative digestive solutions, as these led to the loss of halide (as volatile X~2~). Instead, CsPbBr~3~ NCs were ionically dissolved in a polar solvent, an aqueous HCl solution, that can solubilize both the core CsPbBr~3~ and ligands (DDAB, zwitterionic, both forming molecular micelles in water).

The survey XPS spectra confirm the presence of Cs, Pb, Br, N, C, and O in the samples. The latter three are also common contaminants in conventional XPS procedures for organic-capped NCs. Thus, we focus on discussing the other elements, using quantitative analysis of higher resolution spectra for each element ([Figures S11 and S12](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)). We emphasize that, with the signal collection depth with the benchtop XPS being limited to ca. 2 nm, one should not expect any quantitative match with the theoretical CsPbBr~3~ stoichiometry or overall stoichiometric deviation presented in [Figures [1](#fig1){ref-type="fig"}](#fig1){ref-type="fig"} and [2](#fig2){ref-type="fig"}. It is rather the relative trends between the samples that makes the most sense. Our spectra are also similar to those reported in the literature.^[@ref38]^

The N 1s core level is presented as a single peak, whose energy correlates with the chemical identity of the N-containing species: 402.5 eV for "starting colloid" purified by acetonitrile \[sample (3), ligand OLA\], 403.2--403.5 eV for DDAB-treated NCs \[samples (7, 9), OLA cation displaced with DDA\] and 400.4 eV for a reference sample of FAPbBr~3~ single crystals. Reference CsPbBr~3~ single crystals showed no signal from N 1s, confirming that the signal quantitatively originates from the sample. Interestingly, the N 1s/Pb 4f signal ratio is close to the expected value of 2 (FA contains two N atoms) for the FAPbBr~3~ signal, and an order of magnitude lower for CsPbBr~3~ NCs.

With Br/Pb XPS ratios ([Table S4](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf)), the general trend is that this ratio is close to that obtained with CsPbBr~3~ and FAPbBr~3~ bulk reference samples. Most of the reports in the literature compare intensity ratios between Br 3d and Pb 4f signals and report values that are equal to or higher than 3 (3--3.2)^[@ref22],[@ref56],[@ref66],[@ref93]^ and lower than 3 (down to 2.9).^[@ref22],[@ref28],[@ref58],[@ref66]^ In our case, these values are in the range 2.91--2.99 for DDAB-treated NCs \[samples (7 and 9)\], 2.86 for a bulk CsPbBr~3~ single crystal, and 2.96 for a FAPbBr~3~ single crystal. We also note that the Br/Pb ratios determined from another core level (Br 3p) are by lower ca. 20%. We also note that there is no obvious reason to assume that the Br 3d signal is more appropriate to choose; on the contrary, Br 3p is spectrally closer to Pb 4f and thus correction factors are not as significant. As to Cs/Pb ratios, all values substantially exceed unity (by 20--50%), regardless of which Cs core level is taken into consideration (Cs 3d or Cs 4d). This highlights the inherent uncertainty about the signal collection depth with XPS. DDAB-treated samples all exhibit Cs/Pb ratios that are by just 1--5% smaller than for bulk CsPbBr~3~. For sample 3 (purified by acetonitrile), slight increases in the Br 3d/Pb 4f ratio to 3.12 and Cs 3d/Pb 4f to 1.41 were observed, possibly indicating a preferential loss and damage of the PbBr~2~ shell and surface enrichment with CsBr.

It is also important to point out that we have not observed any sign of deep structural transformation on the basis of XPS, ICP, and optical characterization. In principle, CsPbX~3~ can fully or partially convert into CsX, CsPb~2~Br~5~, and Cs~4~PbX~6~ NCs by adding or eliminating CsX or PbX~2~ units, with the aid of strongly coordinating ligands and/or highly polar solvents.^[@ref57]−[@ref63],[@ref65]^ These transformations have not been detected after the treatments discussed in this work.

*Conclusions.* We propose an atomistic mechanism for the processing- or aging-induced surface damage of colloidal CsPbX~3~ (X = Cl, Br, I) NCs. With the example of CsPbBr~3~ NCs, we rationalize the formation of trap states, corroborated by DFT simulations and validated by the experiment (elemental analysis and optical measurements). Healing of the surface trap states requires restoration of all damaged PbX~6~ octahedra and establishing a stable outer AX′ shell with cationic (A) and anionic (X′) ligands forming a core--inner shell--outer shell NC structure depicted as \[CsPbX~3~\](PbX~2~){AX′}. Such NCs are halogen-rich when X′ is largely made of X ions, and halogen-poor when other anions assume the positions of X′. Restoration of such a structure, seen as an increase in the PL QY to 90--100% and improvement in the overall robustness of CsPbBr~3~ NCs, was attained using a facile postsynthetic treatment with a PbBr~2~ + DDAB mixture. This model is consistent with typical observations on the PL properties of perovskite thin films as well. Future work should focus on the effective engineering of trap-free core--shell morphologies, sufficiently robust for dispersing perovskite NCs in aqueous media and for enabling thermal processing without NC sintering.

The Supporting Information is available free of charge on the [ACS Publications website](http://pubs.acs.org) at DOI: [10.1021/acsenergylett.8b01669](http://pubs.acs.org/doi/abs/10.1021/acsenergylett.8b01669).Computational details (including figures of influence of achieving charge balance on the anion/lead ratio and of the geometry and electronic structure of CsPbX~3~ NCs, table of band gap values); synthesis, isolation, surface treatments and optical characterization (including size histogram from TEM images, absorption, photoluminescence, and TRPL spectra, photos of the vials with the colloidal solutions, TEM images, tables of fitting results); ICP-OES and XPS analysis (including a table of composition analysis) ([PDF](http://pubs.acs.org/doi/suppl/10.1021/acsenergylett.8b01669/suppl_file/nz8b01669_si_001.pdf))

Supplementary Material
======================

###### 

nz8b01669_si_001.pdf

The authors declare no competing financial interest.

This work was financially supported by the European Union through the FP7 (ERC Starting Grant NANOSOLID, GA No. 306733), by the Swiss Federal Commission for Technology and Innovation (CTI-No. 18614.1 PFNM-NM). M.I.B. acknowledges financial support from the Swiss National Foundation (SNF Ambizione Energy Grant No. PZENP2_154287). I.I. acknowledges The Netherlands Organization of Scientific Research (NWO) for financial support through the Innovational Research Incentive (Vidi) Scheme (Grant No. 723.013.002) and S.C.B. for financial support through the Innovational Research Incentives (Veni) Scheme (Grant No. 722.017.011). The computational work was carried out on the Dutch national e-infrastructure with the support of the SURF Cooperative. The authors are grateful to Empa Electron Microscopy Center for access to the instruments and for technical assistance.
