Skip to content
Wilshire Lock & Key

Troubleshooting · 2026-10-26

Gate Won't Lock in Whittier? Causes and Safe Fixes

Gloved hand adjusting the strike plate on a wooden gate post while a screwdriver and lubricant sit on the fence rail nearby

A gate that won't lock is usually a latch alignment problem, a worn or dirty lock, or a failed electric part, and many of those you can check yourself with a short visual look. If the gate is stuck open on a property you can't leave unsecured, call (213) 577-1366; we answer 24/7.

What does it mean when a gate won't lock?

The phrase covers several different failures, and the fix for one can make another worse. Before you pick up a screwdriver, match what you're seeing to the list below. Each symptom has its own section with likely causes, safe things to try, and the point where a professional makes more sense.

  • The latch doesn't catch. The gate swings or bounces open instead of clicking shut.
  • The key won't turn. It goes in but sticks, grinds, or stops partway.
  • The key turns but the gate still opens. The bolt moves, but nothing holds the gate closed.
  • An electric, keypad, or magnetic gate won't secure. It closes but never engages, or it releases on its own.
  • It works only sometimes. Fine in the morning, failing in the afternoon, or only on windy days.

This applies to side-yard gates, pedestrian gates, driveway gates, and shared gates at multi-unit buildings. If the problem turns out to be bigger than a quick adjustment, our gate lock repair service in Whittier covers latches, locks, and related hardware.

What should you check before touching anything?

A little caution up front prevents the most common injuries and the most common mistakes.

  • Find out how the gate moves. If a motor, operator arm, or chain drive moves it, switch off power at the operator or breaker before putting your hands near hinges, tracks, or latches.
  • Watch the pinch points. Hinge side, latch side, and any gap between the gate and a post can close on fingers without warning.
  • Wear gloves. Rusty steel and splintered wood cause more cuts than the actual repair does.
  • Don't force anything. A key forced in a stuck cylinder snaps. A latch forced past its strike bends.
  • Confirm who owns the gate. If it belongs to an apartment building or an HOA, report the problem to the property manager instead of modifying shared hardware.

Also decide what you'll do tonight if it can't be fixed. A temporary chain and a sturdy padlock through the gate and post is a reasonable stopgap, as long as it doesn't block an exit someone might need in an emergency.

Why won't the latch catch?

This is the most common version of a gate that won't lock, and it is usually mechanical rather than a lock failure at all. The lock is fine; the latch and strike just no longer meet where they used to.

Likely causes

  • Sag. Hinges loosen over time and the gate drops on its latch side, so the latch lands below the strike.
  • A shifted post. Soil movement, a leaning post, or a cracked footing changes the gap between gate and post.
  • Debris or paint. Grit, spider webs, or layers of paint in the latch opening stop the bolt from seating.
  • A weak or broken latch spring. The latch tongue no longer snaps back out after the gate closes.
  • Swollen or shrunken wood. Wood gates change size with moisture, which moves the gap by enough to miss the latch.

What to try yourself

  1. Close the gate slowly and watch exactly where the latch meets the strike. Note whether it lands high, low, or to one side.
  2. Lift the latch side of the gate slightly while closing it. If it catches when lifted, you have sag.
  3. Tighten every hinge screw and bolt. If screws just spin in the wood, the holes are stripped and need longer screws or filler.
  4. Clear the strike opening and latch with a small brush or compressed air.
  5. Loosen the strike plate screws, shift the plate toward where the latch is landing, and retighten. Small adjustments are enough.
  6. Lubricate the latch tongue with dry graphite or a dry PTFE spray. Heavy oil collects dust.

When to call a professional

Call when the post moves in the ground, the hinges are bent or cracked, the gate frame is out of square, or the latch body itself is broken. Replacing a latch sounds simple, but picking the right one for the gate material and thickness is where people end up with a second broken latch. You can also reach us through the contact page with photos of the gate and latch.

Why does the key go in but not turn?

A key that sticks is a warning. Stop forcing it before it breaks off in the cylinder.

Likely causes

  • Dirt, rust, or dried lubricant inside the cylinder, especially on outdoor gates.
  • A worn key, or a copy of a copy that no longer matches the original cuts closely enough.
  • A bent key. Check it against a straight edge.
  • Binding from misalignment. The key turns hard only when the gate is closed, because the bolt drags against the strike.
  • A damaged or worn cylinder. Pins or wafers are stuck, bent, or broken.

What to try yourself

  1. Test with the gate open. If the key turns freely while the gate is open but sticks when it's closed, the problem is alignment, so go back to the latch section above.
  2. Try your original or spare key. A different key tells you whether the key or the lock is worn.
  3. Blow out the keyway with compressed air.
  4. Apply a small amount of dry graphite into the keyway, insert the key, and work it gently in and out.
  5. Avoid heavy oil and household spray lubricants as a long-term fix. They can gum up and attract dust.

