Introduction: Magnetic Acrylic Rubik's Cube

Picture of Magnetic Acrylic Rubik's Cube

27 3/4" clear acrylic cubes are drilled with 108 3/16" holes, fitted with 108 D32 neodymium disc magnets with proper polarities facing out from each, and assembled into a size-matched magnetic version of the original Rubik's Cube.

Update: Instructables user burzvingion has made a beautiful red translucent dice version of this cube. Make sure you check it out!

Tons more pictures of the process can be seen in

The pre-build gallery:

The build gallery:

Step 1: Plan Out Polarities

Picture of Plan Out Polarities

Before I devoted my time to this idea, which came to me while imagining a version of the cube that didn't need the intricate connecting tabs found inside a cube, I checked Google for magnetic rubik's cubes, finding none (though a friend found one (theoretically) available in China by removing the 's from rubik the day before I finished this thing). Then I mocked up a 3D version in Maya to figure out the polarities of the magnets to see if it would remain sound as faces were spun all around. It appeared that it would.

Step 2: Get Some Cubes

Picture of Get Some Cubes

I researched cubes of all sorts online, including wooden blocks, "learning cubes," cubes of ABS, PVC, etc, and finally settled on 3/4" clear cast acrylic cubes from Tap Plastics:

I got 3 sets of 10, as I needed 27. The extra 3 helped me test things out, which saved me some big trouble. These aren't all that precise, with romboid and trapezoidal angles aplenty, but in the end, they work well, especially as they're nicely rounded.

Step 3: Get Some Magnets

Picture of Get Some Magnets

I found K&J magnetics through Google:

They have a huge selection, and I settled on their D32 3/16" disc magnets, which are 3/16" tall.

I got a pack of 100, and a pack of 25. I needed 108 for the cube prototype. If I build another, I'm going to beef up 12 of the magnets - the 6 pairs that form the axles off the center cube, probably to twice the width, perhaps to the D63:

Step 4: Set Up the Drill Press

Picture of Set Up the Drill Press

I don't have a shop at the moment, so I had to settle on a cheap drill press on the dining room table. I used a needlessly high-precision CNC-milled clamping square from Woodpeckers, makers of fine, high-tolerance machining guides:

They have a feast of uber precision stuff:

I held the clamp guides in place with some small Irwin Quick-Clamps, and later, for some more stability, with standard metal C clamps.

To align things, I eyeballed it: I'd get it about right, clamp it down, then press the non-spinning bit into the acrylic to make a tiny dent, then turned the cube 90 degrees and pressed again. When I got this to make a perfect tiny X in the acrylic, I knew it was pretty good. The cubes aren't accurate enough to be bothered with anything more precise than that.

Step 5: Get Your Polarities Straight

Picture of Get Your Polarities Straight

It's crucial that all these axially-polarized disc magnets are put in the right way, and I'm glad to say I didn't mess this up once in all 108 magnets. To keep me straight as to which side of each magnet was which, I stuck them all together in one long rod, then drew a Sharpie dot on one end, and peeled that magnet off, and repeated, all the way down. Now they all had a visible polarity, though I don't know still which was N or S.

Step 6: Drill Out the Central Piece

Picture of Drill Out the Central Piece

The central piece requires 6 holes, one per side, dead center. At first, I tried using a drill stop clamped onto the bit itself, but this is disasterous. The acrylic going up the flutes gets caught in there, and becomes a heated spinneret of fibers that instantly wraps around the bit, creating a solid acrylic chamfer between the bit and stop that then immediately cuts conically into the plastic. Once I remembered that my drill press had a stop built in, I got perfectly clean holes every time.

I drilled all holes for the project a little shallow first, then tested with a magnet as I slightly drilled more each time, up to the stop value I set in, until the magnet was just a hair's width lower than the surface of the cubes. As the cubes aren't all exact, I couldn't just rely on the stop itself.

The trick is to not let the magnets touch. In that last hair's width, their force becomes tremendous, and it's much harder to shear them apart. Better to let them be lower than the surface, and have only the acrylic surfaces slide against each other.

The magnets themselves slid in to an almost air-tight seal. Their slippery nickel-plating helped a lot here. To get the magnet back out after I tested it, I simply pushed the block up against part of the drill press, and it fly out and stick to the metal. In this way, I could keep drilling just a bit more and dropping the magnet back in to test for the right depth. Many times, however, the holes were the perfect depth after the first drilling.

Step 7: Glue in the Magnets

Picture of Glue in the Magnets

Without prior testing, I settled on Duco Cement from my local hardware store. You can see in the first two images that I'd put a bit of the glue in the hole, then push the rod of magnets into it, and slide the rod sideways to leave the tip magnet in the hole - always remembering to check the polarity.

In the third image, you'll see an interesting phenomenon of my materials choices. Duco Cement eats through faults in acrylic. As such, the circle at the end of the bored shaft, where it meets the crown, would "bloom" outward at a roughly 45 degree angle cone. Quite pretty, though not what I intended. Some of these blooms got pretty complex and wavy, but most just appeared like the conical cloud of vapor that trails supersonic jets. As the glue rehardened each time, the structural integrity of the cubes was not compromised. If I make another cube, I'm going to test other glues to find a nice clear one that doesn't do this, but still has this kind of strength and fast-drying time (30 seconds or so). It remains an interesting thing to see, however.

Be sure the 6 magnets you glue into the central piece have matching outward-facing polarities.

Step 8: Drill and Fill the 6 Center Face Pieces

Picture of Drill and Fill the 6 Center Face Pieces

These are the pieces that attach to the 6 faces of the central 'axle' piece. They require all but one side to be drilled and filled with a magnet. These untouched sides will be the center facelets on each of the 6 faces of the cube.

Make sure you get the polarities such that these cubes will stick to the center cube!

Step 9: Drill and Fill the 12 Edge Pieces

Picture of Drill and Fill the 12 Edge Pieces

Now it starts to get fun. The edge pieces each join a pair of center face pieces, and eventually a pair of corners. This leaves 2 faces undrilled, and you just need to make sure these 2 faces connect along one edge.

Again, make sure your polarities work. The two sides that connect to edge pieces need to match - so both N or both S facing out, because a piece can get spun around and return flipped to the same position. Likewise, the corner-facing sides need to match outward-facing polarities, for the same reason. In my model, the edge piece facing sides are opposite in polarity to the corner piece facing sides. This is probably the best way, as I've found that my cube can combine very well in all manner of unexpected positions.

You'll note in the pics that you can now make a central 3x3 layer with 1 central piece, 4 center face pieces, and 4 edge pieces. You can also remove the central piece - something you can't do with a regular Rubik's Cube. Too, you can create the whole cube now, sans corner pieces.

The last pic shows the flexible nature of the layers of the magnetic cube. It's fun to twist it back and forth like taffy.

Step 10: Drill and Fill the 8 Corner Pieces

Picture of Drill and Fill the 8 Corner Pieces

The corner pieces have 3 sides that face out, and shouldn't be drilled, and that means they have 3 sides that should. Just be sure they're all connected at one corner, and that your outward facing polarities all match, and mate properly with the edge pieces.

Step 11: Put All the Pieces Together - You're Done!

Picture of Put All the Pieces Together - You're Done!

Now you have a working magnetic cube. It's exactly the same size as an official one, too, but you can make it do many more things, pulling pieces apart, connecting them in new ways, finding weird ways things pivot, and playing with the flexibility of the magnetic connections.

Step 12: Optional Step - Labels!

Picture of Optional Step - Labels!

My newly-acquired cubing habit has not only spawned a bunch of weird project ideas like this, but has also seen me gather lots of official cube junk to me, and as such, I have a stack of nice PVC labels (the polypropylene are crap - steer clear of these immediately-peeling nightmares).

Many people, including me, prefer the beauty of the clear cube, but as this one is my first, and kind of homebrew looking, and because it got boring having nothing to solve, I applied some official labels and made it a real cube, albeit satisfyingly heavier. You really feel you could do some damage throwing this little cannon ball.

The only thing to note here, besides making sure you center them carefully, is that if you want it to be official, you need to put orange opposite red, green across from blue, and yellow on the flip side of white. Also, you need to get the winding order correct. For example, if white faces up (and thus yellow down), and blue faces you (and thus green away), then red needs to be the left face, and orange the right.

Enjoy your new cube, labeled or not, and remember that if you want to apply imagery to the faces of the cube, the edges and corners will always work out again when you solve it, but the centers can end up in 1 of 4 rotations, which greatly increases the number of possible solutions, and makes solving it by traditional methods all kinds of way harder. You can use that to your advantage in a cube with a pattern that can have its subcomponents twist without getting messed up.

Luckily, the magnetocube is easy to take apart and put back together, either way :)


