Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Manipulating the fluorescence lifetime at the sub-cellular scale via photo-switchable barcoding


Fluorescent barcoding is a pivotal technique for the investigation of the microscale world, from information storage to the monitoring of dynamic biochemical processes. Using fluorescence lifetime as the readout modality offers more reproducible and quantitative outputs compared to conventional fluorescent barcoding, being independent of sample concentration and measurement methods. However, the use of fluorescence lifetime in this area has been limited by the lack of strategies that provide spatiotemporal manipulation of the coding process. In this study, we design a two-component photo-switchable nanogel that exhibits variable fluorescence lifetime upon photoisomerization-induced energy transfer processes through light irradiation. This remotely manipulated fluorescence lifetime property could be visually mapped using fluorescence lifetime imaging microscopy (FLIM), allowing selective storage and display of information at the microscale. Most importantly, the reversibility of this system further provides a strategy for minimizing the background influence in fluorescence lifetime imaging of live cells and sub-cellular organelles.


With increasing attention directed to exploring microscale events, more effective tools are needed to fully understand processes at the micro-level1. Micro-barcoding is a versatile technique that provides multiplex and high-throughput information storage for micro- and nanoscale applications across the fields of biological, medicinal, and material sciences2,3. Particularly, optical multiplexing or fluorescent barcoding has recently attracted increasing interest, largely owing to its high sensitivity, fast signaling, and minimally invasive non-destructive nature4,5,6,7,8. However, current fluorescent barcoding techniques mainly rely on the use of spectral multiplexing and fluorescence intensity (FI) encoding, which are typically susceptible to spectral overlap of the encoding elements. Moreover, obtaining a quantitative readout is a major challenge as a consequence of the variability of sample concentration and external microenvironment.

One of the forefront techniques to provide reproducible output in the micro barcoding area is utilizing fluorescence lifetime, an intrinsic photophysical property that is independent of the local fluorophore concentration and the technique used for measurement9,10. With state-of-the-art microscopic imaging techniques, fluorescence lifetime could be used as a straightforward technology to minimize the limitations in traditional fluorescent barcoding, providing a reproducible and quantitative readout over time10,11,12. Current research into lifetime barcoding has predominantly exploited inorganic fluorescent materials containing lanthanides and transition metals ions, in which the fluorescence lifetime can be modulated by altering their structural configuration and composition during synthesis13,14,15,16. Alternatively, fluorescence lifetime can be tuned by modifying the efficiency of energy transfer between different molecules17,18. Hildebrandt and co-workers have revealed detailed insight into the energy transfer between lanthanide complexes and semiconductor quantum dots, leading to a photoluminescence lifetime platform for a variety of applications including bioanalysing, imaging, and information storage19,20,21,22. Despite these advances, the search for responsive materials in which the fluorescence lifetime can be flexible and adjustable in real-time is still an ongoing challenge23. Alternatively, polymeric nanoparticles can offer great advantages in this area, owing to their ease of functionalization and capability to quickly respond to external stimuli24.

Substituted maleimides, a range of versatile small molecule fluorophores, are distinguished by their small size and bright fluorescence emission, but most importantly their fluorescent properties can be tuned by carefully modifying the substituents and are dependent upon the fluorophore microenvironment25,26,27. As previously reported by our group, the encapsulation of dithiomaleimides (DTM) in a hydrophobic environment, such as the core of an amphiphilic polymeric assembly, significantly increases the fluorescence lifetime by eliminating both self-quenching caused by DTM aggregation and collisional quenching from the surrounding solvent28,29. In comparison to inorganic fluorophores, small molecule fluorophores like substituted maleimides are promising as a consequence of lower toxicity and easily tuneable fluorescent properties, therefore representing a potential tool for barcoding applications30,31,32,33.

Light, as a non-invasive stimulus, is one of the prominent tools used to achieve external manipulation without the need for physical contact, hence being ideal for information imprinting, real-time labeling, and selective tracking34,35,36,37,38. In this study, we design a light-switchable lifetime barcoding system based on two-component nanogels involving substituted maleimides and a spiropyran (SP) switch. By inducing reversible photoisomerization processes, nanogels with similar structures but multiplex lifetimes could be realized via Förster Resonance Energy Transfer (FRET) between the DTM fluorophore to the ring-opened form of the SP photochrome, allowing for dynamic fluorescence lifetime coding in a controllable, non-invasive fashion. Moreover, the multi-states of these light-switchable lifetime barcodes benefit from the self-correction technique which could be used to increase the sensitivity of the fluorescence lifetime imaging microscopy and provide a high level of information stored at the micro-scale. As a proof-of-concept, the switchable nanogel is functionalized with mitochondria targeting group and visualize at both the cellular and subcellular scales in living cells, showing the applicability of this system in monitoring the cellular microenvironment.


Design and preparation of photo-switchable nanogels

Fluorescence lifetime, as a direct measurement of the time-resolved fluorescence decay, is closely related to the structure of the molecule and the interaction with its microenvironment39. In this study, the tailoring of fluorescence lifetime relies on modulating the FRET, which has been proved to be a practical tool for controlling fluorescence properties through long-range dipole–dipole coupling18. DTM was chosen as a fluorescence donor owing to its strong emission and sufficiently long fluorescence lifetime in a hydrophobic environment28,29,40. Compared with commonly used small-molecule fluorophores, the uniquely high fluorescence lifetime of DTM dyes in hydrophobic environments allows both (i) a relatively wide lifetime range for more diverse fluorescence lifetimes with minimum overlap and (ii) high resolution in a biologically relevant context, representing a distinct advantage over commonly used organic dyes, in which short lifetimes are usually interfered with cellular autofluorescence41. A photochromic SP derivative was chosen as the fluorescence acceptor for its ability to undergo isomerization processes in response to a light stimulus42. By carefully varying the spectral overlap between the donor and the acceptor, the efficiency of the FRET process and consequently the fluorescence lifetime can be readily modulated.

