The disclosure relates to spiro-[1,3]-oxazines and spiro-[1,4]-oxazepines of formula (I) with BACE1 and/or BACE2 inhibitory activity, their manufacture, pharmaceutical compositions containing them and their use as therapeutically active substances. The active compounds of the present invention are useful in the therapeutic and/or prophylactic treatment of Alzheimer’s disease and type 2 diabetes. Example compounds include: (R)-N-(2’-amino-5’,5’-difluoro-2,3,5’,6’-tetrahydrospiro[indene-1,4’-[1,3]oxazine]-6-yl)-5-cyanopicolinamide, (R)-6-(5-chloropyridin-3-yl)-5’,5’-difluoro-5’,6’-dihydrospiro[chroman-4,4’-[1,3]oxazin]-2’-amine, (R)-N-(2’-amino-5’,5’-difluoro-2,3,5’,6’-tetrahydrospiro[indene-1,4’-[1,3]oxazine]-6-yl)-5-chloropicolinamide, and (R)-N-(2’-amino-5’,5’-difluoro-2,3,5’,6’-tetrahydrospiro[indene-1,4’-[1,3]oxazine]-6-yl)-5-fluoropicolinamide.В даному винаході запропоновані спіро-[1,3]-оксазини та спіро-[1,4]-оксазепіни формули І, Iякі виявляють інгібіторну активність по відношенню до ВАСЕ1 та/або ВАСЕ2, їх одержання, фармацевтичні композиції, їх що містять, та їх застосування як терапевтично активних речовин. Активні сполуки за даним винаходом корисні при терапевтичному або профілактичному лікуванні, наприклад, хвороби Альцгеймера та сахарного діабету 2 типу.