For example, things that the brain needs to survive (water, glucose, and amino acids) can get through the barrier. However, the barrier stops many harmful things, like bacteria and viruses, from getting into the brain. This helps protect the brain from getting an infection.
The blood-brain barrier is formed by capillary endothelial cells. It allows the passage of water, some gases, and lipid-soluble molecules by passive diffusion. It also allows the selective transport of molecules such as glucose and amino acids which are crucial to nerve function. On the other hand, the blood-brain barrier may prevent the entry of neurotoxins by means of an active transport mechanism.
A few small areas in the brain do not have a blood-brain barrier.
Paul Ehrlich, a German doctor, discovered the blood-brain barrier. He injected dye into mice's bloodstreams. The dye got to every organ except the brain. The blood-brain barrier had stopped the dye from getting through to the brain. Then one of Ehrlich's students injected the dye right into the mice's brains. This time the brain turned blue, but no other organs did. The blood-brain barrier had stopped the dye from getting out of the brain into the bloodstream (which would have carried the dye to every other organ in the body).
The blood–brain barrier protects the brain from many common infections. Infections of the brain are rare. If they do happen, they are often serious and difficult to treat. Antibodies (which the body's immune system makes to fight infections) are too large to cross the blood–brain barrier. Also, many antibiotics cannot pass through the BBB to kill the infection in the brain.
One way to get medications into the brain is to inject them into the cerebrospinal fluid (CSF). CSF helps protect the brain and spinal cord. However, it does not actually touch the brain. Instead, two of the layers that protect the brain and spinal cord hold the CSF. Because of this, even if medications are injected right into the CSF, they still do not get into the brain very well.
Some bacteria, viruses, and other things can get through the blood-brain barrier and damage the brain. For example:
- Psychoactive drugs (drugs which can cross the blood-brain barrier)
- de Vries, Helga E. et al (1997). "The blood-brain barrier in neuroinflammatory diseases". Pharmacological Reviews 49 (2): 143–156. PMID 9228664. http://pharmrev.aspetjournals.org/content/49/2/143.
- "About". Blood brain barrier. Johns Hopkins University. Retrieved 7 May 2013.
- Interlandi, Jeneen 2013. Messing with the blood-brain barrier may be key to treating a host of diseases. Scientific American 308, #6. 
- Raza M.W. et al (2005). "Penetration and activity of antibiotics in brain abscess". Journal of the College of Physicians and Surgeons--Pakistan : JCPSP 15 (3): 165–7. PMID 15808097.
- The medicine is injected into the back of the spine, between two vertebrae.
- Tortora, Gerard J; Berdell R. Funke; Christine L. Case (2010). Microbiology: an introduction. San Francisco: Benjamin Cummings. p. 439, 611; 616–618. ISBN 0-321-55007-2.