Herein, methacrylate DTM and SP monomers were synthesized (Supplementary Figs. 1, 2)43,44 and copolymerized via one-pot micro-emulsion polymerization with methyl methacrylate (MMA) as the hydrophobic matrix and ethyleneglycol dimethacrylate (EGDMA) as the crosslinker (Fig. 1a)45. The experimental details are provided in the Methods section. In order to understand the effect of energy transfer on fluorescence lifetime properties, we constructed a series of crosslinked nanogels with different ratios of DTMMA and SPMA formed in situ during the polymerization (N1-5, Fig. 1c, Supplementary Table 1). The high conversion (>99%) of the polymerization was determined by monitoring the consumption of the acrylate groups in 1H NMR spectroscopy analysis of the nanogel (Supplementary Fig. 3). Thus, the amount of the two functional monomers in the resultant nanogels can be quantitatively assessed based on the starting ratio of two monomers. Transmission electron microscopy (TEM) visualization confirmed the spherical morphology of the nanogels (Fig. 1b and Supplementary Fig. 4) while the size was measured by dynamic light scattering (DLS) and ranged from 22 to 32 nm with a low polydispersity (Fig. 1c and Supplementary Fig. 5). The nanogel solutions were found to be stable for at least two months when stored in the dark (Supplementary Fig. 6a, b) and exhibited no obvious size change after 120 s of light irradiation (Supplementary Fig. 6c–f). The thermostability of the nanogel solution (N1 as an example) was also analysed by increasing the temperature from 25 to 70 °C in steps of 5 °C (Supplementary Fig. 6g, h). The hydrodynamic diameters of the nanogel undulated slightly within the range of 25–35 nm without visible sign of aggregation or disassembly.

Fig. 1: Fabrication of the photo-switchable polymeric nanogels.
figure 1

a Schematic representation of the preparation of light-triggered fluorescence lifetime switchable nanogels via emulsion polymerization; KPS: potassium persulfate; SDS: sodium dodecyl sulfate. b TEM micrographs of nanogel N4 (stained with 1 wt% uranyl acetate in water) illustrating the spherical morphology and histogram of observed size distributions; Scale bar: 500 nm (50 nm in zoomed region); Observed TEM sizes were collected from visualization of at least three separated samples; c Size distributions and corresponding hydrodynamic diameters of nanogels with variable SMPA and DTMMA ratios, obtained by DLS (detection angle = 173°) carried out in water at 25 °C (DoF = degree of functionalization, Dh = hydrodynamic diameter, PD = polydispersity). All determinations were repeated four times with 15 measurements recorded for each run.

Evaluation of the energy transfer in the photoisomerization process

DTM, protected in the crosslinked polymeric environment, has a green emission in the range of 450–600 nm with high fluorescence quantum yield (Φf = 51%, 5-(6)-carboxyfluorescein as the reference) (Supplementary Figs. 7, 8). In comparison, the absorption of the ring-closed form of SP is negligible between 500 and 600 nm, while the ring-opened form of the photochromic dye absorbs in this wavelength range, offering the ideal scenario for an efficient FRET (Fig. 2a). The energy transferability between the donor and acceptor was quantitatively determined as the Förster radius (R0) which is the critical Förster distance for 50% FRET efficiency46. The critical transfer distance R0 of the DTM and ring-opened form of SP was estimated to be 18 Å (Supplementary Equations 9, 10, Supplementary Table 2).

Fig. 2: Energy transfer involved photophysical behavior of nanogels.
figure 2

a Spectra overlap between the emission of the DTMMA (donor) and absorption of the SPMA (open and closed form, acceptor); b Schematic illustration of HOMO and LUMO isosurfaces of DTMMA and SPMA with their first singlet excitation energies in a non-polar environment based on DFT and TD-DFT calculations; c, d Emission intensity changes of nanogel N4 before and after UV irradiation for 0–100 s (λex. = 410 nm, slit width: Ex. = 1 nm, Em. = 1 nm); e Fluorescence intensity cycling upon UV and vis irradiation (the DTM channel was recorded at 520 nm and the SP channel was recorded at 610 nm, irradiation time: 120 s); f Fluorescence images of the light-switchable nanogel solutions (N1–5) before and after UV irradiation for 120 s. Related data are provided in Source data file.

To gain further insight into the energy transfer interactions between SP and DTM, time-dependent density functional theory (TD-DFT) calculations were carried out. The values of first singlet excited states for DTM and the ring-opened form of SP were calculated as 2.7 and 2.4 eV, respectively, while the first singlet excited state for the ring-closed form of SP was calculated as 3.1 eV, confirming that the FRET only occurs when SP is present as the ring-opened isomer (Supplementary Tables 37 and Fig. 2b).

Photophysical behavior of nanogels using light as a stimulus

The 2D excitation-emission spectrum of the nanogel only containing DTM (N1) revealed that fluorescence emission of DTM was maintained in the nanogel environment with green emission (450–600 nm) when excited at ca. 410 nm (Supplementary Fig. 7). On the contrary, upon irradiation of the nanogels containing both DTM and SP (N2-4), the green emission in the DTM channel (λem. = 520 nm) gradually decreased and a new peak around 610 nm emerged, indicating a FRET donor/acceptor pair was formed between the DTM and ring-opened SP (Fig. 2c). As anticipated, DTM emission could be fully recovered via irradiation with visible light, during which the FRET process is blocked by switching the SP back to the ring-closed form. The kinetics of FI against UV irradiation time, in N4, selected as an example, clearly revealed that the emission is closely related to the UV irradiation time (Fig. 2e). This can be ascribed to the increased amount of ring-opened SP during the light irradiation process. The photoconversion of SP reached a plateau after 31 s of irradiation, resulting in the final state in which the FRET is no longer influenced by UV (Supplementary Fig. 10). This can be fully recovered within 40 s of visible light irradiation, as confirmed by monitoring the intensity changing at 520 nm (DTM) and 610 nm (SP) (Fig. 2d and Supplementary Fig. 10). Moreover, the fluorescence emission was reversibly switched through alternating UV and visible irradiations (Fig. 2e). A slight decrease in intensity in the red channel and an increase in the green channel were observed after irradiating the sample with light 10 times presumably as a consequence of the irreversible photo-oxidation side reaction in SP molecules42. Different quenching effects on DTM emission in nanogels N2-4 were observed (Fig. 2f) after UV irradiation owing to the different efficiencies of the FRET process (Supplementary Figs. 1518). A higher ratio of SP to DTM in the nanogels led to an enhanced quenching effect in the DTM channel as a result of the expanded spectral overlap and this provided a method by which the energy transfer efficiency and photoswitch contrast could be selectively controlled.

