Cannabis will be available on the NHS.
Starting from November 1, marijuana will be available in England, Scotland and Wales for medical reasons.
The decision follows the high profile cases of young epilepsy sufferers Alfie Dingley and Billy Caldwell, whose conditions appeared to be helped by cannabis oil.
Setting out the new regulations for the drug, Mr Javid said: ''This brings these products explicitly into the existing medicines framework. These regulations are not an end in themselves.
''The ACMD (Advisory Council on the Misuse of Drugs) will be conducting a long-term review of cannabis and the National Institute for Health and Care Excellence (Nice) has been commissioned to provide advice for clinicians by October next year.
''The Government will monitor the impact of the policy closely as the evidence base develops and review when the ACMD provides its final advice.''