DAPI was first synthesised in 1971 in the laboratory of Otto Dann as part of a search for drugs to treat
trypanosomiasis. Although it was unsuccessful as a drug, further investigation indicated it bound strongly to DNA and became more fluorescent when bound. This led to its use in identifying
mitochondrial DNA in
ultracentrifugation in 1975, the first recorded use of DAPI as a fluorescent DNA stain. Strong fluorescence when bound to DNA led to the rapid adoption of DAPI for fluorescent staining of DNA for
fluorescence microscopy. Its use for detecting DNA in
plant,
metazoa and
bacteria cells and
virus particles was demonstrated in the late 1970s, and quantitative staining of DNA inside cells was demonstrated in 1977. Use of DAPI as a DNA stain for
flow cytometry was also demonstrated around this time. DAPI will also bind to
RNA, though it is not as strongly fluorescent. Its emission shifts to around 500 nm when bound to RNA. DAPI's blue emission is convenient for microscopists who wish to use multiple fluorescent stains in a single sample. There is some fluorescence overlap between DAPI and green-fluorescent molecules like
fluorescein and
green fluorescent protein (GFP) but the effect of this is small. Outside of analytical fluorescence light microscopy DAPI is also popular for labeling of
cell cultures to detect the DNA of contaminating
Mycoplasma or
virus. The labelled
Mycoplasma or virus particles in the
growth medium fluoresce once stained by DAPI making them easy to detect. ==Modelling of absorption and fluorescence properties==