Light-stimulated reversible fluorescence lifetime

Fluorescence lifetime imaging microscopy equipped with a time-correlated single-photon counting (TCSPC) was employed as a decoding technique for the visualization of localized fluorescence lifetime31,47,48,49. The determination of the intensity average lifetimes (τAv, I) and amplitude average lifetimes (τAv, A) was conducted using the Supplementary Equations 4, 5. The time-resolved fluorescence decay of the DTM nanogel (N1) was firstly measured in the time range of 1–100 ns excited by a pulsed laser (405 nm) with a calculated intensity-averaged lifetime (τAv, I) of 28 ns (Supplementary Table 8). Nearly identical fluorescence decays were observed for N1 when changing the concentration (1–4 mg mL−1) or reversibly exposing the nanogel to UV and vis light (6 cycles), leading to a stable and sufficient lifetime platform (Supplementary Fig. 12).

Once this was established, the time-resolved fluorescence decays of the nanogels containing both DTM and SP (N2-4) were evaluated in situ after irradiating for 120 s to guarantee the photoconversion process. Two-dimensional time-resolved fluorescence decay spectra were firstly compared via monitoring the lifetime decay at different emission wavelengths (Supplementary Fig. 13). The decrease in the fluorescence lifetime of N4 solution in the DTM channel was observed, with a new fluorescence decay of ring-opened SP appearing from 600 to 650 nm, as the consequence of light-stimulated FRET. As depicted in Fig. 3a, b and Supplementary Table 8, the average lifetimes (τAv, I) in N1-4 can be tuned from 15 to 28 ns after UV irradiation, linearly relating to the ratio of the two monomers. The FRET efficiency was calculated from the acquired lifetime results as 6% for N2 to 27% for N4 (Supplementary Table 9). Moreover, multiple lifetimes could be achieved in the same nanogel by tuning the UV irradiation time before reaching a plateau (Fig. 3c, Supplementary Fig. 14). However, with the aim to provide reproducible and quantitative outputs for barcoding applications, this study only focusses on manipulating the final states of the nanogel by changing the ratio of the FRET donor and acceptor. The overall decay of lifetime in N4 was fully reversible for 4 cycles of UV and vis light without any measurable alteration (Fig. 3d). This reversible behavior was further visualized through fluorescence lifetime imaging microscopy (FLIM), in which the different lifetimes can be observed (Fig. 3e, Supplementary Figs. 1518).

Fig. 3: Quantification and visualization of the fluorescence lifetime in photo-switchable nanogels.
figure 3

a Fluorescence decay of nanogels (N1, blue, N2, red, N3, pink, N4, yellow) after UV irradiation for 120 s (λex. = 405 nm); Bottom: corresponding residuals. The sum of the three-exponential fitting with calculated averaged lifetime evaluation is given in Supplementary Information (Supplementary Table 8); b Fluorescence lifetime histogram of the nanogel solutions (N1-N4) after UV irradiation (λex = 410 nm); c The average lifetime (τAv,I) of nanogel solution (N4) after UV irradiating for 0–50 s; d Reversible 2D fluorescence decay of N4 upon alternating the UV and visible irradiation for six times (λex. = 375 nm, λem. = 520 nm); e Fluorescence lifetime mapping of nanogel solutions (N1-4, 1 mg mL−1) before and after UV irradiation for 120 s (λex. = 405 nm, λem. = 520 nm). Right: FLIM map showing the reversible lifetime of N4 in solution through alternating the UV and visible irradiation (λex. = 405 nm, irradiation time: 120 s). Color bar: Fast lifetimes (ns); Similar images were obtained for more than two sets of experiments.

Finally, we investigated the ability to encode information in our nanogels that could be subsequently decoded using UV light. Spherical PVA films were loaded with two nanogel solutions, N1 as the control, and N4 as representative of the photoswitchable system. While the lifetime decay of the two region-of-interest (ROIs) was comparable before irradiation, a change in lifetime after UV exposure was detected for the ROI corresponding to N4, while unchanged lifetime was observed for N1 (Supplementary Fig. 19). This demonstrates that not only information can be stored in our nanogel systems but can also be selectively decoded using light as a stimulus. Moreover, although the information can be visualized using both fluorescence microscopy and FLIM, a more quantitative result could be achieved with FLIM, which allows the lifetime to be accurately extracted by selecting ROIs.

Reversible fluorescence lifetime barcoding in living cells

Having demonstrated the capability of dynamic lifetime barcoding in selective information encryption, we next investigated the ability of the reversible nanogel to be used as a fluorescence lifetime barcoding tool. In order to increase the stability of our nanogel system, the CLD was increased to 50% to achieve a denser core (N6). The cytotoxicity of the nanogels was firstly investigated in A549 cell line (cancer lung fibroblasts) where satisfactory cytocompatibility was observed when incubated with nanogels with or without fluorescent units up to 2 mg mL−1 (Supplementary Fig. 20). A549 cells were then incubated with nanogel N6 and the internalization of the material in these cells was evaluated. FLIM microscopy was employed to obtain quantitative photophysical values such as fluorescence lifetime, fluorescence count rate, and the total number of photons. From the FLIM images, nanogel N6 showed homogeneous distribution in the cell cytoplasm, while maintaining its photoswitchable properties (Supplementary Fig. 21).

