Start with the port, not the charger
A USB-C socket can carry data, video or power in any combination, and the laptop's maker decides which. So before you swap any gear, look at the small icon printed beside each USB-C port. On a Dell, you want the "D" rather than the SS; on other laptops, the spec page names the port that charges. The tell is a laptop that charges from one socket and ignores an identical one next to it. If that's you, the fix costs nothing: use the right port.
Is the charger strong enough?
Next, the charger has to speak USB Power Delivery and reach your laptop's wattage. Apple puts it this way for its own machines: "If your Mac uses USB-C to charge, you can charge your Mac laptop with any USB-C power adapter or display that supports USB Power Delivery (USB PD)." The same check works for any USB-C laptop. Find the wattage printed on the laptop's own charger, or on its spec page, and use a charger that matches or beats it. That's why a phone charger can fall short: PCWorld's example is a 15- or 20-watt phone charger on a laptop that normally runs on a 65-watt one.
The cable has a rating too
The right charger can still be let down by the lead, because a USB-C cable only passes the power it's rated to carry. Use the cable from the laptop's own charger if it had one, or a spare rated for at least the wattage you need. Our fast-charging cable guide covers what the ratings mean and which leads carry full laptop power.
When it is the port, the cable, or the laptop itself
If the port, the charger and the cable all check out and it still won't charge, change one thing at a time. First try a charger you know works on another device, then a cable you know works, in the port that should charge. Whichever swap makes it charge points to the faulty part. Before you blame the hardware, PCWorld's advice is to "look at the plug as well as the receptacles on your device for foreign debris or damage under a good light and perhaps with a magnifying glass". Clean what you find with the laptop switched off, then reseat the plug firmly. If a known-good charger and cable still do nothing in a clean charging port, the fault is likely the port or the laptop's charging circuit. That's the point to seek a repair.
If you are buying a charger or cable now
Replace the part the test pointed at, not all of it. For the charger, our 100W GaN charger guide compares bricks by their ports and single-port output, and our PD versus PPS explainer covers the protocol side. For the cable, the fast-charging cable guide above is the place to start.
FAQ
Q: Why does my laptop charge when it's off but not when I'm using it? A: That points to an underpowered charger. A laptop draws more while you work than while it sleeps. So a charger below its rating can top up the battery overnight and still lose ground during the day. Match the charger to the wattage on your laptop's own charger and the pattern should stop.