The Rubik 's cube was invented by Hungarian sculptor and architect ErnÅ ` Rubik in 1974 . In 1975 a Hungarian toy-maker starts to make it in large numbers , and in 1977 the first Magic cube is sold in Hungary . Rubik obtained Hungarian patent HU170062 for his `` Magic Cube '' in 1975 .