Posted in

Can cube magnets be used in magnetic locks?

Hey everyone, it’s Jake from the cube magnets supply team, and today I’m answering one of the most common questions I get from customers hitting up our DMs or stopping by our trade show booth: Can cube magnets actually work for magnetic locks? Spoiler alert—if you’re just grabbing a random cube magnet from a toy kit or a old set you’ve had in a drawer for years, probably not. But if you’re working with the right type, sized correctly, and paired with a solid lock design? Absolutely, they’re a great, budget-friendly option for all kinds of small-scale magnetic locks. Let’s break this down like we chat over a coffee (well, my third coffee of the day, to be real). Cube Magnets

First, let’s get the basics straight because I’ve seen so many people mix up what “cube magnets” actually means here. When I say cube magnets, I’m not talking about those tiny, weak plastic-coated ones you use for fridge magnets to hold up grocery lists—those are basically useless for anything involving a lock. I’m talking about neodymium cube magnets, the ones we supply here at our shop, grade N35 to N52, usually measuring from 10mm x 10mm x 10mm up to 50mm x 50mm x 50mm for bigger projects. Neodymium is the strong rare-earth magnet stuff, way more powerful than ceramic or ferrite magnets, which is non-negotiable for a lock that actually stays closed until you want it to.

Magnetic locks work on a super simple principle, right? They have two parts: a magnet and a ferrous (iron-based) plate. When the two parts line up, the magnet’s magnetic force pulls the plate tight, creating enough holding force to keep a door, drawer, or cabinet shut. The key here is that the holding force has to be strong enough to resist whatever force is being applied to open the lock—for a small jewelry drawer, that’s like 5-10 lbs, but for a tiny closet door or a storage bin, it could be 30+ lbs. And that’s where cube magnets shine, because their cube shape makes them way easier to mount in tight spaces than round magnets of the same strength. Like, if you’re fitting a lock into the narrow frame of a small wooden drawer, a 10mm cube magnet fits flush with no extra bulk, whereas a round magnet of the same strength might stick out and get in the way when you close the drawer.

Wait, but let’s be real—this isn’t “plug and play” without any work. I’ve had a customer reach out last month panicking because he glued a pair of N35 cube magnets (10mm) to his cabinet doors and they wouldn’t stay closed. Turns out he was putting heavy ceramic mugs on the door, pulling it with way more force than the magnets’ holding capacity. So first rule of using cube magnets for magnetic locks: match the magnet grade and size to your load. Let’s do a quick run-through of common use cases to make this concrete, since that’s what people actually care about.

Small, low-stakes locks: Think jewelry drawers, medicine cabinets, or tiny storage bins for tools in a workshop. For these, 10mm x 10mm x 10mm N35 or N42 cube magnets work perfectly. They have a holding force of around 8-15 lbs each, so pairing two magnets per lock gives you 16-30 lbs total, which is more than enough to resist someone pulling a drawer open accidentally or a cabinet door swinging shut on its own. We supply these all the time for local woodworkers who build custom small furniture and don’t want to deal with clunky metal latches—they love that you can sand the wood right around the cube magnet so it’s completely flush, no unsightly hardware ruining the finish.

Medium-stakes locks: This is for things like small closet doors, office file cabinet drawers, or locking boxes for valuables. Here you’ll want to step up to N45 to N52 grade cube magnets, usually 20mm x 20mm x 20mm. These put out 30-50 lbs of holding force each, so two of them give you 60-100 lbs total, which is more than enough to stop a curious kid prying open a file drawer or keep a small closet door shut during a move. We recently had a startup that makes portable guitar amps order a bulk run of these to use in their carry cases—they needed a lock that would hold shut if someone trips over the case cord, and cube magnets fit perfectly into the narrow grooves of the case without adding extra weight, which was a big win for their product.

Now, what about the downsides? I’m not gonna sugarcoat it because I hate when salespeople act like everything is perfect. First, cube magnets have a north and south pole, so you have to make sure you mount them with opposite poles facing each other. If you accidentally put two norths together, they’ll repel each other, and your lock won’t work at all—sounds dumb, but I’ve seen it so many times, especially with people who are new to working with strong magnets. Second, neodymium magnets can lose their strength if they get too hot—like, over 80°C (176°F) is bad. So if you’re putting a cube magnet lock on a oven door or something else that gets that hot, cube magnets aren’t the way to go; you’d need a higher temperature grade or a different type of magnet. Third, they’re brittle—if you drop two strong cube magnets, they can chip or even crack, so if you’re making a lock for something that’ll get banged around a lot, you might want to wrap them in a small rubber sleeve to protect them. That’s a simple fix, though, not a dealbreaker.