We then sought to investigate the intracellular encoding and decoding process in more detailed cell structures, such as the mitochondria. In order to target mitochondria, triphenylphosphonium (TPP) was conjugated to the nanogel via an azide-alkyne cycloaddition to obtain TPP-N6, after functionalizing the nanogel with an azide reactive group (Fig. 4a, Supplementary Figs. 2226)50. The functionalized nanogel was incubated in live A549 cells along with commercial MitoTracker Red for comparison. From confocal fluorescence analysis, co-localization was observed between the DTM channels in TPP-N6 and the red channel of commercial Mito Tracker (Supplementary Fig. 27), with a Pearson correlation coefficient (PCC) of 0.85 for TPP-N6 compared with the nanogel without the TPP modification (0.57), indicating the successful localization of these materials inside the mitochondria (Fig. 4b and Supplementary Fig. 28). Importantly, the incorporation of the tracker group did not influence the reversibility of the nanogel system.

Fig. 4: Functionalized photo-switchable nanogels for lifetime imaging in living cell.
figure 4

a Schematic illustration of the nanogel functionalization strategy and post-polymerization modification strategy for mitochondria tracking. b Confocal images of co-localized nanogel (TPP-N6, green channel) with MitoTracker Red (Red channel) in live A549 cells. Green channel: the ring-opened form of SP (λex. = 405 nm); Red channel: MitoTracker Red (λex. = 630 nm). The intensity correlation plots of TPP-N6 and MitoTracker Red were processed on imageJ and Pearson correlation coefficient was analyzed using Coloc2 plugins; c Schematic illustration of the lifetime amplification strategy using the reversible method compared with the previous method which required extra-long lifetime. d FLIM images of the nanogel with mitochondria tracker (TPP-N6) in live A549 cells under the stimulation of remote UV and Vis manipulation (Irradiation time: 120 s). Similar images were obtained for more than two sets of experiments. The insert images are the lifetime histograms of the nanogel in the whole image; Scale bar: 60 μm; Color bar: Fast lifetimes (ns). e The FLIM image (top) of TPP-N6 in live A549 cells before UV irradiation was subtracted with the same range after UV irradiation calculated by ImageJ. The subtracted image (top) was compared with the confocal fluorescence (bottom) of MitoTracker Red (Red channel).

Compared with traditional lifetime barcoding materials that require very long lifetimes (µs-ms) to minimize the effect of autofluorescence in the cellular environment, the reversible nature of the lifetime in this nanogel system provides a strategy to amplify the signal to noise ratio by deducting the two FLIM images between the reversible states (Fig. 4c). As an example, the FLIM image of TPP-N6 after UV irradiation (UV2, Fig. 4d) was deducted from the FLIM image before UV irradiation (Vis1, Fig. 4d), resulting in an amplified image in which the difference in lifetime was doubled (subtracted FLIM, Fig. 4e). In conclusion, the switchable nanogel system is not only able to track subcellular organelles with low toxicity but also provides a strategy to amplify the signal and diminish the background autofluorescence in FLIM without the need for the extra-long lifetimes.


Herein, we report a strategy to remotely control the fluorescence lifetime in polymeric nanogels via a photoisomerization-induced FRET process. The dynamic light-control over the fluorescence lifetime was successfully achieved via an efficient FRET process between the substituted maleimide DTM and a SP photoswitch, resulting in a series of nanogels with similar surface chemistry but broad dynamic lifetimes suitable for multiplex system coding and counting. These nanogel systems were further employed for lifetime barcoding using FLIM, where the multistates of the fluorescence were tracked and selectively visualized using a controllable, reversible, and non-invasive method. By simultaneously extracting lifetimes as the readout, the nanogel systems are capable of being selectively decoded with quantitative results, allowing information storage at the micro-scale. As a proof-of-concept, a mitochondrial tracker was introduced onto the nanogel via a click reaction obtaining live-cell lifetime barcoding at the subcellular scale and increasing the sensitivity of the imaging without the need for extra-long lifetimes.

We believe that the potential of the strategy presented herein will pave the way towards the application of soft materials in fluorescence lifetime barcoding. The multistate of the fluorescence lifetime in the polymeric nanogel has the potential to break the limitation of background influence without using metal ions. The spatially defined nature and multiplex-output of these nanogels will generate a high level of interest across a broad spectrum of areas and could lead to practical applications in bioanalytical science and bioengineering including high-throughput gene detection, clinical diagnosis, and drug screening.



All chemicals and reagents were purchased from either Sigma Aldrich, Fisher Chemicals, Acros Chemicals or Alfa Aesar. Solvents were purchased from Fisher Scientific and used as received. Dry solvents were used directly as obtained from a solvent tower purifying system. Commercially available monomer MMA and ethylene glycol dimethacrylate (EGDMA) were purified using a column of basic alumina prior to use. Experimental procedures for the preparation of azide functionalized monomer (3-azidopropyl methacrylate) were reported previously51. (But-3-yn-1-yl) triphenylphosphonium bromide was synthesized following previous literature50.

Synthesis of dye-functionalized monomers

The 3-(3,4-bis(butylthio)-2,5-dioxo-2,5-dihydro-1H-pyrrol-1-yl)propyl methacrylate (DTMMA) and 2-(3′,3′-dimethyl-6-nitrospiro[chromene-2,2′-indolin]-1′-yl)ethyl methacrylate (SPMA)43,44 was synthesized through several reaction steps. Details of synthesis and characterization of the two functional monomers are given in the Supplementary methods and supplementary Figs. 3035.

Preparation of nanogel via micro-emulsion polymerization

