The present invention is directed to compounds of formula (I) which are inhibitors of the BACE1 enzyme. Separate aspects of the invention are directed to pharmaceutical compositions comprising said compounds and uses of the compounds to treat disorders for which the reduction of Αβ deposits is beneficial such as Alzheimer's disease.