A magnetic toy block comprising: - an outer body having six rectangular outer surfaces that each span a plane, wherein the six rectangular outer surfaces form a shape of a rectangular cuboid, the outer body forming an inner cavity, the inner cavity being located equidistantly from opposing outer surfaces of the outer body, - a magnet arranged in the inner cavity, the magnet being spherically rotatable in the inner cavity in respect of the outer body, at least one of the outer surfaces of the outer body being provided with at least one projection extending normally outwardly from the respective outer surface and at least one recession extending normally inwardly from the respective outer surface, the at least one of the outer surfaces being provided with at least as many recessions as projections, a location of the at least one projection results, for each of the at least one projection, in respect of mirroring through a mirroring axis of the respective outer surface, on the respective outer surface in a location of a respective one of the at least one recession, wherein each outer surface is provided with an imaginary axis that runs along the outer surface, the imaginary axis extending perpendicular to at least a first edge of the outer surface dividing the outer surface into a first part and a second part, the first part having a third edge and the second part having a fourth edge, wherein the first and second edge are parallel to the imaginary axis, and the third and fourth edge are perpendicular to the first and second edge, wherein the first, second, third, and fourth edge border the outer surface, wherein each of the at least one projection located in the first part, is associated with a corresponding recession located in the first part of the respective outer surface forming a projection/recession pair, one of the respective projection and the corresponding recession being located a distance from the imaginary axis, and the other one of the respective projection and the corresponding recession being located equidistantly from the respective third edge, wherein each of the at least one projection located in the second part, is associated with a corresponding recession located in the second part of the respective outer surface forming a projection/recession pair, one of the respective projection and the corresponding recession of the projection/recession pair being located a distance from the imaginary axis, and the other one of the respective projection and the corresponding recession being located equidistantly from the respective fourth edge, and wherein for each projection/recession pair a respective straight imaginary line extends parallel to the first edge, through the respective projection and the corresponding recession of the projection/recession pair. - an outer body having six rectangular outer surfaces that each span a plane, wherein the six rectangular outer surfaces form a shape of a rectangular cuboid, the outer body forming an inner cavity, the inner cavity being located equidistantly from opposing outer surfaces of the outer body, - a magnet arranged in the inner cavity, the magnet being spherically rotatable in the inner cavity in respect of the outer body, at least one of the outer surfaces of the outer body being provided with at least one projection extending normally outwardly from the respective outer surface and at least one recession extending normally inwardly from the respective outer surface, the at least one of the outer surfaces being provided with at least as many recessions as projections, a location of the at least one projection results, for each of the at least one projection, in respect of mirroring through a mirroring axis of the respective outer surface, on the respective outer surface in a location of a respective one of the at least one recession, wherein each outer surface is provided with an imaginary axis that runs along the outer surface, the imaginary axis extending perpendicular to at least a first edge of the outer surface dividing the outer surface into a first part and a second part, the first part having a third edge and the second part having a fourth edge, wherein the first and second edge are parallel to the imaginary axis, and the third and fourth edge are perpendicular to the first and second edge, wherein the first, second, third, and fourth edge border the outer surface, wherein each of the at least one projection located in the first part, is associated with a corresponding recession located in the first part of the respective outer surface forming a projection/recession pair, one of the respective projection and the corresponding recession being located a distance from the imaginary axis, and the other one of the respective projection and the corresponding recession being located equidistantly from the respective third edge, wherein each of the at least one projection located in the second part, is associated with a corresponding recession located in the second part of the respective outer surface forming a projection/recession pair, one of the respective projection and the corresponding recession of the projection/recession pair being located a distance from the imaginary axis, and the other one of the respective projection and the corresponding recession being located equidistantly from the respective fourth edge, and wherein for each projection/recession pair a respective straight imaginary line extends parallel to the first edge, through the respective projection and the corresponding recession of the projection/recession pair.