If you're figuring out how to clean a gas tank on a project car, start by checking what you're dealing with: old fuel and loose sediment are one problem; heavy rust, leaks, and damaged internal parts are another. A sound tank may be worth having professionally drained and cleaned. A perforated or badly rusted one usually deserves replacement. Don't pour cleaner into a tank full of stale gas and hope the fuel system sorts it out.
Start with the symptoms and the tank material
A car that sat for years, smells of varnish, or plugs a fuel filter may have contaminated fuel. Those clues don't prove the tank is the only problem, though. Dirt can be present in the lines, and an aging pump or clogged pickup can cause similar trouble. Check the service manual and inspect what comes out of the filter or a properly collected fuel sample before buying parts.
Steel tanks can rust internally when moisture gets in. Plastic tanks don't rust, but they can still hold degraded fuel, sediment, and damaged components. If you find reddish flakes, make sure they aren't coming from a rusty filler neck or another steel part upstream of the tank.
Look outside the tank, too. Wet spots, deep scaling around seams, or gasoline odor near the tank are reasons to stop and deal with a possible leak. Don't scrape aggressively at a questionable seam with fuel still inside. A leaking tank needs professional attention or replacement, not a patch applied over dirt and fumes.
How to clean a gas tank starts with safe removal
Gasoline vapor can ignite from a distant spark, and an apparently empty tank can still contain plenty of vapor. Work outdoors, away from buildings, drains, ignition sources, and other people. No smoking, heaters, pilot lights, power tools, or trouble lights that aren't rated for the hazard. Keep an appropriate fire extinguisher accessible, and never work alone around a fuel spill.

Before disconnecting anything, consult the vehicle's service procedure for depressurizing the fuel system, disabling electrical power, and removing the tank. Fuel-injected cars can retain pressure after the engine is off. Wear splash-resistant eye protection and fuel-resistant gloves, and have approved gasoline containers ready. Never use your mouth to siphon fuel.
Draining and dropping a tank can be awkward and hazardous. A full tank is heavy, and fuel can slosh as straps come loose. If you don't have the specified transfer equipment, a stable way to support the tank, and a safe outdoor work area, have a repair shop handle removal and draining. Don't improvise with a household vacuum or an electric pump that isn't designed for gasoline.
Once the tank is out and professionally drained, inspect the straps, filler hose, vent hoses, clamps, and wiring connectors. Photograph the routing before anything comes apart. Brittle hose or a corroded strap isn't going to get better because the tank is shiny.
Choose cleaning or replacement based on what is inside
Remove the sender or pump module only as the service procedure allows. On some vehicles, internal baffles and components make complete inspection difficult. Don't force a borescope, brush, or handful of hardware past delicate parts. Loose nuts and bolts shaken around inside can damage the tank and may be a nightmare to retrieve.
For light sediment in an otherwise sound tank, a shop that handles fuel tanks can drain, inspect, and clean it using equipment and chemicals suited to the material. Ask whether its process is appropriate for the tank's internal baffles and any nonremovable components. A radiator shop may offer this service, but call first; not every shop handles fuel tanks.
Heavy scale is a different fight. Flakes that keep coming off, pinholes, soft metal, or severe corrosion around seams make replacement the sensible choice. Even if a rusty tank can be cleaned, thinning metal may leave it unreliable. Compare the cost and availability of a replacement with a professional repair before paying for elaborate treatment.

Be cautious with tank sealers. They depend on thorough preparation, and a coating that fails or traps contamination can create another round of fuel-system trouble. Some treatments may be unsuitable for plastic tanks or tanks with internal parts. Follow the tank and coating manufacturers' instructions, and don't treat sealer as a structural repair for rotten metal.
Put the fuel system back together properly
A clean tank won't stay clean if the filler neck, lines, or pump assembly are shedding debris. Inspect those parts while access is easy. Replace a contaminated serviceable fuel filter, and check the pickup screen or pump module according to the vehicle's design. If the lines contain rust or varnish, have them cleaned or replaced using the proper procedure before reconnecting them.
Use a new sender or pump-module seal where the service procedure calls for one. Reinstall the tank with the correct supports, fasteners, and hose routing; keep lines away from exhaust heat and moving parts. Don't substitute random hardware-store hose for fuel hose specified for the application, especially on a pressurized system.
Add fresh fuel after everything is connected. Follow the manufacturer's procedure to restore power and prime the system, then check connections and the tank area for leaks before starting the engine. Shut it down immediately if you smell raw fuel or see a wet connection. Repair the leak before trying again.
Get rid of the old fuel the right way
Old gasoline, contaminated rinse liquid, and sludge don't belong in a drain, on the ground, or in the trash. Keep them in compatible, properly closed containers and contact your local household hazardous-waste program or waste facility for collection rules. Don't mix gasoline with used oil or other chemicals unless the receiving facility specifically instructs you to.
The goal isn't a tank that looks pretty through the sender opening. It's a sound tank feeding clean fuel through a system that won't leak or clog again. If you can't verify those things, let a shop finish the job or replace the tank and move on to the fun part of the project.