When to call a professional

Call if the key is broken in the lock, if the cylinder spins without moving the bolt, if the key only works after jiggling, or if a fresh key still sticks. A worn cylinder can often be repaired or rekeyed. A rekey is also the right answer if keys have been lost or passed around, since it changes which key works without replacing the whole lock.

What if the key turns but the gate still swings open?

This points to one of two things. Either the bolt isn't reaching anything solid, or something inside the lock is no longer connecting the key to the bolt.

Likely causes

  • The bolt doesn't reach the strike. The gate has shifted so the bolt extends into empty space.
  • A broken internal part. The cylinder cam or a spring has failed.
  • A worn bolt or a loose lock body. The lock is flexing in its mounting instead of holding firm.
  • A hasp-and-padlock setup with loose screws. The hasp pulls free of the wood or the shackle no longer seats.

What to try yourself

  1. Open the gate and turn the key while watching the bolt. If it extends fully and retracts fully, the lock is working and the problem is where it lands.
  2. If the bolt barely moves or doesn't move at all, the lock's internals are the issue, and this is not a good place for DIY disassembly.
  3. Tighten the lock body screws and any mounting plates.
  4. On a hasp, check whether the screws hold. Wood that has split or gone soft may need a repair before any hardware will hold.

If the bolt is working but the gate still opens with a firm push, treat it as a strike or latch alignment problem. If the bolt isn't moving, it needs a professional look at the lock itself.

Why won't an electric, keypad, or magnetic gate secure?

Powered gates add a second set of failures, and most of them have nothing to do with the physical lock.

Likely causes

  • Dead or weak batteries in a keypad or wireless lock.
  • Power problems. A tripped breaker, a failed power supply, or a loose connection.
  • A magnetic lock that isn't meeting its plate. If the gate closes slightly off-line, the magnet and armature plate don't make full contact.
  • An obstruction. Something in the path, or a sensor or limit switch that thinks the gate isn't fully closed.
  • A closer that is too weak or too strong. The gate either doesn't swing fully shut or slams back open.
  • Corroded wiring or a stuck release button, which can hold the lock open without anyone realizing it.

What to try yourself

  1. Replace keypad batteries and test again.
  2. Check the breaker and look for a visibly unplugged power supply.
  3. Close the gate by hand and see whether it meets the lock squarely. Wipe the magnet face and plate clean.
  4. Look along the gate path for anything blocking the final inch or two of travel.
  5. Check whether a release or exit button is stuck in the pressed position.

Don't open control boxes with power on, and don't bypass or jumper a lock to keep it closed. Gates on exit routes also have life-safety requirements, so a release shouldn't be defeated just to make a gate stay shut.

When to call a professional

Call for any wiring fault, controller problem, intercom or keypad that won't program, or a magnetic lock that fails after you've checked power and alignment. If a gate has failed repeatedly, it may be time to look at access control installation rather than patching an aging system.

What if the gate works only sometimes?

Intermittent problems are frustrating, but they carry useful clues. Keep a simple note for a few days: time of day, weather, whether the gate was slammed, and which way it failed.

  • Fails on hot afternoons: metal gates and posts expand, shifting the latch alignment slightly.
  • Fails after wind: hardware has loosened or the gate has been pushed out of position.
  • Fails only in winter or after rain: a wood gate has swollen and is dragging or missing the latch.
  • Fails only when slammed: the latch spring or strike is marginal and needs adjustment or replacement.

An intermittent failure usually gets worse, not better, so fix it before the gate quits at a bad moment.

How does Whittier weather affect gates?

Whittier sits against the Puente Hills and runs warmer than the coastal plain. Santa Ana winds periodically push hot, dry air across the hillsides, and a wind-driven gate that bangs against its latch loosens screws faster than one that closes gently. The wet-winter, dry-summer cycle also swells and shrinks wood, which is especially noticeable on the old wood gates and doors common in the historic districts.

A practical rule: avoid planing or trimming a swollen wood gate in the wet season without thinking about summer. A gate trimmed tight in February can leave a visible gap by August, and that gap is how latches stop catching. If a sticky gate is a seasonal problem, adjusting the strike is often better than removing wood.

What about older homes near Uptown and the college?

Victorian-era and Craftsman homes around Uptown Whittier and Whittier College often have original hardware, including mortise locksets and older side-gate latches. Old hardware doesn't automatically need replacing. Mortise locks in particular can often be cleaned, adjusted, and rekeyed, which keeps the character of the home. The thing to avoid is aggressive DIY work, such as forcing a stuck mortise lock or drilling out a latch, because original parts can be hard to replace.

