A laptop that only charges when you hold the cable at one angle often has a dirty charging port, not a dead charger. Lint and dust pack into the port until the plug cannot seat fully.
In short: Shut the laptop down, unplug it, and shine a light into the charging port. Blow loose dust out with short bursts of compressed air from a can held upright. Lift packed lint with a dry wooden toothpick, never a metal tool, and never put liquid inside the port. Then plug the charger in and check that it seats fully.
Key takeaways
- Power off and unplug before you clean any port, and keep all liquid out of it.
- Compressed air held upright clears loose dust; a wooden toothpick lifts packed lint.
- Never use a metal tool, a paper clip, or a needle inside a charging port.
- USB-C and barrel-jack ports collect different dirt and need different care.
- If the plug still wobbles after cleaning, the port may be worn or loose.
Know your charging port first

Most laptops charge through one of three port types. A USB-C port is a small flat oval with a thin tongue and 24 small contacts.
A barrel-jack port is a round hole with a metal sleeve and a pin in the center, common on older Dell, HP, and Lenovo laptops. Some MacBooks use a magnetic connector that snaps on from the outside, so there is nothing deep to clean. For the detail, see our notes on cleaning laptop dust.
Lint is the main problem in USB-C ports.
Dust and crumbs get pressed in each time the plug goes in, and after months the layer at the back is so firm it feels like part of the port, so the plug stops short of full seating and the connection cuts out when the cable moves.
Barrel jacks collect dust around the center pin instead, and the pin can pick up a dull film.
| Port type | What it looks like | What collects inside | Cleaning note |
|---|---|---|---|
| USB-C | Flat oval with a thin tongue | Packed lint and dust | Pick lint out gently, then blow it clear |
| Barrel jack | Round hole with a center pin | Dust and a dull film on the pin | Brush around the pin, never bend it |
| Magnetic (MagSafe) | Flat contacts on the laptop edge | Metal dust stuck to the magnets | Wipe the contacts with a dry cloth only |

If a USB-C port has stopped working entirely, cleaning may not be enough: read our guide to a USB-C port that stopped working for the checks that come after cleaning.
Before you start
Shut the laptop down fully, then unplug the charger and every cable: cleaning a port while the laptop is on risks a short if a tool touches the contacts. Apple gives the same rule for Mac laptops: shut down, unplug, and keep moisture out of every opening.
Work in good light: a phone flashlight shows lint that room light hides. Look inside before you clean and note what you see: loose dust, a grey pad of lint, green or white crust, or a bent pin.

Gather your tools first: a can of compressed air, a wooden toothpick or a plastic spudger, a soft brush, a lint-free cloth, cotton swabs, and 70 percent isopropyl alcohol for the outside of the port only. Do not use a paper clip, a needle, a SIM ejector tool, or any metal pick.
Never open a swollen battery. If the bottom cover bulges, the trackpad feels raised, or the case has split along a seam, stop: do not press on the battery or puncture it. Take the laptop to a shop. A swollen battery is a fire risk. We go through our notes on your laptop keyboard step by step in its own article.
How to clean a USB-C charging port
USB-C ports need the most care: the tongue is thin and the contacts sit close together, so work slowly.
- Hold the laptop so the port faces down and give it two short bursts of compressed air, can upright.
- Look inside with the light. If a grey pad of lint stays, pick at it with a dry wooden toothpick along the edges of the tongue, and lift it out in small pieces.
- Sweep the loosened fibres out with a soft brush, brushing outward.
- Blow the port out again with one or two short bursts, and check the tongue is clear on both sides.
- Plug the charger in slowly: it should slide in smoothly and sit flush. If it still stops short, repeat the toothpick step.

