You can change a car battery yourself if you have basic tools and follow the right steps, but the hardest part is usually getting the old one out, not putting the new one in.

A car battery is heavy—typically 30 to 50 pounds—and it sits in a metal tray under the hood, held down by a bracket or clamp. The terminals (the two posts sticking up) connect to thick cables: red for positive, black for negative. When a battery dies, you have two choices: replace it yourself or pay a shop to do it. Doing it yourself takes 20 to 45 minutes and costs you only the price of the battery, but you need to know which terminal to disconnect first and why, and you need a wrench that fits your battery terminals.

The real risk is not the battery itself—it is the electrical shock or damage you can cause if you disconnect the cables in the wrong order. A car battery produces direct current at 12 volts, which will not kill you, but it can cause a spark that damages your car's computer or burns your skin. This guide walks you through the actual sequence, what tools you need, and when it makes sense to let a shop handle it instead.

Key Takeaways

  • Always disconnect the negative (black) cable first and reconnect it last; reversing this order can cause sparks or electrical damage.
  • You need an adjustable wrench or socket set, safety glasses, and gloves; the battery itself is the only part you buy.
  • A new battery costs between $100 and $200 depending on your car's size and power needs, and most shops charge $50 to $100 for labor if you choose not to do it yourself.
  • If your car has a security system, keyless entry, or a computer that stores settings, disconnecting the battery will reset those systems and you may need your owner's manual to reprogram them.
  • Most car batteries last three to five years; if yours is older than that and your car won't start, the battery is the most likely culprit.

What you need before you start