Nanogels were synthesized by the micro-emulsion polymerization reported by our group45. In general, sodium dodecyl sulfate (0.1 g) was dissolved in water (50 mL) under N2 bubbling at room temperature. Subsequently, the methyl methacrylate (MMA, 0.5 g), ethylene glycol dimethacrylate (EGDMA 2.5 mg, CLD = 1%), DTMMA and SPMA were mixed before being added to the above solution under N2 protection. The reaction was kept stirring at 800 rpm and a solution of potassium persulfate (10 mg in 1 mL H2O) was added. The reaction was further stirred at 70 °C for 14 h. The resulting nanogels were filtered using a 0.45 μm nylon syringe filter and dialyzed (MWCO 3.5 kDa) against water prior to analysis. The final concentration was determined after freeze-drying.

Hydrodynamic diameters (Dh) and size distributions (PD) of acquired nanogel were determined by DLS using a Malvern Zetasizer Nano ZS with a 4 mW He-Ne 633 nm laser module operating at 25 °C. Measurements were carried out at an angle of 173° and results were analyzed using Malvern DTS v7.03 software. All determinations were repeated four times with 15 measurements recorded for each run. Dh values were calculated using the Stokes-Einstein equation where particles are assumed to be spherical.

Preparation of functionalized nanogels via click reaction

The azide functionalized nanogel was prepared using a similar method with minor changes. Briefly, sodium dodecyl sulfate (0.1 g) was added to water (50 mL) under N2 at room temperature. Subsequently, the MMA, EGDMA (0.125 g, CLD = 50%), DTMMA (1 mg), SPMA (8.4 mg) and azide monomer (3-azidopropyl methacrylate) were mixed before being added to the above solution under N2. The reaction was kept stirring at 800 rpm and a solution of potassium persulfate (10 mg in 1 mL H2O) was added. The solution was further stirred at 70 °C for 14 h. The resulting nanogels were filtered using a 0.45 μm nylon syringe filter and dialyzed (MWCO 3.5 kDa) against water prior to analysis. The final concentration was determined after freeze-drying.

TPP functionalized nanogels were prepared via an azide-alkyne copper-catalyzed click reaction52. The (But-3-yn-1-yl) triphenylphosphonium bromide was synthesized following a previous report50. Firstly, to the 50 mL solution (water/DMSO = 1:1) of azide functionalized nanogels (DoF 11%, 2 mg mL−1), sodium dodecyl sulfate (50 mg) was added under N2 at room temperature. Subsequently, (But-3-yn-1-yl) triphenylphosphonium bromide (50 mg), sodium ascorbate (5 mg) and CuSO4·5H2O (2.5 mg) were mixed before being added to the above solution under N2. The reaction was kept stirring at 60 °C for 24 h. The resulting nanogels were filtered using a 0.45 μm nylon syringe filter and dialysed (MWCO 3.5 kDa) against water for 2 days. The final concentration was determined after freeze-drying.

Computational method

To obtain the most stable conformations of DTM and ring-closed SP, a Monte Carlo conformational search was carried out using the OPLS force field (for each system 1000 conformational search steps have been performed). The 20 low-energy structures were selected and re-optimized using the B3LYP and CAM-B3LYP functionals and the 6-311 G(d,p) basis set. It is worth noting that both DFT methods coincided with the same lowest-energy structures. Additional optimization processes were also performed using the M06-2X and PBE1PBE functionals and the 6-311 G(d,p) basis set. The dispersion effects (in exception of the M06-2X functional) and the solvent were included in all the optimization processes. The D3-Grimme’s dispersion with Becke-Johson damping factor was used to evaluate the dispersion effects. The solvent was considered using the polarization continuum model (PCM) and the dielectric constant of cyclohexane (ε = 2.0165). The ring-opened SP geometry was obtained from the modification of the lowest-energy ring-closed SP conformation. The harmonic vibrational frequencies were also calculated to verify that all the stationary points are minima of their potential energy surface.

These structures (DTM and ring-closed and ring-opened SP) were used for the TD-DFT calculations (B3LYP, CAM-B3LYP, M06-2×, and PBE1PBE) to describe the absorption and emission (geometry optimization of the first singlet excited state) processes. The Macromodel and Maestro software packages were used to carry out the conformational search. All the remaining calculations (geometry optimizations, frequencies, and TD-DFT) were performed using the Gaussian 16 program package (the references of the computational methods are reported in the Supplementary Information).

Light irradiation

The UV (365 nm, 6 W) and light-emitting diode (White LED lamps, 2 W) were used as light sources for UV and visible light irradiation, respectively.

Fluorescence steady-state and lifetime measurement and imaging

Steady-state fluorescence spectroscopy: All steady-state spectra were obtained with an Agilent Cary Eclipse Fluorescence spectrophotometer equipped with the photomultiplier tube (PMT) detector with a scan rate of 600 nm per minute. The emission kinetics were measured on an Edinburgh Instruments FS5 spectrofluorometer equipped with a Xenon lamp. The samples were measured in deionized water and the acquired data were analyzed in Origin 2019 (Origin Labs).

Fluorescence lifetime spectroscopy: Time-correlated single photon counting (TCSPC) was employed to obtain all fluorescence lifetime spectra. This was achieved with an Edinburgh Instruments FS5 spectrofluorometer equipped with 375 ± 10 nm ps pulsed diode laser source (PicoQuant) using 10 mm path length quartz cuvettes with four transparent polished faces (Starna Cells). The emission wavelength was chosen with a monochromator at 510 ± 4 nm. The signal level was kept below 5% of the light source repetition rate. Instrument response functions (IRF) were determined from the scatter signal solution of Ludox HS-40 colloidal silica (10% particles in water w/w). The analysis was performed on Fluoracle software (Edinburgh Instruments).

