The rate at which this happens is largely determined by two factors: Ionization and lipid solubility.
In 1899 Hans Horst Meyer published the first experimental evidence of the fact that anaesthetic potency is related to lipid solubility in his article entitled "Zur Theorie der Alkoholnarkose".