The invention is related to a sol-gel nanostructured titania reservoir and its synthesis which is biocompatible with brain tissue. The pore size distribution, crystallite size and the extent of the crystalline phase distribution of anatase, brookite and rutile can be fully controlled. This device may be used to contain neurological drugs. It may be inserted directly into brain tissue for the purpose of the controlled time release of drugs over a period of from 6 months to three years.