Fluorescence lifetime imaging microscopy (FLIM): FLIM was performed on LSM upgrade kit (PicoQuant) mounted on a FV3000 (Olympus) confocal microscope with a IX-81 inverted base (Olympus) and the 20× and 60× oil lens (Olympus) were used for imaging. The FV3000 system was driven with the FV31S-SW Viewer software platform (Olympus) with scan rates of 1 μs pixel−1 at 515 by 512 pixels. FLIM images and spectra were detected by single-photon avalanche diodes using a 520/60 bandpass filter (AHF analysentechnik) with a 405 nm (PicoQuant) pulsed diode laser driven at 2.5 MHz. FWHM for the 405 nm laser head was 59 ps and maximum power was 0.3 mW (attenuated by variable neutral density filters to prevent count pile up and maintain counting rates below 1% bin occupancy). Acquired images containing fluorescence lifetime were analyzed using fast-FLIM method implemented in SymPhoTime software (PicoQuant) and ImageJ. All IRF deconvolved exponential fits were performed with the number of exponents selected for completeness of fit as determined by boot-strap chi-squared analysis in SymPhoTime software, typically three.

Cell culture and fluorescence imaging

Cell viability assay: A549 were purchased from Public Health England. Cells were cultured in F12K medium with addition of 10% FBS and 100 U mL−1 pen/strep at 37 °C and 5% CO2. Cells were seeded on 12-well plates at 2000 cells cm−2 and left to adhere and proliferate for 72 h. The medium was then replaced with the nanogel samples (N6 or nanogel without SPMA and DTMMA as control) in a concentration range from 0 to 2 mg mL−1. Briefly, a solution of nanogels in water (100 mg mL−1) was sterile filtered through a 0.45 μm filter. This solution was then diluted with cell culture medium (with the addition of 10% FBS and 100 U mL−1 pen/strep) to a final concentration of 10 mg mL−1. This stock solution was then used to prepare the dilutions directly on the well plates containing cells. After 24 h, the solution was removed and cells were washed with PBS (1 mL × 3) and incubated with 10% PrestoBlue viability assay following the supplier instructions. The FI was detected in a FluoStar Omega microplate reader (BMG Labtech) (λex. = 530 nm, λem. = 590 nm). Cell data are reported as viability % in comparison to the control sample. Experiments were performed in triplicate.

Live-cell imaging and colocalization: A549 cells were cultured in F12K medium with addition of 10% FBS and 100 U mL−1 pen/strep at 37 °C and 5% CO2. Cells were seeded in glass-bottom micro dishes (Thermofisher Scientific) at 5000 cells cm−2 and incubated for 24 h at 37 °C in 5% CO2. After that, cells were pre-treated with commercial MitoTrackerTM Deep Red (20 μg mL−1) for 30 min prior to incubation with different nanogels at 1 mg mL−1 for one to two hours. Upon washing with cell medium three times, the resulting cells were transferred to an Olympus FV3000 confocal microscope equipped with an incubator to keep live cells at 37 °C in a 5% CO2 atmosphere during image acquisition. Live cells were imaged with a 60× oil-immersion objective with scan rates of 1 μs pixel−1 at 515 by 512 pixels both on Olympus FV3000 Microscopy for fluorescent images and PicoQuant LSM Upgrade Kit for fluorescence lifetime images. The original images were processed using CellSens software (Olympus), SymPhoTime 64 (PicoQuant) and ImageJ with Coloc2 plugins.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

Data availability