For hillside homes in places like Friendly Hills and Rideout Heights, slopes put extra stress on gate posts and hinges, and driveway gates carry more weight. If a gate that used to latch no longer does, check the post and footing first. And if keys have changed hands, a rekey is a sensible step. Along Whittier Boulevard and near Uptown, apartment and shared-gate problems should go to the property manager first, and our page on apartment lockouts explains what to do if you're shut out of a unit.

What shouldn't you do?

  • Don't spray heavy oil into a cylinder. It collects grit and makes the problem worse later.
  • Don't hammer a latch or strike into place. You'll damage both.
  • Don't drill out a lock unless a professional has told you it's the right method.
  • Don't defeat safety releases on powered gates.
  • Don't leave the gate propped open overnight as a workaround. Secure it temporarily or get help.

When should you call a professional?

Call if any of these apply:

  • A key is broken in the lock, or the cylinder spins freely.
  • The post is loose, leaning, or cracked at the base.
  • The latch, lock body, or hinges are visibly bent, cracked, or rusted through.
  • The gate is powered and you've checked power, batteries, and obstructions without result.
  • Keys are lost, or someone who shouldn't have access might have one.
  • The gate guards a rental, business, or shared property where a failed lock is a real exposure.

If it's late or the property can't stay open, our 24-hour locksmith service in Whittier is there at any hour, and you can reach us at (213) 577-1366. Landlords with short-term rentals can also see our vacation rental locksmith page, since guest turnover is hard on gate latches and keypad codes.

What should you ask before hiring a locksmith?

California requires locksmiths to hold a license from the Bureau of Security and Investigative Services (BSIS), listed as an LCO license. Ask any locksmith for it, and verify it through the BSIS lookup before work starts. A few other questions help:

  • Will you look at the gate and tell me what's wrong before you quote?
  • Can you repair this, or does it need replacement, and why?
  • Will you explain the scope of the work in writing before you begin?
  • Can you identify yourself and the business when you arrive?

A good locksmith explains the problem in plain terms and doesn't push replacement when an adjustment would do.

What affects the cost of fixing a gate lock?

We don't quote prices in articles, because the honest answer depends on the job. These are the factors that move the total:

  • Type of gate. A basic latch on a wood gate is a different job than a heavy steel driveway gate or a powered gate.
  • Repair versus replacement. Adjusting a strike is simpler than replacing a lock body or cylinder.
  • Hardware availability. Original or specialty hardware can take more work to source or repair.
  • Electrical complexity. Wiring, controllers, and keypads add diagnostic time.
  • Condition of the gate and post. If the structure is the root problem, the lock repair won't hold without fixing it.
  • Time and access. After-hours calls and hard-to-reach locations affect the job.

How can you keep a gate from failing again?

  1. Close the gate gently instead of letting it slam, especially on windy days.
  2. Tighten hinge and latch screws at the change of each season.
  3. Clear debris from the latch and strike when you do yard work.
  4. Use dry lubricant once or twice a year instead of heavy oil.
  5. Replace keypad batteries on a schedule instead of waiting for them to die.
  6. Rekey or change codes when tenants, guests, or contractors no longer need access.

If you're outside Whittier, you can find nearby service on our locations page or look at what we do across Whittier. For anything this guide doesn't cover, the contact page is the easiest way to describe the problem.

Frequently asked questions

Why does my gate latch only catch when I lift it?

That is a classic sign of sag. The hinges have loosened or the post has shifted, so the latch side hangs lower than the strike. Tighten the hinge hardware first. If it still drops, the post or hinges may need repair.

Is it safe to use WD-40 on a gate lock?

It can free a stuck part briefly, but it is not a good long-term lubricant for a lock cylinder because it can attract dust and gum up over time. Dry graphite or a dry PTFE lubricant is a better choice for outdoor locks.

Can a gate lock be repaired, or does it need replacing?

Often it can be repaired. Alignment problems, worn cylinders, and loose mounting usually do not require a new gate lock. Replacement makes sense when the body is cracked, badly corroded, or the hardware is too worn to hold.

What if my electric gate closes but the magnetic lock does not hold?

Check power first, then see whether the gate closes squarely so the magnet meets its plate. Clean both surfaces. If it still fails, the lock, power supply, or controller may be at fault, and that is a job for a professional.

Should I rekey a gate lock if I lost a key?

Yes, in most cases. Rekeying changes the lock so the lost key no longer works, and it is usually simpler than replacing the lock. It is also worth doing after a tenant, contractor, or house sitter returns keys.

Can I call at night if my gate will not lock?

Yes. Wilshire Lock & Key answers the phone at (213) 577-1366 around the clock. If the gate guards a home or business, describe what you see and we can help you figure out the next step.

Need this handled instead of reading about it? Gate Lock Repair in Whittier — 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-10-26.

Locked out or need a locksmith now?

We answer around the clock, every day of the year.

Call (213) 577-1366
Call Now: 24/7 — (213) 577-1366