Keep the can upright. Microsoft gives the same guidance for cleaning a laptop keyboard: a tilted can can spit out liquid propellant, which leaves residue on the contacts and can freeze the plastic tongue. One long blast drives dust deeper, past the tongue, where the toothpick cannot reach it.
Short bursts from a can held upright clear loose dust without touching the pins.
- Removes dust, dirt, and debris from keyboards, computers, laptops, printers, gaming
- USE NOZZLE – Provides controlled airflow to reach tight spaces, vents, ports, and
Green or white crust on the contacts means corrosion, usually from moisture. For light corrosion on the outer rim only, wipe it with a cotton swab dampened with 70 percent isopropyl alcohol: Apple allows a 70 percent isopropyl alcohol wipe on hard, nonporous surfaces.
Keep the swab on the outer metal and let it dry before you plug anything in. Blackened or pitted contacts deep inside will not recover from cleaning.
Wood is the right material because it is soft and does not conduct electricity. If the tip splinters, throw the toothpick away: one that breaks inside the port is worse than the lint you started with.
How to clean a barrel-jack charging port
A barrel jack is a round metal sleeve with a pin in the center: the pin carries the power, and the sleeve is the return path. Dust settles around the base of the pin, and the pin can pick up a dull film. Never bend the pin: a bent pin makes poor contact and can snap off inside the plug.
- Blow the port out with short bursts of compressed air, can held upright.
- Brush gently around the base of the pin in a circle. Do not press sideways on the pin.
- Look inside with the light. If the pin is straight and the sleeve is clean metal, you are done. If the pin leans to one side, stop: read the repair section below.
- Plug the charger in: a barrel plug should slide in with light pressure and stay put.
An electric duster is a good fit here if you clean ports often: it gives the same short bursts with no liquid propellant risk. Keep the nozzle moving. The other half of this decision is charging safety tips.
A rechargeable duster replaces throwaway cans if you clean your laptop ports often.
- Our air duster features a 2X ultra-powerful brushless motor, delivering 52 m/s airflow
- The rechargeable electric air duster replaces 1,000+ disposable canned air. Only dry
Check the charger plug as well as the port. A barrel plug with a bent tip or a cracked sleeve will not seat properly no matter how clean the port is, and cleaning cannot fix a damaged plug.
Sticky grime, such as dried soda or coffee, needs a different approach. If a drink went into the port, power the laptop off and leave it off.
Wipe the outside with a cloth dampened with water only, then let the laptop dry for at least a day in a warm, dry place with the lid open. Do not use a hair dryer: hot air can warp the plastic tongue.
If the laptop still acts up once dry, take it to a shop.
How to tell if cleaning worked
Test the port right after cleaning, while the laptop is off. Plug the charger in and check three things: the plug seats fully and sits flush, with no gap and no tilt; the plug stays put when you let go of the cable; and the charging light comes on.
Power the laptop on and watch the battery icon for a minute: on Windows, the icon shows a plug symbol while the laptop charges. If the icon flickers as you move the cable, the port is still dirty or the contacts are worn. Clean once more, then try a second charger you know works: a failing cable looks exactly like a dirty port.
If the laptop still will not charge after a clean port and a known good charger, the fault is elsewhere: our guide to a laptop battery that is not charging walks through the charger, battery, and driver checks in order.
When cleaning is not the fix
Cleaning fixes dirt, not wear. A port plugged and unplugged thousands of times can wear out: the contacts lose their spring, the tongue cracks, or the solder joints under the port loosen.
The signs are a plug that wobbles side to side even when the port is clean, a port that only works when you push the cable up or down, or charging that cuts out when the laptop moves.
There is more on how to charge laptop with power bank in a separate guide.
A loose port is a repair job, not a cleaning job. Our guide to fix a loose charging port explains how to tell a worn port from a broken solder joint. If the port is cracked, the tongue is snapped, or the center pin is bent, read our guide to repair a laptop charging port first.
Do not keep cleaning a port that is already clean. Repeated scraping wears the gold plating off the contacts. If two careful cleans change nothing, stop and move on to diagnosis. The same gentle approach applies to other ports: our guide to a USB port that is not working covers the software checks, and our guide to protect your laptop ports from damage shows how to keep dirt out.
Keep the port clean
A charging port needs only a quick check every few months. Laptops that travel in a bag without a sleeve pick up the most lint.
Three habits keep the port clean: use a sleeve that keeps the port away from loose fabric and crumbs; unplug by pulling the plug, not the cable, since yanking the cable sideways wears the port and drags lint in; and keep the charger plug clean too.
Mistakes to avoid
Using a metal tool inside the port. A paper clip, needle, or SIM ejector can scratch the contacts and short the pins together. Use a wooden toothpick or a plastic spudger.
Spraying liquid or cleaner into the port. Liquid bridges the contacts and can short the charging circuit. Put cleaners on a cloth or a swab, on the outside only.
Holding the compressed air can upside down. A tilted can spits liquid propellant, which leaves residue on the contacts and can freeze the plastic tongue.
Scrubbing corroded contacts. Scrubbing strips the thin plating off the contacts and makes charging worse. Wipe the outer rim only; leave pitted or blackened contacts to a repair shop.
Cleaning a port that is already clean. If two careful cleans change nothing, the fault is wear, a bad cable, or the charging circuit.
Frequently asked questions
Can I use a toothpick to clean a laptop charging port?
Yes, a dry wooden toothpick is the safest pick for packed lint. Wood does not conduct electricity and is softer than the contacts, so it will not scratch them. Work along the edges of the tongue and lift the lint out in small pieces.
Is compressed air safe for a laptop charging port?
Yes, when the can is held upright and used in short bursts. Microsoft gives the same guidance for cleaning laptop keyboards. Keep the nozzle a few centimetres from the port and look inside between bursts. Never hold the can upside down.
Can I use isopropyl alcohol in a charging port?
No, do not pour or spray isopropyl alcohol into the port. Apple and Microsoft both allow a 70 percent isopropyl alcohol wipe on the hard outer surfaces of a laptop, but liquid must stay out of every opening. Use a swab dampened with it on the outer rim only, and let it dry fully first.
How often should I clean a laptop charging port?
Check the port every few months, or sooner if the plug starts to feel loose or charging turns flaky. Laptops carried loose in a bag need checking more often. A quick look with a flashlight takes ten seconds, and most checks end there.
Why does a laptop only charge at one angle after cleaning?
That points to wear, not dirt. A plug that only works at one angle means the contacts have lost their spring, the tongue is cracked, or the solder joints under the port have loosened. Cleaning cannot fix those faults, so read our guide to fixing a loose charging port.
Bottom line: Shut the laptop down, unplug it, blow out the loose dust with the can upright, and lift packed lint with a dry wooden toothpick. Never use metal tools or liquid inside the port.
If the plug seats flush and charging stays steady, you are done; if it still wobbles, the port is worn and needs a repair, not another clean. More laptop care guides live in our Care and Maintenance hub.
Sources: Apple Support, How to clean your Apple products; Microsoft, How to Clean Your Laptop Keyboard; Microsoft Support, How do I clean my Microsoft mouse or keyboard?. Photos: ready made, Polina Zimmerman, kaboompics, Leonid Altman via Pexels. Diagram: ICT Service Center.