All data needed to evaluate the conclusions in the paper are present in the paper and/or the Supplementary Materials. The source data underlying Figs. 1c, 2c, 2d, 2e, 3a, 3b, 3c, and Supplementary Figs. 5, 6, 9, 10, 11, 12, 22, 26 are provided as a Source data file. All other data are available from the corresponding author.


  1. Jin, D. et al. Nanoparticles for super-resolution microscopy and single-molecule tracking. Nat. Methods 15, 415–423 (2018).

    CAS  PubMed  Article  Google Scholar 

  2. Shikha, S., Salafi, T., Cheng, J. & Zhang, Y. Versatile design and synthesis of nano-barcodes. Chem. Soc. Rev. 46, 7054–7093 (2017).

    CAS  PubMed  Article  Google Scholar 

  3. Yang, M., Liu, Y. & Jiang, X. Barcoded point-of-care bioassays. Chem. Soc. Rev. 48, 850–884 (2019).

    CAS  PubMed  Article  Google Scholar 

  4. Ren, W., Lin, G., Clarke, C., Zhou, J. & Jin D. Optical nanomaterials and enabling technologies for high-security-level anticounterfeiting. Adv. Mater, e1901430 (2019).

  5. Huang, K., Idris, N. M. & Zhang, Y. Engineering of lanthanide-doped upconversion nanoparticles for optical encoding. Small 12, 836–852 (2016).

    CAS  PubMed  Article  Google Scholar 

  6. Lin, G., Baker, M. A. B., Hong, M. & Jin, D. The quest for optical multiplexing in bio-discoveries. Chem 4, 997–1021 (2018).

    CAS  Article  Google Scholar 

  7. Han, M., Gao, X., Su, J. Z. & Nie, S. Quantum-dot-tagged microbeads for multiplexed optical coding of biomolecules. Nat. Biotechnol. 19, 631–635 (2001).

    CAS  Article  PubMed  Google Scholar 

  8. Fang, X., Zheng, Y., Duan, Y., Liu, Y. & Zhong, W. Recent advances in design of fluorescence-based assays for high-throughput screening. Anal. Chem. 91, 482–504 (2019).

    CAS  PubMed  Article  Google Scholar 

  9. Berezin, M. Y. & Achilefu, S. Fluorescence lifetime measurements and biological imaging. Chem. Rev. 110, 2641–2684 (2010).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  10. Sarder, P., Maji, D. & Achilefu, S. Molecular probes for fluorescence lifetime imaging. Bioconjug. Chem. 26, 963–974 (2015).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  11. Lu, Y. et al. On-the-fly decoding luminescence lifetimes in the microsecond region for lanthanide-encoded suspension arrays. Nat. Commun. 5, 3741 (2014).

    ADS  CAS  PubMed  Article  Google Scholar 

  12. Li, X. et al. A stimuli-responsive smart lanthanide nanocomposite for multidimensional optical recording and encryption. Angew. Chem. Int. Ed. 56, 2689–2693 (2017).

    CAS  Article  Google Scholar 

  13. Zhou, L. et al. High-capacity upconversion wavelength and lifetime binary encoding for multiplexed biodetection. Angew. Chem. Int. Ed. 57, 12824–12829 (2018).

    CAS  Article  Google Scholar 

  14. Zhang, H. et al. Tm(3+) -sensitized NIR-II fluorescent nanocrystals for in vivo information storage and decoding. Angew. Chem. Int. Ed. 58, 10153–10157 (2019).

    CAS  Article  Google Scholar 

  15. Zhang, D. Y. et al. Delivery of phosphorescent anticancer iridium(III) complexes by polydopamine nanoparticles for targeted combined photothermal-chemotherapy and thermal/photoacoustic/lifetime imaging. Adv. Sci. 5, 1800581 (2018).

    Article  CAS  Google Scholar 

  16. Baggaley, E. et al. Long-lived metal complexes open up microsecond lifetime imaging microscopy under multiphoton excitation: from FLIM to PLIM and beyond. Chem. Sci. 5, 879–886 (2014).

    CAS  Article  Google Scholar 

  17. Jares-Erijman, E. A. & Jovin, T. M. FRET imaging. Nat. Biotechnol. 21, 1387–1395 (2003).

    CAS  PubMed  Article  Google Scholar 

  18. Algar, W. R., Hildebrandt, N., Vogel, S. S. & Medintz, I. L. FRET as a biomolecular research tool—understanding its potential while avoiding pitfalls. Nat. Methods 16, 815–829 (2019).

    CAS  PubMed  Article  Google Scholar 

  19. Chen, C. et al. Single-nanoparticle cell barcoding by tunable FRET from lanthanides to quantum dots. Angew. Chem. Int Ed. Engl. 57, 13686–13690 (2018).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  20. Chen, C., Corry, B., Huang, L. & Hildebrandt, N. FRET-modulated multihybrid nanoparticles for brightness-equalized single-wavelength barcoding. J. Am. Chem. Soc. 141, 11123–11141 (2019).

    CAS  PubMed  Article  Google Scholar 

  21. Diaz, S. A. et al. Bridging lanthanide to quantum dot energy transfer with a short-lifetime organic dye. J. Phys. Chem. Lett. 8, 2182–2188 (2017).

    CAS  PubMed  Article  Google Scholar 

  22. Guo, J. et al. Conformational details of quantum dot-DNA resolved by forster resonance energy transfer lifetime nanoruler. ACS Nano 13, 505–514 (2019).

    CAS  PubMed  Article  Google Scholar 

  23. Tang, S. et al. Photochemical barcodes. J. Am. Chem. Soc. 140, 4485–4488 (2018).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  24. Theato, P., Sumerlin, B. S., O’Reilly, R. K. & Epps, T. H. III Stimuli responsive materials. Chem. Soc. Rev. 42, 7055–7056 (2013).

    CAS  PubMed  Article  Google Scholar 

  25. Xie, Y. et al. Rational design of substituted maleimide dyes with tunable fluorescence and solvafluorochromism. Chem. Commun. 54, 3339–3342 (2018).

    CAS  Article  Google Scholar 

  26. Mabire, A. B. et al. Aminomaleimide fluorophores: a simple functional group with bright, solvent dependent emission. Chem. Commun. 51, 9733–9736 (2015).

    CAS  Article  Google Scholar 

  27. Robin, M. P. et al. Conjugation-induced fluorescent labeling of proteins and polymers using dithiomaleimides. J. Am. Chem. Soc. 135, 2875–2878 (2013).

    CAS  PubMed  Article  Google Scholar 

  28. Robin, M. P., Osborne, S. A. M., Pikramenou, Z., Raymond, J. E. & O’Reilly, R. K. Fluorescent block copolymer micelles that can self-report on their assembly and small molecule encapsulation. Macromolecules 49, 653–662 (2016).

    ADS  CAS  PubMed  PubMed Central  Article  Google Scholar 

  29. Robin, M. P. et al. New functional handle for use as a self-reporting contrast and delivery agent in nanomedicine. J. Am. Chem. Soc. 135, 9518–9524 (2013).

    CAS  PubMed  Article  Google Scholar 

  30. Hu, W. et al. Maximizing aggregation of organic fluorophores to prolong fluorescence lifetime for two-photon fluorescence lifetime imaging. Adv. Health. Mater. 7, 1800299 (2018).

    Article  CAS  Google Scholar 

  31. Damayanti, N. P., Parker, L. L. & Irudayaraj, J. M. Fluorescence lifetime imaging of biosensor peptide phosphorylation in single live cells. Angew. Chem. Int. Ed. 52, 3931–3934 (2013).

    CAS  Article  Google Scholar 

  32. Hoffmann, K., Behnke, T., Drescher, D., Kneipp, J. & Resch-Genger, U. Near-infrared-emitting nanoparticles for lifetime-based multiplexed analysis and imaging of living cells. ACS Nano 7, 6674–6684 (2013).

    CAS  PubMed  Article  Google Scholar 

  33. Zhang, H. et al. Dual-emissive phosphorescent polymer probe for accurate temperature sensing in living cells and zebrafish using ratiometric and phosphorescence lifetime imaging microscopy. ACS Appl. Mater. Interfaces 10, 17542–17550 (2018).

    CAS  PubMed  Article  Google Scholar 

  34. Li, M. et al. Light-activated nanoprobes for biosensing and imaging. Adv. Mater. 31, e1804745 (2018).

    PubMed  Article  CAS  Google Scholar 

  35. Kim, D. & Park, S. Y. Multicolor fluorescence photoswitching: color-correlated versus color-specific switching. Adv. Opt. Mater. 6, 1800678 (2018).

    Article  CAS  Google Scholar 

  36. Zhang, Y., Zhang, K., Wang, J., Tian, Z. & Li, A. D. Photoswitchable fluorescent nanoparticles and their emerging applications. Nanoscale 7, 19342–19357 (2015).

    ADS  CAS  PubMed  Article  Google Scholar 

  37. Stumpel, J. E., Broer, D. J. & Schenning, A. P. Stimuli-responsive photonic polymer coatings. Chem. Commun. 50, 15839–15848 (2014).

    CAS  Article  Google Scholar 

  38. Cheng, H., Yoon, J. & Tian, H. Recent advances in the use of photochromic dyes for photocontrol in biomedicine. Coord. Chem. Rev. 372, 66–84 (2018).

    CAS  Article  Google Scholar 

  39. Sapsford, K. E., Berti, L. & Medintz, I. L. Materials for fluorescence resonance energy transfer analysis: beyond traditional donor-acceptor combinations. Angew. Chem. Int. Ed. 45, 4562–4589 (2006).

    CAS  Article  Google Scholar 

  40. Robin, M. P. & O’Reilly, R. K. Fluorescent and chemico-fluorescent responsive polymers from dithiomaleimide and dibromomaleimide functional monomers. Chem. Sci. 5, 2717–2723 (2014).

    CAS  Article  Google Scholar 

  41. Chacko, J. V. & Eliceiri, K. W. Autofluorescence lifetime imaging of cellular metabolism: sensitivity toward cell density, pH, intracellular, and intercellular heterogeneity. Cytom. Part A 95, 56–69 (2019).

    CAS  Article  Google Scholar 

  42. Klajn, R. Spiropyran-based dynamic materials. Chem. Soc. Rev. 43, 148–184 (2014).

    CAS  PubMed  Article  Google Scholar 

  43. Beyer, C. & Wagenknecht, H. A. Synthesis of spiropyrans as building blocks for molecular switches and dyads. J. Org. Chem. 75, 2752–2755 (2010).

    CAS  PubMed  Article  Google Scholar 

  44. Sakata, T., Yan, Y. & Marriott, G. Family of site-selective molecular optical switches. J. Org. Chem. 70, 2009–2013 (2005).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  45. Robin, M. P., Raymond, J. E. & O’Reilly, R. K. One-pot synthesis of super-bright fluorescent nanogel contrast agents containing a dithiomaleimide fluorophore. Mater. Horiz. 2, 54–59 (2015).

    CAS  Article  Google Scholar 

  46. Meer BWvd. Förster Theory. In: FRET – Förster Resonance Energy Transfer (ed Hildebrandt, I. M. N.) (2013).

  47. Wang, L., Xiao, Y., Tian, W. & Deng, L. Activatable rotor for quantifying lysosomal viscosity in living cells. J. Am. Chem. Soc. 135, 2903–2906 (2013).

    CAS  PubMed  Article  Google Scholar 

  48. Goujon, A. et al. Mechanosensitive fluorescent probes to image membrane tension in mitochondria, endoplasmic reticulum, and lysosomes. J. Am. Chem. Soc. 141, 3380–3384 (2019).

    CAS  PubMed  Article  Google Scholar 

  49. Zhou, S. et al. Fluorescence lifetime-resolved ion-selective nanospheres for simultaneous imaging of calcium ion in mitochondria and lysosomes. Anal. Chem. 90, 7982–7988 (2018).

    CAS  PubMed  Article  Google Scholar 

  50. Sui, B., Tang, S., Woodward, A. W., Kim, B. & Belfield, K. D. A BODIPY-based water-soluble fluorescent probe for mitochondria targeting. Eur. J. Org. Chem. 16, 2851–2857 (2016).

    Article  CAS  Google Scholar 

  51. Sumerlin, B. S., Tsarevsky, N. V., Louche, G., Lee, R. Y. & Matyjaszewski, K. Highly efficient “click” functionalization of poly(3-azidopropyl methacrylate) prepared by ATRP. Macromolecules 38, 7540–7545 (2005).

    ADS  CAS  Article  Google Scholar 

  52. Rodionov, V. et al. Easy access to a family of polymer catalysts from modular star polymers. J. Am. Chem. Soc. 132, 2570–2572 (2010).

    CAS  PubMed  Article  Google Scholar 