orri (author)2008-04-15

After a moments thought, There are 4 types of subcube, Core, C Midface, M Edge, E Corner, V And they conect in that order. Which means that if all the magnets in the C and E have the same polarity facing out, and the other have it facing in, they will all stick together. The V cubes must have all their magnets in the same way as they can be in 3 different orientations at the same possition. The E and M could have opposite polarities for the 2 face types they have, which might lead to a slightly stronger assembly. It's probably best to stick to each kind of cube having it's magnets all the same way, realising that until the glue is set, the magnets will have a tendency to mutualy repel.

asettico (author)orri2017-07-27

First of all, I want to congratulate with gfixler for the really interesting project. When I was younger (I'm not old, I'm just older the then) I was really crazy for the cube: I never was a speedcuber, but I enjoyed so much solving it.

I wanna build 3 models of this wonderful variant: one clear, for the enchantment of sight, one with transparent stickers, to play with it, and one another for my wife (still don't know how to dress it, she's not a real cuber, but she really loves the structure). I have some trouble picking up all the materials, especially due to the high costs: by the way, if some Italian can point any shop where to find tumbled clear solid acrylic cubes is welcome! Some local stores ask for 2/2,5 € each, foreign ones ask for 60 $ to over 90 $ for shipping or not ship internationally at all... please, help me!!!
EDIT: just while I was writing, answering to a question of mine, a US company that sells the cubelets added international shipping at about 30 €.
Cube karma! ;-)