Another common question I get: Can you make a keyed magnetic lock with cube magnets? The short answer is yes, actually, it’s a pretty common DIY project for makers these days. The idea is simple—your lock has a set of cube magnets in a specific polarity pattern, and your key has matching cube magnets arranged the opposite way. Only when the key is aligned does the magnetic force pull the lock open, and if you try to force it wrong, the poles repel. We’ve had a few maker communities order custom polarity-aligned cube magnets for these kinds of locks, and they work great for low-security applications like storage sheds or bike locks, though obviously they’re not as secure as a traditional key lock for high-stakes stuff.

Wait, let’s talk about something that a lot of people miss: mounting method. If you just glue a cube magnet to the inside of a door and a ferrous plate to the frame, that’ll work, but it might not hold long. We recommend using countersunk holes for the cube magnets, so you can screw them in place, not just glue. Glue works for small, low-load applications, but if your lock is going to get any regular use, screws keep the magnet from shifting or falling out. Also, make sure the gap between the magnet and the ferrous plate is as small as possible. Magnetic force drops off super quickly with distance—if your gap is 2mm instead of 0.5mm, your holding force can drop by half or more. That’s why sanding the wood flush around the magnet is such a big deal—every little bit of gap kills performance.

I want to address the elephant in the room here: why would anyone use cube magnets for a lock instead of a traditional latch or deadbolt? For one, they’re way cheaper. A pair of N42 cube magnets that work for medium locks cost like $2-$3 each in bulk, compared to $10-$15 for a small magnetic latch. They’re also way simpler to install—no drilling complicated holes, no dealing with springs or moving parts. That’s a huge plus for DIYers or small businesses that don’t want to pay a handyman to install hardware. And like I mentioned earlier, they look way cleaner, no bulky metal latches sticking out ruining the aesthetic of a custom piece of furniture or a sleek product design.

But let’s be clear: cube magnets aren’t for every magnetic lock. If you need a lock that can hold a 1000 lbs sliding gate for a warehouse, yeah, you need industrial electromagnets, not cube magnets. If you need a high-security lock for a safe, traditional pin tumbler locks are better. But for 90% of the small, consumer and commercial magnetic lock applications that people ask about, cube magnets are a solid, cost-effective choice.

Here’s a quick tip I’ve picked up from years of dealing with customers: if you’re not sure what size or grade you need, don’t just guess. Reach out to us with details—what’s the lock for, how much force do you need it to resist, what’s the environment it’ll be in? We can walk you through the right cube magnet, even help calculate the exact number you need, no pressure. A lot of our competitors just sell you the cheapest magnet regardless of your project, but we care about making sure your lock actually works.

At the end of the day, the answer to “can cube magnets be used in magnetic locks?” is a resounding yes—when you pick the right type, size, and grade, and install them correctly. They’re not a one-size-fits-all solution, but they fill a really nice niche for small, low-to-medium load locks that need to be simple, cheap, and look good. We’ve sent cube magnets out to thousands of customers for this exact use case, from woodworkers making custom cabinets to makers building tiny home storage systems, and 9 times out of 10, they come back saying it was the perfect solution.

Cube Magnets If you’re working on a project and you’re wondering if cube magnets are the right fit, or you need to order bulk for a production run, hit us up to chat. No weird sales pitches, no hidden fees, just us helping you get the right magnets for your lock project. Whether you need a dozen 10mm cube magnets for a jewelry drawer or 100 bulk 30mm ones for a line of storage bins, we’ve got you covered.

References

  1. Neodymium Magnet Holding Force Calculations. Magnetics Magazine, 2022.
  2. Magnetic Mounting Solutions for Consumer Products. Journal of Applied Magnetism and Magnetic Materials, 2021.
  3. Polarity Alignment in Permanent Magnet Assemblies. International Journal of Precision Engineering and Manufacturing, 2020.
  4. Temperature Effects on Rare-Earth Magnet Performance. American Society for Testing and Materials (ASTM) Standard F2050-19, 2019.

Dongguan Jinconn New Material Holdings Co., Ltd.
We’re well-known as one of the leading cube magnets manufacturers in China, featured by quality products and low price. Please rest assured to buy bulk advanced cube magnets in stock here from our factory. We also accept customized orders.
Address: Xiaohe Industry Zone, Daojiao Town, Dongguan City,Guangdong Province,China
E-mail: lena@jinconn.com
WebSite: https://www.jinconnmagnet.com/