Gather your tools and safety gear before you open the hood. You need an adjustable wrench or a socket set with the right size (usually 8mm, 10mm, or 13mm—check your owner's manual or the battery terminals themselves), safety glasses, work gloves, and a clean rag. If your battery is corroded (white, blue, or green crusty buildup on the terminals), bring a small wire brush or an old toothbrush and a box of baking soda mixed with a little water.

Park your car on level ground, turn off the engine, and let it cool for at least five minutes. Remove the keys from the ignition. If your car has a security system or keyless entry, know that disconnecting the battery will reset it—you may need to reprogram your key fob or enter a security code afterward. Check your owner's manual for the steps, because the process varies by manufacturer.

Locate the battery under the hood. It is usually a rectangular plastic box with two thick cables attached to the top. One cable is red (positive), one is black (negative). The battery sits in a metal tray and is held down by a bracket or clamp across the top or sides. Take a photo of the battery and cables with your phone before you touch anything—this helps you remember the exact layout when you install the new one.

Disconnecting the old battery in the right order

This is the step where most people make a mistake. Always disconnect the negative cable first. The negative cable is black and connects to the negative terminal (usually marked with a minus sign or the letter N). Loosen the nut on the negative terminal with your wrench, wiggle the cable gently, and pull it away from the battery. Tuck it to the side so it does not touch the positive terminal or any metal part of the engine.

Now disconnect the positive cable (red). Loosen the nut on the positive terminal (usually marked with a plus sign or the letter P), wiggle the cable, and pull it away. Set it aside. The reason you disconnect negative first is that the negative terminal is grounded to the car's frame—if you disconnect positive first and your wrench touches the frame while the positive cable is still attached, you create a short circuit that can spark, damage your car's computer, or burn you.

Once both cables are off, remove the bracket or clamp holding the battery in place. This is usually one or two bolts. Lift the battery straight up and out of the tray. It is heavy, so use both hands and keep your back straight. Set it on the ground or a workbench, not on your lap or a surface where it could roll.

Installing the new battery

Before you put the new battery in, clean the battery tray if it is dirty or corroded. Wipe it with a damp rag and let it dry. If there is white or blue corrosion on the terminals or tray, mix baking soda with a little water to make a paste, scrub it with your wire brush, and rinse with clean water. Corrosion slows the flow of electricity and can prevent your car from starting even with a new battery.

Lower the new battery into the tray, making sure it sits flat and level. Replace the bracket or clamp and tighten the bolts—snug but not so tight that you crack the plastic case. Now reconnect the cables, and this time the order is reversed: connect the positive (red) cable first, then the negative (black) cable last. Tighten the nuts on both terminals firmly so the cables do not wiggle, but do not overtighten or you may strip the threads.

Close the hood and start the engine. It should turn over normally. If it does not, turn off the ignition, wait 30 seconds, and try again. If the car still will not start, the battery may be defective (rare but possible), or there may be another electrical problem. If your car has a security system or keyless entry, reprogram it now using the steps in your owner's manual.

Dealing with corrosion on battery terminals

If the terminals or cables are corroded, you may need to clean them before the new battery will work properly. Corrosion looks like white, blue, or green crusty buildup and forms when battery acid or moisture reacts with the metal. It acts like a barrier between the terminal and the cable, slowing the flow of electricity.

To clean corroded terminals, disconnect both cables (negative first, positive second) and remove the battery. Mix one tablespoon of baking soda with one cup of water to make a cleaning solution. Dip your wire brush or old toothbrush in the solution and scrub the terminals, the cable ends, and the battery tray until the corrosion is gone. Rinse everything with clean water and let it dry completely before reinstalling the battery. If the cable ends are heavily corroded, you may need to replace the cables themselves—a shop can do this, or you can buy replacement cables and install them with the same wrench you used for the battery.

When to take your car to a shop instead

Some cars make battery replacement harder than others. If your battery is buried under plastic covers, air intake hoses, or other engine components, removing it safely takes longer and requires more tools. If you are not comfortable working under the hood or you do not have a wrench that fits your terminals, a shop is the better choice. Most auto parts stores and dealerships charge $50 to $100 in labor to replace a battery, which is reasonable insurance against damaging your car's electrical system.

You should also take your car to a shop if the battery is not the problem. If your car will not start but the battery is less than three years old and the terminals are clean, the issue may be a bad alternator (which charges the battery while you drive), a faulty starter motor, or a corroded ground cable. A shop can test these components and tell you what actually needs to be fixed. Replacing a battery when the real problem is something else wastes money and leaves you stranded again.

How long a new battery lasts and what affects it

A typical car battery lasts three to five years. The lifespan depends on your climate, how often you drive, and how you treat the battery. Hot climates wear out batteries faster because heat speeds up the chemical reactions inside the battery. If you live somewhere cold, your battery will last longer but will perform worse in winter—cold slows the chemical reactions, so a battery that works fine in summer may not have enough power to start your car in January.

Frequent short trips, leaving lights on, or running the engine with the alternator off also shorten battery life. If you drive mostly short distances around town, your alternator does not have time to fully recharge the battery between trips. If you leave headlights or interior lights on after you turn off the engine, the battery drains without being recharged. The best way to extend battery life is to drive regularly (at least 20 minutes at a time) and turn off all lights before you leave the car.

Frequently Asked Questions

What size battery do I need for my car?

Check your owner's manual or look at the label on your old battery—it lists the battery type, usually something like "Group 24" or "Group 35." Take this number to an auto parts store and they will show you batteries that fit. You can also ask a shop to look it up by your car's year, make, and model. Buying the wrong size wastes money and may not fit in the tray.

Will disconnecting the battery erase my radio presets or other settings?

Yes. Most cars store radio presets, clock settings, and seat position in memory that runs on battery power. When you disconnect the battery, these settings reset. Some newer cars have a backup power supply that keeps these settings, but most do not. Check your owner's manual to see if your car has this feature, and plan to reprogram your radio and clock after you install the new battery.

Can I recycle my old battery?

Yes. Car batteries contain lead and sulfuric acid, which are toxic and recyclable. Most auto parts stores and repair shops accept old batteries for free, and some offer a small credit toward a new battery. Do not throw a battery in the trash—it is illegal in most places and harmful to the environment. Ask the shop where you buy the new battery where to drop off the old one.

What if my car still won't start after I install the new battery?

Turn off the ignition, wait 30 seconds, and try again—sometimes the car needs a moment to recognize the new battery. If it still will not start, check that both cable connections are tight and that the terminals are clean. If the car still will not start, the problem is likely not the battery. Take it to a shop to have the alternator, starter, and ground cables tested.

Do I need to buy a battery from the dealership or can I use an aftermarket one?

Aftermarket batteries from auto parts stores work fine and cost less than dealership batteries. The main difference is warranty length—dealership batteries often come with longer warranties. Compare the warranty and price, and choose based on how long you plan to keep the car. If you sell the car in two years, a cheaper battery makes sense. If you plan to keep it longer, a battery with a longer warranty may save you money.