This summer I made some thought about polarity orientation (no PC, no Blender, just a pencil and some brain). From now on, I will use Orri notation to identify each cubelet type and Singmaster notation to identify the cube faces.
By design, we can claim that:
- the axial structure is integral;
- C and M never permute;
- C-M junctions never change (numbering the M cubelets as M1, M2, ..., M6, the junctions C-M1, ..., C-M6 never change);
- the C-M junctions' magnets are always the same (indeed we can use bigger magnets for these central junctions).
Thanks to that, we don't need to keep the same polarity orientation in the 6 faces of C. This allow us to avoid having 6 magnets repulse each other, even better we can alternate polarities so repulsive force should be mitigated. In other words, polarity of faces F, D, B is facing in, and polarity of faces L, U, R is facing out. Using bigger magnets for the C-M junctions, we don't need to use a big force to stick them until the glue is set. Accordingly, 3 of the 6 M cubelets have their 5 magnets, of which just one bigger, with the same polarity orientation, which it's anyway better than have all 6 bigger center magnets repulse each others, while the other 3 have 4 side magnets with the same orientation and the central bigger one with opposite orientation.

This model has not a symmetrical polarity orientation structure, so it's not conceptually as beautiful as that of gfixler, but it should be less problematic in construction. Nevertheless the cube permutes the classic way!

For E and V cubelets, I came to the same conclusion of gfixler and Orri, due to the permutations.

tap guy (author)2009-10-08