Download references


This work was supported by the ERC (grant number 615142), EPSRC, and the University of Birmingham, the Ministerio de Economía y Competitividad (MINECO) of Spain (project CTQ2016-80375-P) and the Basque Government (grant IT-324-07). The authors acknowledge the computational and technical and human support provided by DIPC. Y.X. acknowledges Chancellor’s International Scholarship (University of Warwick) for funding. All three reviewers are thanked for their time and contribution to the final version of this paper.

Author information

Authors and Affiliations



Y.X. and R.K.O. conceived the idea for this project. Y.X. performed the experiments, analyzed the data, and produced the manuscript under the supervision of R.K.O. M.C.A. conceived the idea and performed the bio experiments. M.C.A. and J.T.H. offered advice in data analysis. M.T.S. provided the theoretical simulation of the FRET molecules. All authors contributed to the manuscript preparation and approved the paper.

Corresponding author

Correspondence to Rachel K. O’Reilly.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Peer review information Nature Communications thanks Shiyong Liu and the other, anonymous, reviewer(s) for their contribution to the peer review of this work.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Source data

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Xie, Y., Arno, M.C., Husband, J.T. et al. Manipulating the fluorescence lifetime at the sub-cellular scale via photo-switchable barcoding. Nat Commun 11, 2460 (2020).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:

Further reading


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing