oye.
Apps Studio Blog
Get in touch

Blog · 23 August 2026

How to Find Pipes and Wires Behind a Wall Before Drilling

Most holes in a wall go fine. The few that don't hit a water pipe or a live cable, and a ten-minute job becomes an emergency. You can't see through plaster, but you can make a hit very unlikely.

Quick answer: assume cables run straight up, down and sideways from every socket and switch, check what is on the other side of the wall, scan with a detector, and switch off the power at the fuse box before drilling near electrics. No tool finds everything: plastic pipes and deep cables can still be missed.

Where cables and pipes usually run

Electrical Safety First, the UK electrical safety charity, says cables buried in walls are required to run horizontally or vertically from sockets and switches. So the risk isn't a small patch around a socket: it's the whole vertical and horizontal line through it, often all the way to the ceiling or the floor. The UK wiring regulations (BS 7671) also allow cables within 150 mm of the top of a wall and of a corner.

  • Sockets and switches: don't drill directly above, below or beside them, however far away.
  • Top of the wall and corners: in UK homes, avoid the 150 mm band under the ceiling and beside corners.
  • Pipes: expect vertical runs under sinks, radiator valves, toilets and showers, and runs along the wall between them.
  • Kitchens and bathrooms have both, so check twice.

In US homes with wooden studs, the National Electrical Code (NEC 300.4) requires the edge of a hole bored for a cable to be at least 1¼ in from the edge of the stud, or the cable to be covered by a steel plate at least 1/16 in thick. That keeps code-compliant cables out of reach of ordinary nails and screws. Older or DIY wiring may not follow any of these rules, so treat them as a guide, not a guarantee.

Also read: How to find a wall stud without a stud finder

Checks before you drill

  1. Look around. Check the other side of the wall and the floor above for sockets, taps, radiators or a boiler; services often pass straight through.
  2. Scan the wall. Electrical Safety First recommends a quality cable detector to track buried cables before you start. Multi-function wall scanners can also find metal pipes and studs.
  3. Switch off the power. For DIY near wiring, Electrical Safety First says to switch off the power at the fuse box, check it's off by trying the lights or an appliance, and use battery-powered tools where possible.
  4. Use RCD protection. An RCD switches off the power quickly if there is a fault; if your fuse box has none, a plug-in RCD can protect a corded tool.
  5. Drill only as deep as you need. Set the depth stop, or wrap tape around the bit at the length of your wall plug.

What a detector can and can't see

  • Cables: cable detectors work best on live cables; a cable that is switched off or deep in the wall may not show up.
  • Metal pipes: steel and iron trigger any metal detector, while copper needs one that finds non-ferrous metal. Zircon, for example, rates its MetalliScanner MT7 for ½-inch copper pipe up to 15 cm (6 in) deep.
  • Plastic pipes such as PEX or PVC don't show up on metal detectors at all.
  • A quiet reading never proves that nothing is there.

Can your phone find pipes and wires?

Partly. A phone's compass sensor, the magnetometer, measures the magnetic field around it; Android's documentation calls it the geomagnetic field sensor. It reacts to iron and steel held close: nails, screws, steel conduit, steel pipes and rebar near the surface. It doesn't reliably find the copper in cables or copper and plastic pipes, and it can't tell you whether a cable is live.

Metal Detector : Gold Finder shows that sensor as a live meter, which helps you find screws and steel in a wall. Use it as an extra check, not as a cable detector. For studs behind plasterboard, Stud Finder WallScan maps where they are, and our guide on whether stud finder apps work explains the limits.

Concrete walls and floors

In concrete, most of the metal is rebar, which a metal scanner, or a phone held very close, can pick up near the surface. Post-tensioned floors and slab foundations are a different matter: the steel tendons inside are under high tension. Structure magazine notes that the force released by a cut tendon may cause it to break through its grout cap, and advises seeking professional guidance before any slab or beam is touched. Professionals scan slabs with ground-penetrating radar (GPR) to map what is inside before drilling or coring.

If you hit a cable or a pipe

  • Cable: don't touch the drill bit or anything metal in contact with it. Switch off the power at the fuse box and call a registered electrician.
  • Water pipe: turn off the water at the main stop valve (stopcock) and call a plumber. If water could reach sockets or wiring, switch off the electricity too.
  • Gas pipe: leave the room, don't use switches or naked flames, and call your gas emergency number from outside.

Frequently asked questions

How can you tell if there are pipes or wires behind a wall?

Start with the layout: cables run straight up, down or sideways from sockets and switches, and pipes run from sinks, radiators and bathrooms. Check the other side of the wall, then scan with a cable detector or wall scanner. No method is certain, so switch off the power before drilling near electrics.

How can I make sure there are no wires or pipes behind the wall before I drill?

You can't be completely sure without opening the wall, but you can make a hit very unlikely: avoid the lines through sockets and switches, scan with a detector, switch off the power at the fuse box, use battery tools and drill only as deep as you need.

How do I find metal pipes, conduit or rebar before drilling into a wall or concrete?

A metal scanner finds steel pipes, steel conduit and rebar near the surface, and some also find copper. A phone held close reacts only to iron and steel. Before drilling or coring a concrete slab, especially a post-tensioned one, get a professional scan.

How do I find water pipes in a wall?

Follow them from the fixtures: they usually run vertically below sinks, radiators, toilets and showers. Copper pipes need a scanner that detects non-ferrous metal, and plastic pipes don't show up on metal detectors at all.

Can I find wires in a wall without a detector?

Not for certain. You can avoid the most likely places, the lines through sockets and switches and, in UK homes, the bands near the ceiling and corners, but only a detector or an electrician can check. Switch off the power at the fuse box before you drill.

Can my phone detect wires in a wall?

Not reliably. Phone metal detector apps read the magnetometer, which reacts to iron and steel, not to the copper in cables. Use a proper cable detector for wiring.

This is general safety guidance, not a substitute for an electrician or plumber. Wiring rules differ between countries, and older homes may not follow them.

Sources

  • Electrical Safety First: Electrical safety advice for DIY-ers
  • IAEI Magazine (2026): NEC 300.4, Protection Against Physical Damage
  • STRUCTURE magazine: Post-Tensioned Concrete Construction
  • Android Developers: Position sensors (geomagnetic field sensor)
→ Browse the apps

The app behind this guide

Free

Metal Detector : Gold Finder

Your pocket metal detector for iron and steel.

Download on theApp Store

Read next

9 October 2026

Can You Detect Gold Using Your Phone? What Apps Really Find

Metal detector apps read your phone's compass sensor, which reacts to iron and steel, not gold.

9 October 2026

How to mount a TV on drywall: studs, anchors and weight

Mounting a TV on drywall: add up the TV and mount weight, find the metal profiles, check for cables, and read anchor…

9 October 2026

Do stud finder apps work? What a phone can and can't find

Stud finder apps use your phone's magnetometer. What it really detects in a wall, where it fails, and how to get a…

oye.

© 2026 Oye Teknoloji. All rights reserved.

Apps Studio Blog Free tools Privacy Terms Consumer Health Data Privacy