For a totally different look, make your own cubes from scratch with clear liquid resin. Add dye, pigment, embedments or swirled colors. The cubes could be cast with magnet hole already made. No drilling! Check out our video "How to make jewels, gems, crystals and pendants" on youtube or

krickerd (author)tap guy2010-07-25

In the mid 90's I was really into resin casting. I would use molds and resin from Tap and rare earth magnets from Black Feather electronics. I would make interesting designs such as sea scenes with fish stickers and plastic plants from craft stores, as well as sand. I would tint the first few layers with blue dye and then the final layer with blue opaque pigment and the magnet, and maybe a thin layer with surface curing agent to prevent it from being sticky. Also I liked making domes with an artificial rose in a thick clear layer with a white opaque layer and felt behind it. I always wished I had a hood fan though lol!

mrmerino (author)krickerd2012-12-03

In the mid 90's I was being born.

bigbro5sisters (author)mrmerino2017-03-10

I was 1 when this was posted

huyq2 (author)2015-08-15


huyq2 (author)2015-08-15


huyq2 (author)2015-08-15

Where i can fine the PVC cube in Việt Nam

Olek410 (author)2015-04-25

what you could do is turn that idea into a voxel block builder. Basically you take a 2cm by 2cm cube(the size can be scaled) then you take the magnets and put them in the middle of the 6 faces. Then you repeat the previous steps until you have about 50 of them. Then you can build with the cubes anything that you want.

Flash67 (author)2014-11-15

Quite clever. Good job

NESmodder (author)2013-03-28

Very nice!

majorson (author)2011-11-08

Great instructable! If you interested in Rubik's Cube 
Than Visit my Rubik's Cube solution easy Website:

Rubik's Cube 

Foaly7 (author)2010-04-10

Could you spray paint the sides? And if so, is there any paint that would make it translucent instead of transparent?

TechNotes (author)Foaly72011-10-29

Just use a matte spray paint.

Fabritren (author)2010-10-03

Hello" nice tutorial, by the way, is it possible to build a 2x2x2 cube using this method? I'm interested in building it, so, just want to be sure if it will work fine...

TechNotes (author)Fabritren2011-08-15

Sure it will. You just need to make sure it is a cube and you will need to rearrange the magnets and holes

reddevved (author)2011-07-05

About the sticker placement I think Asian cubes are the opposites on yours are adjacent (hope that makes sense) but I don't know what colors are opposite. (author)2011-01-01

Drop it, then just put it back together the semi-easier way

Erik Andersen (author)2007-08-24

The force magnets exert on each other is explained by the inverse square law. Say you have 2 magnets (with opposite poles facing each other) 2mm apart. Now you move then to 1mm. You just halved the distance so the inverse square law says the force will be four times as powerful! Inverse square law works like this:invert the fraction that the current distance is of the original distance and then multiply it by itself. 1/2 inverted =2/1 2/1 (two) times 2/1 = 4

adastria (author)Erik Andersen2008-12-18

That is not entirely accurate. That would only be true if the magnets in question were magnetic monopolies (meaning one was entirely north and one was entirely south). Although nothing in Maxwell's equations forbids these from existing (on the contrary, if they did exist it would explain charge quantization) none have ever been seen. The magnets we deal with in every day life are rather more complicated. In the far field (so on a length scale much larger than that of the magnet) they usually approximate a dipole field, which obeys an inverse cube law. In the near field It depends on the shape of the magnet and the way that the magnetization is distributed within the magnet. It is probably best to deal with this as a multi pole expansion that can be truncated to whatever accuracy you like.

Zazou (author)adastria2009-01-22

del B = 0 forbids magnetic monopoles. You need to rewrite Maxwell's equations somewhat to allow for them.

blahblah86 (author)Zazou2010-07-22

do i remember an episode of big bang theory in which sheldon discovers a way to make monopoles possible?

adastria (author)Zazou2009-01-22

