How-to guides · 2026-11-16
Magnetic Lock Installation: A Step-by-Step Guide
Magnetic lock installation comes down to eight jobs: confirm a mag lock is legal for your door, mount the magnet on the header, fit the armature plate, run low-voltage wiring, add a power supply, wire the exit devices, tie in the fire alarm release, and test everything. Call (213) 577-1366, answered 24/7, if you'd rather hand it off.
What is a magnetic lock and how does it work?
A magnetic lock, usually called a mag lock, is an electromagnet mounted on the door frame header that grips a steel plate mounted on the door. When current flows through the coil, the two pull together and the door stays shut. Cut the power and the door releases right away. There are no bolts, latches, or moving parts to wear out.
That simple design is why mag locks show up on storefront back doors, office suites, stairwell doors, and gated entries. It is also why the install matters so much. The lock is only as good as the alignment of the plate, the quality of the power supply, and the release devices wired around it.
Most mag locks are fail-safe, meaning they unlock when power is lost. That is a plus for life safety and a design problem for security, so plan for backup power if the door has to stay secured during an outage.
Is a magnetic lock the right choice for your door?
Before you buy any hardware, answer this honestly. A mag lock on the wrong door is both a code problem and a safety problem.
A mag lock usually makes sense when:
- The door is a controlled entry that people also need to leave quickly, such as a back office, stockroom, or tenant entry.
- You already use, or plan to use, a keypad, card reader, or fob to release the door.
- The door is steel, aluminum storefront, or solid hardwood, with a sturdy header above it.
Think twice when:
- The door is a main exit and there is no practical way to add the required release devices.
- The header is thin, hollow, or cannot take through-bolts or solid anchoring.
- The door flexes, warps, or has a wide, uneven gap to the frame, because the plate needs to meet the magnet flat.
Requirements for doors on an exit path vary by building type and occupancy. In general, a mag lock on an exit door needs a release that works without special knowledge, typically a motion sensor plus a push button, and a connection to the fire alarm system where one exists. Check with the local fire authority and building department before you start. If you rent, talk to your landlord or property manager too. If any of that is unclear, our access control installation service can look at the door and tell you what it will need.
What do you need before you start?
Gather everything first. Stopping halfway up a ladder to hunt for a part is how plates end up crooked.
Tools
- Drill and a good set of bits, including metal bits if the frame is steel
- Level and tape measure
- Wire strippers, crimpers, and a small screwdriver set
- Multimeter for checking voltage at the lock
- Fish tape or a pull string for running wire
- Pencil or marker and the manufacturer's drilling template
Parts
- The mag lock itself, with a holding force suited to the door and the traffic it sees
- Mounting brackets that match your door swing and frame depth
- Armature plate and its hardware, usually included
- A regulated power supply matched to the lock's voltage, with an optional battery backup
- Low-voltage cable sized for the lock's current draw and the length of the run
- A request-to-exit sensor and a push-button release
- A keypad, card reader, or fob reader
- A fire alarm relay connection, where your building has a fire alarm panel
- Raceway or conduit to protect exposed wiring
A door closer is not optional. A mag lock holds a closed door, but it does not pull a door shut. If the door does not close fully on its own, the plate never meets the magnet.
Magnetic lock installation: the process at a glance
- Plan the layout and confirm code requirements.
- Mount the magnet on the header.
- Mount the armature plate on the door.
- Run the low-voltage wiring.
- Install the power supply.
- Wire the release devices in series.
- Connect the keypad or reader.
- Power up and test every release.
- Make final adjustments and document the system.
Step 1: Plan the layout and confirm code requirements
Stand at the door and watch it swing. Door swing direction and frame depth decide your bracket. Depending on the door, you may use a standard mount, an L-bracket, or a Z-and-L combination so the plate and magnet face each other squarely. The manufacturer's instructions show which one applies, so read them before you drill anything.
Mark where each component will go: magnet on the header near the latch edge of the door, power supply in a secured area, push button and sensor on the exit side, reader on the entry side. Then sketch your cable route. Decide now where the wire will run and how you will protect it, because exposed low-voltage wiring on the unsecured side is an easy target.
This is also the time to confirm what your fire authority requires for that door. Do it before purchase, not after the lock is on the wall.
Step 2: Mount the magnet on the header
Hold the manufacturer's template against the header, make sure it is level, and mark your holes. The magnet normally sits close to the latch edge of the door, where leverage against it is greatest.
Pilot-drill the holes. On a steel or aluminum frame, use through-bolts or the fasteners the maker specifies. On a wood frame, use long screws that bite into solid framing, not just trim. A magnet that flexes the header or slowly works loose will drift out of alignment, and a drifting magnet loses holding force.
Before you tighten everything, leave a clear path for the wires to enter the magnet housing. Fasten the bracket first, then the magnet to the bracket, and check level again.
Step 3: Mount the armature plate on the door
Close the door and mark where the plate must meet the magnet face. Most plates attach with a center bolt and rubber grommets so the plate can float and settle flat against the magnet. That floating movement is by design, so do not crank it tight.
Check these things before you move on:
- The plate meets the magnet face fully, with no visible gap or tilt.
- The door closes the same way every time, not just on a good day.
- The plate does not rub on the door or frame as it swings.
Even a small gap noticeably weakens holding force. If the plate rocks or only touches on one edge, fix the mounting now rather than hoping the magnet will pull it into place.
Step 4: Run the low-voltage wiring
One nice thing about mag locks is that no wiring needs to cross the hinge side or go through the door. All the wires stay on the frame side, which cuts out a common point of failure.
Run cable from the magnet housing to the power supply location, and separately from each release device and the reader. Use the wire gauge the manufacturer specifies for the lock's draw and your cable length, because undersized wire drops voltage and weakens the magnet. Keep low-voltage cable separated from line-voltage wiring, and protect exposed sections with raceway or conduit.
Label both ends of every cable as you go. It takes seconds now and saves a lot of guessing when you troubleshoot later.
Step 5: Install the power supply
Mount the power supply in a secured space, such as a locked closet, ceiling panel, or office, not on the unsecured side of the door. Match its output voltage to the lock, usually 12 or 24 volts DC, and confirm it can handle the combined load of the lock and any other devices on it.
The supply needs a line-voltage connection. Turn the circuit off before working on it, and if you are not comfortable with line-voltage work, bring in a qualified electrician for that portion. If you want the door to stay secured during an outage, add a battery backup sized for the load. Without it, the door unlocks the moment power drops.
Label the breaker for the supply so nobody turns it off by accident and unlocks the door.
Step 6: Wire the release devices in series
This is the step that makes a mag lock safe, and it is the one people most often get wrong. Every release device interrupts power to the lock, and they are wired in series so that any one of them drops the magnet:
- Fire alarm relay: When the building alarm activates, the relay opens the circuit and the door releases.
- Push-button release: A manual release near the door on the exit side that cuts power directly when pressed.
- Request-to-exit sensor: A motion sensor that detects someone approaching from the secure side and signals a release.
- Access control relay: The relay controlled by your keypad or reader that lets authorized people in.
The exact order and the use of normally closed versus normally open contacts depend on the manufacturer's wiring diagram for your lock and controller, so follow that diagram rather than guessing. Remember that the push button and the fire alarm relay should break power to the lock itself, not just send a signal to a controller that could fail.
Step 7: Connect the keypad or reader
Mount the keypad or card reader on the entry side at a convenient height, wire it to the controller or relay, and program your first code or credentials. Keep a written record of who holds credentials, and plan how you will remove access when someone leaves.
If you are choosing between standalone keypads and a networked system with logs, our guide to access control installation walks through what each option does. Short-term rental hosts with shared entry doors can also look at our Airbnb and vacation rental locksmith page, since changing guest codes is exactly the kind of job a keypad-and-mag-lock door handles well.
Step 8: Power up and test every release
Turn the power on and check the lock with a multimeter. Confirm the voltage at the lock matches what the manufacturer specifies, because a long cable run can quietly eat voltage. Then test methodically:
- Close the door and confirm the magnet holds. Pull on the door firmly to verify it does not budge.
- Present a valid code or credential and confirm the door releases and re-locks after.
- Wave a hand in front of the request-to-exit sensor and confirm release.
- Press the push button and confirm the door opens immediately.
- Trigger the fire alarm release, coordinating first with the alarm company or building manager so nobody is surprised by a real alarm.
- Cut power to the supply and confirm the door releases as a fail-safe lock should.
If any of these fail, stop and fix it. A mag lock that holds but does not release on command is worse than no lock at all.
Step 9: Make final adjustments and document the system
Swing the door a few dozen times and watch the plate meet the magnet. Adjust the door closer so the door closes fully without slamming, and re-check alignment after the hardware settles. Tighten set screws, cap exposed wire ends, and close up the housings.
Post whatever signage your fire authority requires, and leave the owner with a wiring diagram, the manufacturer's manual, the programming codes, and a note showing where the power supply and breaker are. If something fails at night, the person on site should be able to tell what is wrong without tearing the system apart.
What should East Los Angeles property owners keep in mind?
A few local conditions affect how a mag lock behaves and where it makes sense.
Storefronts and back doors. Shops along the Whittier Boulevard corridor often have rear or side doors where a mag lock paired with a keypad makes more sense than a key that gets copied and passed around. If the shop also has a roll-up gate, treat the gate and the mag-lock door as two separate security layers, each with its own release plan.
Wood doors and the weather. East Los Angeles has hot, dry summers, and older wood doors can swell in the heat and stick during damp winter spells. A door that moves with the seasons will move the plate away from the magnet. If the door is old wood, either reinforce it and the frame, or consider a different type of electric lock. City Terrace hillside properties also get more sun and wind exposure than homes on the flats, so expect more seasonal movement there.
Apartment and multi-unit entries. Denser buildings along Atlantic Boulevard and the main corridors often have shared entry doors. A mag lock can work on those, but the release devices matter even more because many people come and go. If you're a tenant locked out of a building entry or unit, see our apartment lockout page. That is a different problem from installing hardware, and it is usually faster to solve with the right service on the phone.
For homes, a mag lock is rarely the right tool. Houses and duplexes in the area already tend to have security screen doors and gated front yards, and a good deadbolt with a solid strike plate does the job better and more simply.
What mistakes ruin a magnetic lock installation?
These come up again and again, and every one of them is avoidable:
- Skipping the exit devices. A mag lock with no push button or sensor can trap people inside during an emergency.
- Mounting to a weak header. If the frame flexes, so does the alignment, and the holding force drops.
- Tightening the armature plate rigidly. The plate has to float slightly to seat flat on the magnet.
- Undersized wire. Voltage drop makes the lock weaker than its rating without any obvious sign.
- No door closer. A door that does not shut on its own never lets the magnet engage.
- Putting the power supply on the public side. Anyone who can reach it can switch off the door.
- Ignoring the fire alarm tie-in. Where the building has a panel, the door should release when it activates.
- Skipping the full test. The first time you find out a release does not work should not be a real emergency.
When should you call a locksmith instead of doing it yourself?
A single-door mag lock with a keypad is a manageable project for a handy person who reads the instructions carefully. Call a professional when:
- The door is part of an exit path in a commercial building and code compliance is involved.
- The system has to tie into a fire alarm panel.
- The header, frame, or door needs reinforcement.
- You want a networked system with multiple doors and credential management.
- Line-voltage wiring is involved and you are not comfortable with it.
When you hire anyone to do the work, ask for their California BSIS locksmith (LCO) license information. California requires it for locksmith work, and a legitimate company will give it to you without hesitation. Ask for a written scope of work that spells out the lock, release devices, power supply, and testing, so you know exactly what is being installed.
If your mag lock stops working after hours, or your existing door will not release or will not hold, our 24-hour locksmith service is answered around the clock at (213) 577-1366. You can also contact us to describe the door and get a plan for the install, or see the full list of areas we serve. Our East Los Angeles locksmith page covers the other services available locally.
A well-installed mag lock should be forgettable. It holds, it lets people out the instant they need to leave, and it releases when the alarm sounds. If any of those three is in doubt after your test, fix that before you call the job done.
Frequently asked questions
Can I install a magnetic lock on a residential front door?
Physically you can, but it is rarely a good fit. Homes need a lock that keeps working during a power outage, and a standard mag lock releases when power is lost. A quality deadbolt with a reinforced strike plate is usually the better choice for a house or duplex.
What happens to a mag lock during a power outage?
Most mag locks are fail-safe, so they release when power is lost. If the door must stay secured, you need a battery backup on the power supply, or a different type of electric lock. Even then, the fire alarm release and the push button should still be able to open the door.
Do I need a permit for magnetic lock installation?
It depends on the building, how the door is used, and whether it ties into a fire alarm system. Requirements vary, so check with the local building department and fire authority before you buy or install anything, especially for commercial doors.
What is the difference between a mag lock and an electric strike?
A mag lock uses an electromagnet to hold the door shut and has no moving parts. An electric strike replaces the standard strike plate and works with a latch or deadbolt, so it can stay locked when power is lost if it is the fail-secure type. The right choice depends on the door and your life-safety requirements.
How do I know what holding force I need?
Holding force should match the door's size, material, and the kind of traffic it sees. Heavier or higher-risk doors usually call for a stronger magnet. Always follow the manufacturer's guidance for your door type, and remember that a poorly aligned plate reduces force no matter how strong the magnet is.
Can a mag lock be added to a door that already has a keypad?
Often yes. If the keypad or controller has a relay output rated for the lock's load, it can switch power to the magnet. You still need the power supply, the exit devices, and the fire alarm tie-in where required, so the existing keypad is only one piece of the system.
How often should a magnetic lock be checked?
Test the holding force, push button, motion sensor, and fire alarm release on a regular schedule, and any time the door is repainted, re-hung, or adjusted. Check the plate alignment after seasonal weather changes, since swelling or shrinking doors can shift it.
Need this handled instead of reading about it? Access Control Installation in East Los Angeles — or call (213) 577-1366 any hour.
Reviewed by David, Owner & Lead Technician, Wilshire Lock & Key — in the locksmith trade since 1987.
Last updated 2026-11-16.