Look, physical laws are descriptive, not prescriptive. The only reason that magnetic fields have zero divergence (<nabla,B>=0...remember inner product. as you state it you are taking the gradient not the divergence) is that monopoles have not yet been observed. Obviously, Maxwell's equations could be modified to include magnetic charge. As is they just have that charge set to zero.

Zazou (author)adastria2009-01-24

Apologies--should have been div rather than del. Of course physical laws are descriptive, but by what you've said, you may as well say "nothing about the laws of thermodynamics forbids free energy devices". The presumption behind such a comment is that the mentioned law is an accurate model of the physical universe, otherwise you're just talking in tautologies.

lunchboxslayer27 (author)2009-04-27

ahhh! my uncontrollable cubing habit is driving my up the wall of awesome!! my record (that i actually timed) is 01:27.52. i might have done better with out timing, not sure though..... this is an AMAZING instructable by the way. i realllllly want to do this, but i dont have a drill press.... dang!!

get your own cube, already made:

H3xx (author)lunchboxslayer272009-08-09

try a vice and a power drill (will take a few tries as you need to be dead center all the way through)

22killzz (author)2010-07-04

about how much was the total cost?

prodo123 (author)2010-05-23

You know what would be cool? a transparent sticker on that cube. It has the Rubik's Cube feel while retaining the clear glassy feel.

smart guy 93 (author)2008-06-06

How much money does it cost to get all those magnets?

prodo123 (author)smart guy 932010-05-23


rjt170977 (author)2010-05-02

Love it

Don Cattaree (author)2010-02-19

How much did it cost in the end stickers and all?

ubercurious (author)2009-12-15

 hmmm, rather than stickers, I wonder if you could dye the cubes for the colors.  It would look much nicer and stick with the clear theme.

MattDSwainJr (author)2009-09-25

LocTite makes a UV cured adhesive that cures with the help of a special UV light it's practically invisible. Although for home use I think a glob of super glue should do the trick. Anyway really cool Rubiks Cube.

arhodes18 (author)2009-08-08

very cool! So you can't solve this by using the traditional patterns though? that kind of stinks... fave'd +5

JellyWoo (author)2009-08-08

Cool! A good place to find stickers is

manman3330 (author)2006-10-30

How do you get Maya?

E1N5731N (author)manman33302009-05-06

You don't. Use blender, which is an open source program that matches, and at times exceeds, the functionality.

DivideByZero (author)E1N5731N2009-05-30

Or don't. Blender is marginally more confusing than a book in a language you've never even heard of.

E1N5731N (author)DivideByZero2009-06-08

But it's free And there are tons of excellent tutorials on Blender. I would reccomend youtube username Super3Boy; that's how I learned

EaglesNestOne (author)E1N5731N2009-07-25

Blender really is awesome, and it does exceed maya at times. Although, it is very confusing at first, once you become accustomed to the controls, you find it is very quick and streamlined to use. I think blender will be easier for newbies to understand once 2.5 is out (no offence to anyone).

gfixler (author)manman33302006-10-30

You can buy it from, or try out their PLE (Personal Learning Edition - free trial), also from the site, or steal it somehow, say through bittorrent. It all depends on how much money and integrity you have. I have it because we use it (registered copies) at work.

zachninme (author)gfixler2006-11-25

I beleve that the PLE has no time limit, as long as you use it for only personal needs.

racerdude09 (author)zachninme2008-10-22

yeah, it just puts a watermark in the file and has a seperate file format.

bumper44 (author)2009-02-03
My record for solving is 1:41. Here is a video of me solving a Rubiks cube!

twinkieman93 (author)bumper442009-05-30

That's pretty good. Although, I think a friend of mine can do a 5 by 5 in a little under 2:30.

SkateRubiks (author)bumper442009-03-01

it took you forever to solve that. but, not everyone can solve the cube. so i got to give you props

casey321b (author)2008-04-15

the bad part is when you drop it and the pieces fall everywhere and you have to put them all back together

About This Instructable




More by gfixler:Magnetic Acrylic Rubik's Cube
Add instructable to: